Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36945 - net-misc/cfengine-2.1.0_p1 doesn't compile
Summary: net-misc/cfengine-2.1.0_p1 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Kurt Lieber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 09:19 UTC by Axxackall
Modified: 2005-05-17 13:52 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Axxackall 2004-01-01 09:19:04 UTC
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
Comment 1 Axxackall 2004-01-01 09:20:18 UTC
# 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"
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-01 11:53:56 UTC
do you have db4 installed?
Comment 3 Kurt Lieber (RETIRED) gentoo-dev 2004-01-01 14:12:37 UTC
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.
Comment 4 Axxackall 2004-01-02 02:24:29 UTC
# 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
Comment 5 Axxackall 2004-01-02 02:39:12 UTC
# MAKEOPTS="" FEATURES="sandbox buildpkg" emerge cfengine
...
same failure result
Comment 6 Maurice van der Pot (RETIRED) gentoo-dev 2005-01-08 04:59:34 UTC
Axxackall, is this problem still present in the latest version?
Comment 7 Kurt Lieber (RETIRED) gentoo-dev 2005-05-17 13:51:43 UTC
errr.....ok, assuming this is no longer an issue since we're 4-5 versions beyond
this one. :\
Comment 8 Kurt Lieber (RETIRED) gentoo-dev 2005-05-17 13:52:44 UTC
forgot to add, "shame on me"...