Bug 1606664

Summary: wcd: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: wcdAssignee: Erwin Waterlander <waterlan>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mrunge, twaugh, waterlan
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: 2018-07-24 22:48:21 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: 1551327, 1602938    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Mohan Boddu 2018-07-20 21:06:07 UTC
wcd failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix wcd 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,
wcd will be orphaned. Before branching of Fedora 30,
wcd 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-20 21:06:14 UTC
Created attachment 1468919 [details]
build.log

Comment 2 Mohan Boddu 2018-07-20 21:06:18 UTC
Created attachment 1468920 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-20 21:06:23 UTC
Created attachment 1468921 [details]
state.log

Comment 4 Erwin Waterlander 2018-07-21 15:06:25 UTC
The environment sets variable CC to "cc", which makes the build break:

make: cc: Command not found
make: *** [Makefile:532: wcd.o] Error 127
make: Leaving directory '/builddir/build/BUILD/wcd-6.0.2/src'
error: Bad exit status from /var/tmp/rpm-tmp.BZ0pdn (%build)

This is an environment problem.

When CC is set in the build environment, it must be set to a compiler command that is available.

Comment 5 Igor Raits 2018-07-23 11:16:48 UTC
Matches:
make: cc: Command not found

Suggested fix:
BuildRequires:  gcc

Comment 6 Igor Raits 2018-07-24 22:48:21 UTC
There has been at least one successfull build after this bug got created.

wcd-6.0.2-2.fc29: https://koji.fedoraproject.org/koji/buildinfo?buildID=1126885

Comment 7 Erwin Waterlander 2018-07-30 22:04:53 UTC
Thanks for fixing.