This is a fresh install (from stage 3 - in a chroot), with an attempt to emerge apache-1.3.33-r12 (apache-2 is masked). It repeatedly fails at: _SET_DUMPABLE -I/usr/include/db4.2 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM `../../apaci` -fpic -DSHARED_MODULE mod_auth_db.c && mv mod_auth_db.o mod_auth_db.lo mod_rewrite.c: In function `lookup_map_dbmfile': mod_rewrite.c:3037: error: `DBM' undeclared (first use in this function) mod_rewrite.c:3037: error: (Each undeclared identifier is reported only once mod_rewrite.c:3037: error: for each function it appears in.) mod_rewrite.c:3037: error: `dbmfp' undeclared (first use in this function) mod_rewrite.c:3038: error: `datum' undeclared (first use in this function) mod_rewrite.c:3038: error: syntax error before "dbmkey" mod_rewrite.c:3046: error: `dbmkey' undeclared (first use in this function) mod_rewrite.c:3049: error: `dbmval' undeclared (first use in this function) make[4]: *** [mod_rewrite.so] Error 1 make[4]: *** Waiting for unfinished jobs.... gcc -shared -o mod_auth_db.so mod_auth_db.lo -L/usr/lib -lm -lcrypt -ldb-4.2 -lmm -lexpat -lgdbm -lgdbm_compat -lpthread make[4]: *** Waiting for unfinished jobs.... make[3]: *** [all] Error 1 make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/apache-1.3.33-r12/work/apache_1.3.33/src' make[1]: *** [build-std] Error 2 make[1]: Leaving directory `/var/tmp/portage/apache-1.3.33-r12/work/apache_1.3.33' make: *** [build] Error 2 !!! ERROR: net-www/apache-1.3.33-r12 failed. !!! Function src_compile, Line 129, Exitcode 2 !!! problem compiling apache Reproducible: Always Steps to Reproduce: 1. 2. 3. # emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1, 2.4.28 i686) ================================================================= System uname: 2.4.28 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.11 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.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fprefetch-loop-arrays -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups eds emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mbox mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
*** This bug has been marked as a duplicate of 95140 ***