Bug 1603731 - cwm: FTBFS in Fedora rawhide
Summary: cwm: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cwm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bruno Meneguele
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1551327 F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-19 18:36 UTC by Mohan Boddu
Modified: 2018-07-23 10:53 UTC (History)
2 users (show)

Fixed In Version: cwm-6.3-4.fc29
Clone Of:
Environment:
Last Closed: 2018-07-20 17:55:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (3.73 KB, text/plain)
2018-07-19 18:37 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-19 18:37 UTC, Mohan Boddu
no flags Details
state.log (595 bytes, text/plain)
2018-07-19 18:37 UTC, Mohan Boddu
no flags Details

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


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