emerge a2ps fails with: gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I. -I.. -I.. -I. -I../lib -I../intl -march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer -c `test -f 'lexps.c' || echo './'`lexps.c source='sheets-map.c' object='sheets-map.o' libtool=no \ depfile='.deps/sheets-map.Po' tmpdepfile='.deps/sheets-map.TPo' \ depmode=gcc3 /bin/sh ../auxdir/depcomp \ gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -I. -I. -I.. -I.. -I. -I../lib -I../intl -march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer -c `test -f 'sheets-map.c' || echo './'`sheets-map.c /bin/sh ../libtool --mode=link gcc -march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer -o a2ps main.o read.o sshread.o ssheet.o select.o generate.o delegate.o regex.o buffer.o versions.o ffaces.o version-etc.o long-options.o parsessh.o lexssh.o lexps.o sheets-map.o ../lib/liba2ps.la -lm mkdir .libs gcc -march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer -o a2ps main.o read.o sshread.o ssheet.o select.o generate.o delegate.o regex.o buffer.o versions.o ffaces.o version-etc.o long-options.o parsessh.o lexssh.o lexps.o sheets-map.o ../lib/.libs/liba2ps.a -lm main.o(.text+0x120d): In function `spy_user': : warning: the use of `tempnam' is dangerous, better use `mkstemp' select.o(.text+0x117): In function `get_command': : undefined reference to `rpl_fnmatch' select.o(.text+0x18a): In function `get_command': : undefined reference to `rpl_fnmatch' ../lib/.libs/liba2ps.a(pathwalk.o)(.text+0xef9): In function `pw_filter_fnmatch': : undefined reference to `rpl_fnmatch' collect2: ld returned 1 exit status make[3]: *** [a2ps] Error 1 make[3]: Leaving directory `/usr/portage/tmp/portage/a2ps-4.13c-r1/work/a2ps-4.13/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/portage/tmp/portage/a2ps-4.13c-r1/work/a2ps-4.13/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/portage/tmp/portage/a2ps-4.13c-r1/work/a2ps-4.13' make: *** [all] Error 2 !!! ERROR: app-text/a2ps-4.13c-r1 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! make failed Reproducible: Always Steps to Reproduce: emerge a2ps Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-BBZ-r4) ================================================================= System uname: 2.6.8-BBZ-r4 i686 Intel(R) Celeron(TM) CPU 1200MHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -ffast-math -mfpmath=sse,387 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect nodoc noinfo sandbox userpriv usersandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ds.thn.htu.se/linux/gentoo http://ftp.du.se/pub/os/gentoo http://ftp.linux.ee/pub/gentoo/distfiles/" MAKEOPTS="-j1" PKGDIR="/usr/portage/pkgs" PORTAGE_TMPDIR="/usr/portage/tmp" PORTDIR="/usr/portage/ports" PORTDIR_OVERLAY="/usr/src/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="acl alsa apm cups foomaticdb gnome gstreamer mad mmx ncurses nls nptl oggvorbis ppds readline sse threads truetype unicode x86 zlib"
Latest versions compiles ok ;)