Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1865257 - prusa-slicer: FTBFS in Fedora rawhide/f33 on armv7hl with LTO enabled
Summary: prusa-slicer: FTBFS in Fedora rawhide/f33 on armv7hl with LTO enabled
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: prusa-slicer
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Jeff Law
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARMTracker
TreeView+ depends on / blocked
 
Reported: 2020-08-03 20:44 UTC by Fedora Release Engineering
Modified: 2020-09-14 13:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (1.21 KB, text/plain)
2020-08-03 20:44 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2020-08-03 20:44 UTC, Fedora Release Engineering
no flags Details
state.log (840 bytes, text/plain)
2020-08-03 20:44 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2020-08-03 20:44:45 UTC
prusa-slicer failed to build from source in Fedora rawhide/f33

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_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 34,
prusa-slicer will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2020-08-03 20:44:47 UTC
Created attachment 1708954 [details]
build.log

Comment 2 Fedora Release Engineering 2020-08-03 20:44:48 UTC
Created attachment 1708955 [details]
root.log

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

Comment 3 Fedora Release Engineering 2020-08-03 20:44:50 UTC
Created attachment 1708956 [details]
state.log

Comment 4 Miro Hrončok 2020-08-04 13:03:18 UTC
The original failure is solved via https://src.fedoraproject.org/rpms/prusa-slicer/c/96833091efa3dec87c8caca4ebcbc13167a2fa0a?branch=master

But now the build fails on armv7hl with:

error: Installed (but unpackaged) file(s) found:
   /usr/bin/prusa-slicer.wrapped.gdb-index-9pY4kY
    Installed (but unpackaged) file(s) found:
   /usr/bin/prusa-slicer.wrapped.gdb-index-9pY4kY

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

The aarch64 and s390x were cancelled, resubmitting again without --fail-fast.

Ask for help: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/IP7NOD5I3OQ7A2VC2FXJVL7KVEZJ5PA7/

Comment 5 Miro Hrončok 2020-08-04 16:33:30 UTC
It's armv7hl only indeed.

Comment 6 Miro Hrončok 2020-08-04 17:53:12 UTC
extracting debug info from /builddir/build/BUILDROOT/prusa-slicer-2.2.0-4.fc33.arm/usr/bin/prusa-slicer.wrapped
../../gdb/utils.c:691: internal-error: virtual memory exhausted: can't allocate 234696314 bytes.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.
/usr/bin/gdb-add-index: line 106: 22699 Aborted                 (core dumped) $GDB --batch -nx -iex 'set auto-load no' -ex "file $file" -ex "save gdb-index $dwarf5 $dir"

Comment 7 Miro Hrončok 2020-08-04 21:24:48 UTC
FWIW this makes it build:

%ifarch %{arm}
%global _lto_cflags %{nil}
%endif


I'll wait how the devel thread goes and apply it if it goes nowhere.

Comment 8 Miro Hrončok 2020-08-07 09:00:51 UTC
Pushed that as a workaround.

Comment 9 Ben Cotton 2020-08-11 15:04:51 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.


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