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 1865657

Summary: yosys: FTBFS in Fedora rawhide/f33
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: yosysAssignee: Jeff Law <law>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: law, lkundrak, somlo, spacewar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-09 10:38:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-08-03 21:32:51 UTC
yosys failed to build from source in Fedora rawhide/f33

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Please fix yosys 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,
yosys will be orphaned. Before branching of Fedora 34,
yosys 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 21:32:53 UTC
Created attachment 1710121 [details]
build.log

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

Comment 2 Fedora Release Engineering 2020-08-03 21:32:55 UTC
Created attachment 1710122 [details]
root.log

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

Comment 3 Fedora Release Engineering 2020-08-03 21:32:56 UTC
Created attachment 1710123 [details]
state.log

Comment 4 Jeff Law 2020-08-04 05:49:02 UTC
There's an LTO component to this.  I'll take it for now.

Comment 5 Gabriel Somlo 2020-08-07 22:51:11 UTC
Disabling LTO ("%define _lto_cflags %{nil}") allows the build to succeed: https://koji.fedoraproject.org/koji/taskinfo?taskID=48892455

Leaving the bug open for a potential proper LTO fix -- Thanks!

Comment 6 Igor Raits 2020-08-09 10:38:31 UTC
There has been at least one successfull build after mass rebuild.

yosys-0.9-7.fc33: https://koji.fedoraproject.org/koji/buildinfo?buildID=1586955