Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 124912

Summary: app-admin/ccze-0.2.1 fails (gcc4)
Product: Gentoo Linux Reporter: Patrizio Bassi <patrizio.bassi>
Component: [OLD] GCC PortingAssignee: Christian Birchinger (RETIRED) <joker>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: Fixed ebuild

Description Patrizio Bassi 2006-03-04 01:52:58 UTC
make[1]: Entering directory `/var/tmp/portage/ccze-0.2.1/work/ccze-0.2.1/src'
cc -c  -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\"/usr/lib/ccze\" -DHAVE_SYSTEM_H=1 -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wbad-function-cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-security -Wimplicit -Wmain -Wmissing-braces -Wparentheses -Wreturn-type -Wswitch -Wmulticharacter -Wmissing-noreturn -Wmissing-                                  -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math  ccze.c
cc1: error: unrecognized command line option "-Wmulticharacter"
make[1]: *** [ccze.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/ccze-0.2.1/work/ccze-0.2.1/src'
make: *** [all-recursive] Error 2


after removing Wmulticharacter switch:

cc -c  -I. -I. -I.. -DPATCHLEVEL=\"1\" -DSYSCONFDIR=\"/etc\" -D_GNU_SOURCE=1 -DPKGLIBDIR=\                                   -DBUILTIN=1 -Wshadow -Wpointer-arith -Waggregate-return -Wstrict-prototypes -Wmissing-pro                                  -cast -Wsign-compare -Wchar-subscripts -Wcomment -Wformat -Wformat-nonliteral -Wformat-sec                                  braces -Wparentheses -Wreturn-type -Wswitch -Wmissing-noreturn -Wmissing-declarations  -O3                                  pipe -fomit-frame-pointer -mmmx -msse -ffast-math  ccze.c
In file included from /usr/include/argp.h:29,
                 from ccze.c:25:
/usr/include/errno.h:69: error: two or more data types in declaration specifiers
make: *** [ccze.o] Error 1
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2006-03-11 14:23:06 UTC
Created attachment 81945 [details]
Fixed ebuild

Does this work? I have no gcc 4.x machine yet.
Comment 2 Christian Birchinger (RETIRED) gentoo-dev 2006-03-11 15:35:04 UTC
A cleaner fix is now in CVS
Comment 3 Patrizio Bassi 2006-03-12 00:27:17 UTC
works!

i close this bug as fix is already in cvs.

thanks!