Bug 1604083

Summary: ghc-doctemplates: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: ghc-doctemplatesAssignee: Jens Petersen <petersen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mhroncok, petersen
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ghc-doctemplates-0.2.1-5.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-24 18:45:18 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: 1602938, 1607054    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-19 20:57:51 UTC
ghc-doctemplates failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix ghc-doctemplates 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,
ghc-doctemplates will be orphaned. Before branching of Fedora 30,
ghc-doctemplates 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 Mohan Boddu 2018-07-19 20:57:55 UTC
Created attachment 1462183 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 20:57:59 UTC
Created attachment 1462184 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-19 20:58:01 UTC
Created attachment 1462185 [details]
state.log

Comment 4 Miro HronĨok 2018-07-23 15:46:45 UTC
Currently the failure is different. I successfully built it in mock, yet in rawhide Koji I get:

Linking dist/build/doctemplates-test/doctemplates-test ...
/tmp/ghc8518_0/ghc_2.o(.gnu.build.attributes..text.startup+0x18): error: relocation refers to local symbol "" [11], which is defined in a discarded section
  section group signature: "(null)"
/tmp/ghc8518_0/ghc_2.o(.gnu.build.attributes..text.startup+0x20): error: relocation refers to local symbol "" [2], which is defined in a discarded section
  section group signature: "(null)"
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)

I also get the same error in couple of more packages.