Bug 2046850 - prusa-slicer: FTBFS in Fedora rawhide/f36, fails to install
Summary: prusa-slicer: FTBFS in Fedora rawhide/f36, fails to install
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mamoru TASAKA
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
: 2053059 2053081 (view as bug list)
Depends On: 2059646
Blocks: F36BetaFreezeException F36FTBFS F36FailsToInstall F37FTBFS 2050761
TreeView+ depends on / blocked
 
Reported: 2022-01-27 09:34 UTC by Fedora Release Engineering
Modified: 2022-03-10 07:04 UTC (History)
4 users (show)

Fixed In Version: prusa-slicer-2.4.0-2.fc36
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-10 07:04:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2022-01-27 09:34 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details
state.log (996 bytes, text/plain)
2022-01-27 09:35 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2022-01-27 09:34:56 UTC
prusa-slicer failed to build from source in Fedora rawhide/f36

https://koji.fedoraproject.org/koji/taskinfo?taskID=81985301


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Please fix prusa-slicer at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
prusa-slicer will be orphaned. Before branching of Fedora 37,
prusa-slicer will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2022-01-27 09:34:59 UTC
Created attachment 1856176 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2022-01-27 09:35:01 UTC
Created attachment 1856177 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2022-01-27 09:35:02 UTC
Created attachment 1856178 [details]
state.log

Comment 4 Ben Cotton 2022-02-08 20:16:01 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 5 Miro Hrončok 2022-02-21 23:14:53 UTC
We are updating prusa-slicer to 2.4.0 with spot. Hopefully things will unblock all the fails to build and fails to install problems.

Comment 6 Miro Hrončok 2022-02-21 23:15:28 UTC
*** Bug 2053081 has been marked as a duplicate of this bug. ***

Comment 7 Miro Hrončok 2022-02-21 23:15:35 UTC
*** Bug 2053059 has been marked as a duplicate of this bug. ***

Comment 8 Miro Hrončok 2022-02-22 09:40:59 UTC
Current state on rawhide (Fedora 37):

 - aarch64 and s390x built successfully
 - x86_64 and ppc64le hang after "[100%] Built target PrusaSlicer"
 - i686  has an LTO error and hangs -- when disabling LTO, behaves like x86_64


I've also built aarmv7hl on Fedora 36, it has the same LTO error as i686 on rawhide, but does not hang :/

Currently building all architectures on Fedora 36 with LTO enabled and disabled to see if it gets us anywhere. If it builds as expected, I'm gonna disable LTO on 32bit and build it at least on Fedora 36 to make the package installable. Wish me luck.

Comment 9 Miro Hrončok 2022-02-22 11:10:50 UTC
Nah, Fedora 36 isn't any better, it still hands everywhere. Disabling LTO makes armv7hl build, but that's it :(

Comment 10 Miro Hrončok 2022-02-25 11:04:54 UTC
Nominating as a prioritized bug. We are approaching Fedora 36 and Prusa Slicer does not install. If we want to remain relevant for 3D printing, we cannot afford to lose the app for the possibly most favorite 3D printer manufacturer in the world.

I myself have no idea how to fix this, hence resetting back to NEW.

Comment 11 Miro Hrončok 2022-03-01 09:14:35 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 12 Mamoru TASAKA 2022-03-01 16:07:11 UTC
Looks like compilation of test_voronoi.cpp is hanging, during hang test_voronoi.cpp.o is empty, but compilation of libslic3r_tests (which links test_voronoi.cpp.o) seems successful even if test_voronoi.cpp.o is empty, so cmake says "[100%] Built target PrusaSlicer" but child process is hanging.

Comment 13 Mamoru TASAKA 2022-03-01 16:09:49 UTC
For now I just tried killing compilation of test_voronoi.cpp:

https://koji.fedoraproject.org/koji/taskinfo?taskID=83516071

Comment 14 Miro Hrončok 2022-03-01 17:27:07 UTC
Thank you!

I see:

+# i686 build fails with lto
+%ifarch %ix86
+%define _lto_cflags %{nil}
+%endif

Please also exclude %{arm} as that will have the same problem on F36.

Comment 15 Mamoru TASAKA 2022-03-02 06:28:51 UTC
Okay.

F-37 built: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c9543f22f4

Comment 16 Fedora Update System 2022-03-02 06:30:19 UTC
FEDORA-2022-9dae2985b5 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-9dae2985b5

Comment 17 Miro Hrončok 2022-03-02 09:56:22 UTC
Thank you, Mamoru!

Comment 18 Fedora Update System 2022-03-02 19:43:22 UTC
FEDORA-2022-9dae2985b5 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-9dae2985b5`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-9dae2985b5

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 19 Miro Hrončok 2022-03-02 22:17:45 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (mhroncok).

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 37.

Thanks for taking care of it!

Comment 20 Geoffrey Marr 2022-03-07 22:27:50 UTC
Discussed during the 2022-03-07 blocker review meeting: [0]

The decision to classify this bug as an "AcceptedFreezeException (Beta)" was made as it is a noticeable issue that cannot be fixed with an update.

[0] https://meetbot.fedoraproject.org/fedora-blocker-review/2022-03-07/f36-blocker-review.2022-03-07-17.01.txt

Comment 21 Fedora Update System 2022-03-10 07:04:05 UTC
FEDORA-2022-9dae2985b5 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.