Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5887 - man-1.5k fails to build
Summary: man-1.5k fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-02 00:22 UTC by Jesse
Modified: 2002-12-25 22:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2002-08-02 00:22:13 UTC
I've been unable to update to 1.5k because gcc fails with this error: 
 
./makemsg ../msgs/mess.en gripedefs.h msg.c 
gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -march=i686 -O3 
-fomit-frame-pointer -pipe -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS 
-DGREPSILENT=\'q\' man.c 
man.c: In function `do_global_apropos': 
man.c:1087: `q' undeclared (first use in this function) 
man.c:1087: (Each undeclared identifier is reported only once 
man.c:1087: for each function it appears in.) 
make[1]: *** [man.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/man-1.5k/work/man-1.5k/src' 
make: *** [source] Error 2
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-02 19:02:23 UTC
What gcc are you using ?  and what is your USE flags ?
Comment 2 Jesse 2002-08-02 19:17:41 UTC
Im using gcc 2.95.3 
Tried with "USE="-arts -3dnow -gnome" AND 
with _no_ USE flags at all.  Same error. 
Comment 3 Jesse 2002-08-05 00:23:26 UTC
I manually got it to build by taking the -DGREPSILENT=\'q\' out from the   
command line and manually editing man.c in 2 places (i think), replacing the   
GREPSILENT with 'q' in the source code.   
   
It then compiled properly and i appear to be able to run man, makewhatis,  
and whatis itself without any problems... but a friend was able to compile 1.5k 
without any problems with the same version of all software (we essentially had 
the exact same packages to upgrade if we both did a -pu world so everything 
else should be the same) 
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-07 16:37:04 UTC
Could you try to first remerge grep, then gcc and see if that makes an difference?
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 22:56:11 UTC
New info ...
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-25 22:56:43 UTC
Just had the same issue.  It should be fixed for man-1.5k-r1.