Bug 1603731

Summary: cwm: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Mohan Boddu <mboddu>
Component: cwmAssignee: Bruno Meneguele <brdeoliv>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: brdeoliv, mboddu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cwm-6.3-4.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-20 17:55:24 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-19 18:36:57 UTC
cwm failed to build from source in Fedora rawhide

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix cwm 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,
cwm will be orphaned. Before branching of Fedora 30,
cwm 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 18:37:01 UTC
Created attachment 1461232 [details]
build.log

Comment 2 Mohan Boddu 2018-07-19 18:37:05 UTC
Created attachment 1461233 [details]
root.log

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

Comment 3 Mohan Boddu 2018-07-19 18:37:08 UTC
Created attachment 1461234 [details]
state.log

Comment 4 Bruno Meneguele 2018-07-19 19:26:03 UTC
Hmm... that's a bit weird, but I don't think it's cwm package error... from build.log:

...
+ make -j4
cc -c -Wall -O2 -g -D_GNU_SOURCE `pkg-config --cflags x11 xft xrandr` calmwm.c
cc -c -Wall -O2 -g -D_GNU_SOURCE `pkg-config --cflags x11 xft xrandr` screen.c
cc -c -Wall -O2 -g -D_GNU_SOURCE `pkg-config --cflags x11 xft xrandr` xmalloc.c
/bin/sh: cc: command not found
make: *** [Makefile:37: calmwm.o] Error 127
make: *** Waiting for unfinished jobs....
/bin/sh: cc: command not found
make: *** [Makefile:37: screen.o] Error 127
/bin/sh: cc: command not found
...

Is there more packages failing with such error, because it seems the buildroot is lacking the compiler. Am I missing something?

Comment 5 Bruno Meneguele 2018-07-20 17:44:31 UTC
Ok, sorry about that.. just realized I missed this info: https://bugzilla.redhat.com/show_bug.cgi?id=1551327

Will update the package adding BuildRequires: gcc.

Thanks!

Comment 6 Bruno Meneguele 2018-07-20 17:55:24 UTC
Package updated as pointed in comment#5.

Build info:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1129163

Commit details:
https://src.fedoraproject.org/rpms/cwm/c/e572c221874211ad7b5ab251088a7e6d25394b75

Thanks!

Comment 7 Igor Raits 2018-07-23 10:53:16 UTC
Matches:
/bin/sh: cc: command not found

Suggested fix:
BuildRequires:  gcc