sjeng requires the gdbm library (or at least gdbm.h), but gdbm is not listed in sjeng's dependencies, so emerging sjeng results in a compile error Reproducible: Always Steps to Reproduce: 1. emerge -C gdbm; emerge sjeng 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I. -Os -march=k8 -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers -ftracer -mtune=athlon64 -pipe -c neval.c distcc[17341] ERROR: compile (null) on localhost failed gcc -DHAVE_CONFIG_H -I. -I. -I. -Os -march=k8 -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers -ftracer -mtune=athlon64 -pipe -c rcfile.c newbook.c:27:18: gdbm.h: No such file or directory newbook.c:35:2: #error You need the GNU DBM library (GDBM). Go to ftp.gnu.org distcc[17338] ERROR: compile newbook.c on zippy/4 failed make[2]: *** [newbook.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sjeng-11.2-r1/work/Sjeng-Free-11.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sjeng-11.2-r1/work/Sjeng-Free-11.2' make: *** [all-recursive-am] Error 2 !!! ERROR: games-board/sjeng-11.2-r1 failed. !!! Function games_src_compile, Line 158, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: sucessfully emerged sjeng without having to manually emerge gdbm first Portage 2.0.51.20-r5 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r3-k8 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3-k8 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.11 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.3 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -march=k8 -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers -ftracer -mtune=athlon64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=k8 -fomit-frame-pointer -funit-at-a-time -fweb -frename-registers -ftracer -mtune=athlon64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distcc distlocks nodoc noinfo strict" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/ http://gentoo.llarian.net/" LDFLAGS="-Wl,-O1" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa berkdb bitmap-fonts bzlib cdparanoia cdr chroot crypt curl dedicated dga dillo dio dnd dvd dvdr dvdread encode esd faac faad fam ffmpeg flac font-server fortran freetype gb gd gdbm gif gimp gimpprint ginac glut gpm gs gtk gtkhtml imagemagick imlib imlib2 jikes joystick jp2 jpeg lcd lesstif libdsk lzw lzw-tiff maildir matrox mbox mcal md5sum mmap mng motif moznocompose moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer music native ncurses net network nptl offensive ofx ogg openal opengl oss pam parse-clocks pdf pdflib perl physfs pic pie png ppds python readline rogue sdl sox ssl svg tcltk tcpd theora threads tiff transcode truetype truetype-fonts type1 type1-fonts usb userlocales v4l v4l2 videos vorbis wifi wmf wxwindows xface xft xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yv12 zlib" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
yep, very true. Fixed in portage.