Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97499 - sys-apps/man-1.6 fails to compile
Summary: sys-apps/man-1.6 fails to compile
Status: RESOLVED DUPLICATE of bug 97439
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-30 08:14 UTC by Alejandro Diaz Caro
Modified: 2005-06-30 08:17 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 Alejandro Diaz Caro 2005-06-30 08:14:28 UTC
sys-apps/man-1.6 does not compile on my system.  
The full output from the ebuild is as follows:  
  
>>> emerge (1 of 32) sys-apps/man-1.6 to / 
>>> md5 files   ;-) man-1.6.ebuild 
>>> md5 files   ;-) ChangeLog 
>>> md5 files   ;-) metadata.xml 
>>> md5 files   ;-) man-1.5p.ebuild 
>>> md5 files   ;-) files/man-1.5m-groff-1.18.patch 
>>> md5 files   ;-) files/man-1.5p-search-order.patch 
>>> md5 files   ;-) files/man-1.5p-parallel-make.patch 
>>> md5 files   ;-) files/man-1.5p-defmanpath-symlinks.patch 
>>> md5 files   ;-) files/makewhatis.cron 
>>> md5 files   ;-) files/digest-man-1.6 
>>> md5 files   ;-) files/digest-man-1.5p 
>>> md5 src_uri ;-) man-1.6.tar.gz 
>>> Unpacking source... 
>>> Unpacking man-1.6.tar.gz to /var/tmp/portage/man-1.6/work 
 * Applying man-1.5p-parallel-make.patch ...                                
[ ok ] 
 * Applying man-1.5p-search-order.patch ...                                 
[ ok ] 
 * Applying man-1.5m-groff-1.18.patch ...                                   
[ ok ] 
 * Applying man-1.5p-defmanpath-symlinks.patch ...                          
[ ok ] 
>>> Source unpacked. 
checking for gcc 
checking for ANSI C header files 
checking for POSIX.1 header files 
checking for BSD string and memory functions 
checking whether sys/types.h defines uid_t 
checking for Xenix 
checking how to get alloca 
checking for nls 
checking for getopt.h 
Checking echo to see how to suppress newlines... 
...using -n. 
 
Assuming you want to be able to handle the nroff source for man pages. 
 
Assuming the following ways to invoke the various commands and filters: 
troff command:  /usr/bin/groff -Tps -mandoc 
nroff command:  /usr/bin/nroff -Tascii -c -mandoc 
jnroff command: /usr/bin/groff -Tnippon -mandocj 
eqn command:    /usr/bin/geqn -Tps 
neqn command:   /usr/bin/geqn -Tlatin1 
jneqn command:  /usr/bin/geqn -Tnippon 
tbl command:    /usr/bin/gtbl 
col command:    /usr/bin/col 
vgrind command: missing 
refer command:  /usr/bin/refer 
grap command:   missing 
pic command:    /usr/bin/pic 
pager command:  /usr/bin/less -is 
browser command:        /usr/bin/less -is 
htmlpager command:      /bin/cat 
cmp command:    /usr/bin/cmp -s 
cat command:    /bin/cat 
awk command:    /bin/awk 
 
It seems that no col is needed, since you use groff. 
 
Assuming that binaries go to /usr/bin, the configuration file 
goes to /etc, makewhatis to /usr/sbin, and the man pages 
to /usr/share/man/man*. 
 
Using localedir /usr/share/locale/%L/%N 
 
Setting the default section search order to 1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l 
p o. 
 
Assuming that formatted pages should be compressed. 
Using /bin/bzip2 for compression. 
 
Assuming the following ways to invoke the various decompressors: 
gunzip command:         /bin/gunzip -c 
bzip2 command:          /bin/bzip2 -c -d 
pcat command:           missing 
zcat command:           /bin/zcat 
fcat command:           missing 
unyabba command:        missing 
 
Created Makefile and conf_script. Now do "make" and "make install". 
 
cd src; ../conf_script Makefile 
cd man2html; ../conf_script Makefile 
Creating Makefile from Makefile.in 
cd man; ../conf_script Makefile 
Creating Makefile from Makefile.in 
cd gencat; make 
Creating Makefile from Makefile.in 
cd msgs; ../conf_script Makefile 
Creating Makefile from Makefile.in 
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat' 
i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -fomit-frame-pointer   -c -o 
gencat.o gencat.c 
cd src; make 
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/src' 
gcc -o makemsg makemsg.c 
i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -fomit-frame-pointer   -c -o 
genlib.o genlib.c 
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 
-march=athlon -pipe -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX 
-DDO_COMPRESS manfile.c 
i686-pc-linux-gnu-gcc  -Wl,-z,now -o gencat gencat.o genlib.o 
En el fichero inclu
Comment 1 Alejandro Diaz Caro 2005-06-30 08:14:28 UTC
sys-apps/man-1.6 does not compile on my system.  
The full output from the ebuild is as follows:  
  
>>> emerge (1 of 32) sys-apps/man-1.6 to / 
>>> md5 files   ;-) man-1.6.ebuild 
>>> md5 files   ;-) ChangeLog 
>>> md5 files   ;-) metadata.xml 
>>> md5 files   ;-) man-1.5p.ebuild 
>>> md5 files   ;-) files/man-1.5m-groff-1.18.patch 
>>> md5 files   ;-) files/man-1.5p-search-order.patch 
>>> md5 files   ;-) files/man-1.5p-parallel-make.patch 
>>> md5 files   ;-) files/man-1.5p-defmanpath-symlinks.patch 
>>> md5 files   ;-) files/makewhatis.cron 
>>> md5 files   ;-) files/digest-man-1.6 
>>> md5 files   ;-) files/digest-man-1.5p 
>>> md5 src_uri ;-) man-1.6.tar.gz 
>>> Unpacking source... 
>>> Unpacking man-1.6.tar.gz to /var/tmp/portage/man-1.6/work 
 * Applying man-1.5p-parallel-make.patch ...                                
[ ok ] 
 * Applying man-1.5p-search-order.patch ...                                 
[ ok ] 
 * Applying man-1.5m-groff-1.18.patch ...                                   
[ ok ] 
 * Applying man-1.5p-defmanpath-symlinks.patch ...                          
[ ok ] 
>>> Source unpacked. 
checking for gcc 
checking for ANSI C header files 
checking for POSIX.1 header files 
checking for BSD string and memory functions 
checking whether sys/types.h defines uid_t 
checking for Xenix 
checking how to get alloca 
checking for nls 
checking for getopt.h 
Checking echo to see how to suppress newlines... 
...using -n. 
 
Assuming you want to be able to handle the nroff source for man pages. 
 
Assuming the following ways to invoke the various commands and filters: 
troff command:  /usr/bin/groff -Tps -mandoc 
nroff command:  /usr/bin/nroff -Tascii -c -mandoc 
jnroff command: /usr/bin/groff -Tnippon -mandocj 
eqn command:    /usr/bin/geqn -Tps 
neqn command:   /usr/bin/geqn -Tlatin1 
jneqn command:  /usr/bin/geqn -Tnippon 
tbl command:    /usr/bin/gtbl 
col command:    /usr/bin/col 
vgrind command: missing 
refer command:  /usr/bin/refer 
grap command:   missing 
pic command:    /usr/bin/pic 
pager command:  /usr/bin/less -is 
browser command:        /usr/bin/less -is 
htmlpager command:      /bin/cat 
cmp command:    /usr/bin/cmp -s 
cat command:    /bin/cat 
awk command:    /bin/awk 
 
It seems that no col is needed, since you use groff. 
 
Assuming that binaries go to /usr/bin, the configuration file 
goes to /etc, makewhatis to /usr/sbin, and the man pages 
to /usr/share/man/man*. 
 
Using localedir /usr/share/locale/%L/%N 
 
Setting the default section search order to 1 1p 8 2 3 3p 4 5 6 7 9 0p tcl n l 
p o. 
 
Assuming that formatted pages should be compressed. 
Using /bin/bzip2 for compression. 
 
Assuming the following ways to invoke the various decompressors: 
gunzip command:         /bin/gunzip -c 
bzip2 command:          /bin/bzip2 -c -d 
pcat command:           missing 
zcat command:           /bin/zcat 
fcat command:           missing 
unyabba command:        missing 
 
Created Makefile and conf_script. Now do "make" and "make install". 
 
cd src; ../conf_script Makefile 
cd man2html; ../conf_script Makefile 
Creating Makefile from Makefile.in 
cd man; ../conf_script Makefile 
Creating Makefile from Makefile.in 
cd gencat; make 
Creating Makefile from Makefile.in 
cd msgs; ../conf_script Makefile 
Creating Makefile from Makefile.in 
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat' 
i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -fomit-frame-pointer   -c -o 
gencat.o gencat.c 
cd src; make 
make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/src' 
gcc -o makemsg makemsg.c 
i686-pc-linux-gnu-gcc -O2 -march=athlon -pipe -fomit-frame-pointer   -c -o 
genlib.o genlib.c 
i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 
-march=athlon -pipe -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX 
-DDO_COMPRESS manfile.c 
i686-pc-linux-gnu-gcc  -Wl,-z,now -o gencat gencat.o genlib.o 
En el fichero incluído de manfile.c:15: 
gripes.h:1:23: gripedefs.h: No existe el fichero o el directorio 
manfile.c: En la función `glob_for_file_ext_glob': 
manfile.c:87: error: `CALLTRACE3' undeclared (first use in this function) 
manfile.c:87: error: (Each undeclared identifier is reported only once 
manfile.c:87: error: for each function it appears in.) 
manfile.c:115: error: `ABOUT_TO_GLOB' undeclared (first use in this function) 
manfile.c: En la función `glob_for_file': 
manfile.c:152: error: `CALLTRACE2' undeclared (first use in this function) 
manfile.c:183: error: `NO_MATCH' undeclared (first use in this function) 
manfile.c:187: error: `GLOB_FOR_FILE' undeclared (first use in this function) 
manfile.c: En la función `manfile_from_sec_and_dir': 
manfile.c:209: error: `CALLTRACE1' undeclared (first use in this function) 
manfile.c:230: error: `FOUND_FILE' undeclared (first use in this function) 
make[1]: *** [manfile.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/src' 
make: *** [source] Error 2 
make: *** Se espera a que terminen otras tareas.... 
make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat' 
 
!!! ERROR: sys-apps/man-1.6 failed. 
!!! Function src_compile, Line 57, Exitcode 2 
!!! emake failed 
!!! If you need support, post the topmost build error, NOT this status 
message. 

Reproducible: Always
Steps to Reproduce:
1. emerge -uDav --newuse world  
2.  
3.  
  
Actual Results:  
This fails on man-1.6 (as above). 

Expected Results:  
Should compile normally. 

# emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r9 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r9 i686 AMD Duron(tm) 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 07:33:45)] 
ccache version 2.3 [enabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.59-r6, 2.13 
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms 
strict" 
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo" 
LANG="es_AR" 
LC_ALL="es_AR" 
LINGUAS="es" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow 3dnowex 3dnowext X aalib acc acpi alsa arts audiofile avi 
bash-completion bitmap-fonts caps cdparanoia cdr chm crypt cscope cups curl 
dga directfb divx4linux dv dvd dvdread emboss encode ethereal fam fbcon fdftk 
fftw flac flash foomaticdb fortran gd gif gimpprint ginac gphoto2 gpm icq 
imagemagick imap imlib jabber jack java jpeg jpeg2k kde kdeenablefinal 
kdexdeltas lcms libmatroska live lm_sensors mad maildir mbox memlimit mikmod 
mmx mmxext motif mozilla mp3 mpeg msn ncurses network nls nocardbus offensive 
ogg oggvorbis opengl oscar oss pam pdflib perl pic plotutils png qt quicktime 
readline real reiserfs sdl slang snmp speex spell ssl svg svga szip tcltk 
tetex theora tiff truetype truetype-fonts type1-fonts unicode usb vidix vorbis 
win32codecs wmf x86 xanim xine xmms xv xvid xvmc yahoo zlib video_cards_savage 
linguas_es userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-30 08:17:40 UTC
Dupe #6...

*** This bug has been marked as a duplicate of 97439 ***