See actual results Reproducible: Always Steps to Reproduce: 1. emerge net-misc/cfengine-2.1.0_p1 Actual Results: gcc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -pthread -march=pentium3 -O3 -pipe -I/usr/include -pthread -march=pentium3 -O3 -pipe -I/usr/include -L/usr/lib -L/usr/lib -o cfenvgraph cfenvgraph.o granules.o -L../pub -lpub -ldb -L/usr/lib -lcrypto -L../pub -lpub -lnss_nis -lpthread -lm cfenvgraph.o(.text+0x1dd): In function `ReadAverages': /tmp/distcc_g2dev_215/cfenvgraph.c:193: undefined reference to `db_create_4000' cfenvgraph.o(.text+0xcc7): In function `SummarizeAverages': /tmp/distcc_g2dev_215/cfenvgraph.c:443: undefined reference to `db_create_4000' cfenvgraph.o(.text+0x32d8): In function `FindHurstFunction': /tmp/distcc_g2dev_215/cfenvgraph.c:1262: undefined reference to `db_create_4000' collect2: ld returned 1 exit status distcc[16679] ERROR: compile on localhost failed with exit code 1 make[2]: *** [cfenvgraph] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/cfengine-2.1.0_p1/work/cfengine-2.1.0p1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/cfengine-2.1.0_p1/work/cfengine-2.1.0p1/src' make: *** [all-recursive] Error 1 !!! ERROR: net-misc/cfengine-2.1.0_p1 failed. !!! Function src_compile, Line 30, Exitcode 2 !!! (no error message) Expected Results: expected to be compiled
# emerge info Portage 2.0.49-r18 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r2) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Pentium III (Katmai) Gentoo Base System version 1.4.3.10 distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/jakarta/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distcc sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/" MAKEOPTS="-j10" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acl apache2 berkdb cdr crypt cups curl emacs encode evo fam foomaticdb gb gd gdbm gpm guile imap java javascript ldap libg++ libgda libwww mad maildir mozcalendar mozilla mozxmlterm mysql ncurses oav odbc pam pdflib perl pg-hier postgres postgresql ppds python readline samba slang snmp spell ssl tcltk tcpd tetex x86 xemacs xml xml2 zeo zlib"
do you have db4 installed?
This compiles fine on the couple dozen x86 boxes I've installed it on, so I suspect this is either related to an incompatible version of db (db 4.1 perhaps?) and/or distcc. Can you try compiling it w/ distcc disabled and please also let us know what version of db you have installed.
# emerge -pv db These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] sys-libs/db-4.0.14-r2 +tcltk +java -doc
# MAKEOPTS="" FEATURES="sandbox buildpkg" emerge cfengine ... same failure result
Axxackall, is this problem still present in the latest version?
errr.....ok, assuming this is no longer an issue since we're 4-5 versions beyond this one. :\
forgot to add, "shame on me"...