sys-apps/man fails to compile... might be a distcc problem: shitkicker ~ # emerge -vDu world Calculating world dependencies ...done! >>> emerge (1 of 5) 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 cd man; ../conf_script Makefile cd gencat; make 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=pentium3 -fomit-frame-pointer -c -o gencat.o gencat.c Creating Makefile from Makefile.in cd src; make Creating Makefile from Makefile.in i686-pc-linux-gnu-gcc -O2 -march=pentium3 -fomit-frame-pointer -c -o genlib.o genlib.c 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 -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=pentium3 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS manfile.c ../conf_script paths.h Creating Makefile from Makefile.in vers=`sed -e s/man-// ../version`; \ echo "static char version[] = \"$vers\";" > version.h i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=pentium3 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS man-iconv.c cd man; make subdirs make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man' Creating paths.h from paths.h.in i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=pentium3 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS to_cat.c i686-pc-linux-gnu-gcc -c -Wall -O2 -march=pentium3 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS glob.c distcc[5766] (dcc_writex) ERROR: failed to write: Connection refused ==== Making the bulgarian man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/bg' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. ../conf_script man.conf Creating man.conf from man.conf.in rm -f apropos sed -e 's,%apropos_or_whatis%,apropos,' \ -e 's,%version%,man-1.6,' \ -e 's,%manpathoption%,--path,' \ apropos.sh > apropos chmod +x apropos Creating man.1 from man.1.in In file included from manfile.c:15: gripes.h:1:23: gripedefs.h: No such file or directory rm -f whatis sed -e 's,%apropos_or_whatis%,whatis,' \ -e 's,%version%,man-1.6,' \ -e 's,%manpathoption%,--path,' \ apropos.sh > whatis chmod +x whatis rm -f makewhatis distcc[5746] ERROR: compile manfile.c on [XXX.XXX.XXX.XXX] failed make[1]: *** [manfile.o] Error 1 make[1]: *** Waiting for unfinished jobs.... sed -e 's,%version%,man-1.6,' \ -e 's,%awk%,/bin/awk,' makewhatis.sh > makewhatis make[1]: *** Waiting for unfinished jobs.... distcc[5766] (dcc_writex) ERROR: failed to write: Broken pipe distcc[5766] Warning: failed to distribute to_cat.c to [XXX.XXX.XXX.XXX], running locally instead chmod +x makewhatis make[1]: *** Waiting for unfinished jobs.... Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/bg' ==== Making the czech man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/cs' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/src' make: *** [source] Error 2 make: *** Waiting for unfinished jobs.... Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/cs' ==== Making the danish man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/da' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in i686-pc-linux-gnu-gcc -Wl,-z,now -o gencat gencat.o genlib.o Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/da' ==== Making the german man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/de' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat' Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/de' ==== Making the greek man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/el' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[3]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/el' Creating makewhatis.8 from makewhatis.8.in make[3]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/el' make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/el' ==== Making the english man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/en' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[3]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/en' Creating makewhatis.8 from makewhatis.8.in make[3]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/en' make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/en' ==== Making the spanish man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/es' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/es' ==== Making the finnish man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/fi' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/fi' ==== Making the french man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/fr' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/fr' ==== Making the croatian man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/hr' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/hr' ==== Making the italian man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/it' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[3]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/it' Creating makewhatis.8 from makewhatis.8.in make[3]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/it' make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/it' ==== Making the japanese man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ja' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ja' ==== Making the korean man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ko' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ko' ==== Making the dutch man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/nl' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/nl' ==== Making the polish man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/pl' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/pl' ==== Making the portuguese man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/pt' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/pt' ==== Making the romanian man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ro' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[3]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ro' Creating makewhatis.8 from makewhatis.8.in make[3]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ro' make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/ro' ==== Making the slovenian man pages. ==== make[2]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/man/sl' make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. Creating man.1 from man.1.in Creating whatis.1 from whatis.1.in Creating apropos.1 from apropos.1.in Creating man.conf.5 from man.conf.5.in for i in makewhatis; \ do if test -f $i.man; then make -f ../Makefile $i.8; fi; done make[2]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man/sl' make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/man' !!! 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. -- emerge info -- shitkicker ~ # 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.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Pentium III (Katmai) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, May 2 2005, 14:03:16)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [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=pentium3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.tds.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://adelie.polymtl.ca/ http://www.gtlib.cc.gatech.edu/pub/gentoo " MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd emboss encode foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mailwrapper mikmod motif mp3 mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Reproducible: Always Steps to Reproduce:
running without distcc, got the following error message: i686-pc-linux-gnu-gcc -c -Wall -O2 -march=pentium3 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS glob.c In file included from manfile.c:15: gripes.h:1:23: gripedefs.h: No such file or directory Creating whatis.1 from whatis.1.in ../conf_script man.conf manfile.c: In function `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: In function `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: In function `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]: *** Waiting for unfinished jobs....
Dupe #5, congrats! ;p *** This bug has been marked as a duplicate of 97439 ***