emerge sync emerge world Calculating dependencies ...done! >>> emerge (1 of 1) 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/lynx htmlpager command: /usr/bin/lynx -dump 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 make[1]: Entering directory `/var/tmp/portage/man-1.6/work/man-1.6/gencat' i686-pc-linux-gnu-gcc -O3 -march=i686 -fomit-frame-pointer -c -o gencat.o gencat.c Creating Makefile from Makefile.in cd msgs; ../conf_script Makefile Creating Makefile from Makefile.in 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 -O3 -march=i686 -fomit-frame-pointer -c -o genlib.o genlib.c i686-pc-linux-gnu-gcc -c -Wall -Wstrict-prototypes -Wmissing-prototypes -O3 -march=i686 -fomit-frame-pointer -I. -DSTDC_HEADERS -DPOSIX -DDO_COMPRESS manfile.c In file included from manfile.c:15: gripes.h:1:23: gripedefs.h: ????????? 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] ?? 1 make[1]: Leaving directory `/var/tmp/portage/man-1.6/work/man-1.6/src' make: *** [source] ?? 2 make: *** ??????????.... i686-pc-linux-gnu-gcc -Wl,-z,now -o gencat gencat.o genlib.o 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 sync 2. emerge world 3. it emerge man-1.6 first and got error
*** This bug has been marked as a duplicate of 97439 ***