Date: Fri, 17 Feb 2006 17:04:40 -0700 From: Anthony Chavez <acc@anthonychavez.org> To: freebsd-ports@freebsd.org Subject: sysutils/cfengine2 build failure Message-ID: <m27j7tzg4n.fsf@wifi.pegasos.aegaeum.anthonychavez.org>
next in thread | raw e-mail | index | archive | help
--=-=-= Content-Transfer-Encoding: quoted-printable Hello, This port is failing to build on several of my machines, each running 6.0-RELEASE-p4. Before send-pr'ing, I thought I would try to determine if it was actually a *bug* or a problem with my configuration (or perhaps hardware). Every failure gives the same result (below). My first reaction was that was due to a failure in the configure script during the Berkeley DB version detection phase. Successful builds would correctly use the 4.2.52 libraries and failures would attempt to use 4.3.28 and die. However, there has been one case where a build succeeded using the 4.3.28 libraries, so I'm inclined to think that BerkeleyDB is not the (only) cause of this error. My second thought was that OpenSSL may have been contributing to the problem. However, I am seeing successes and failures with both WITH_OPENSSL_BASE and WITH_OPENSSL_PORT defined. I have submitted the full build logs and config.log for each machine at the following locations. config.log doesn't appear to show up immediately on my browser, but clicking on the download link seems to work just fine. For emphasis (as well as future reference), I have included the build error common to each failure immediately afterward. Host 1 (success): http://www.pasteserver.net/paste/show/100 http://www.pasteserver.net/paste/show/101 Host 2 (success): http://www.pasteserver.net/paste/show/102 http://www.pasteserver.net/paste/show/103 Host 3 (failure): http://www.pasteserver.net/paste/show/104 http://www.pasteserver.net/paste/show/105 Host 4 (failure): http://www.pasteserver.net/paste/show/106 http://www.pasteserver.net/paste/show/107 Host 5 (success previously, but now fails): http://www.pasteserver.net/paste/show/108 http://www.pasteserver.net/paste/show/109 Host 6 (anomalous success): http://www.pasteserver.net/paste/show/110 http://www.pasteserver.net/paste/show/111 Host 7 (failure): http://www.pasteserver.net/paste/show/112 http://www.pasteserver.net/paste/show/113 cc -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -D_THREAD_SAFE= -pthread -O2 -fno-strict-aliasing -pipe -I/usr/local/include/db43 -pthrea= d -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD -D_THREAD_SAFE -pthread -O2 -fno-str= ict-aliasing -pipe -I/usr/local/include/db43 -pthread -D_THREAD_SAFE -DBUI= LDTIN_GCC_THREAD -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib/db42 = -ldb-4.2 -rpath=3D/usr/local/lib -L/usr/local/lib/db42 -ldb-4.2 -rpath=3D/u= sr/local/lib -o cfagent cfagent.o init.o do.o modules.o alerts.o wrapper.= o report.o client.o ip.o process.o ifconf.o image.o item.o item-ext.o it= em-file.o 2Dlist.o globals.o classes.o misc.o parse.o functions.o editto= ols.o patches.o install.o link.o tidy.o filedir.o eval.o modes.o sockaddr= .o chflags.o locks.o mount.o macro.o filenames.o varstring.o wildcard.o = cfparse.o comparray.o read.o checksums.o proto.o filters.o copy.o reposit= ory.o rotate.o errors.o cflex.o net.o df.o log.o crypto.o popen.o popen_= def.o sensible.o acl.o dce_acl.o nameinfo.o strategies.o granules.o metho= ds.o dtypes.o state.o package.o -lfl -lfl -ldb -lcrypto -L../pub -lpub -lp= thread -lm do.o(.text+0x6c99): In function `CheckRequired': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/do.c:1069: undefined= reference to `db_create' ip.o(.text+0x406): In function `LastSeen': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/ip.c:385: undefined = reference to `db_create' ip.o(.text+0xce9): In function `CheckFriendConnections': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/ip.c:502: undefined = reference to `db_create' misc.o(.text+0x3e0): In function `ChecksumPurge': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/misc.c:416: undefine= d reference to `db_create' misc.o(.text+0xa75): In function `ChecksumChanged': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/misc.c:248: undefine= d reference to `db_create' locks.o(.text+0x8a):/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/= locks.c:152: more undefined references to `db_create' follow locks.o(.text+0x84c): In function `PutLock': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/locks.c:553: undefin= ed reference to `db_strerror' locks.o(.text+0xacc): In function `DeleteLock': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/locks.c:620: undefin= ed reference to `db_strerror' state.o(.text+0x4a): In function `AddPersistentClass': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:66: undefine= d reference to `db_create' state.o(.text+0x352): In function `DeletePersistentClass': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:155: undefin= ed reference to `db_create' state.o(.text+0x4e2): In function `PersistentClassesToHeap': /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:207: undefin= ed reference to `db_create' *** Error code 1 Stop in /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src. *** Error code 1 Stop in /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src. *** Error code 1 Stop in /usr/ports/sysutils/cfengine2/work/cfengine-2.1.17. *** Error code 1 Stop in /usr/ports/sysutils/cfengine2. =2D-=20 Anthony Chavez http://anthonychavez.org/ mailto:acc@anthonychavez.org jabber:acc@jabber.anthonychavez.org --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Darwin) iQEVAwUAQ/ZknPAIdTFWAbdTAQquwwf8DOSLUpGyHDXY/YZeVnBf9p9bmLiEyr7n uLZf1MwmMUbQF3cMvDDgGJR/DvsLHDr7tVzeGG1ohfpv0jKDqRabr5AZRds4t7zn O+kJlTRpVHelISxpcYobldxBf9ggCPzW5yHpgCg/yORjcBc/iURH0jYn+FUi/fFS ccX2IbmtU28N3vjojQwbuDYkZO3nDZJpKXDZb4tKlQJK7EJqtYqAtutZ31vS+4Ev OUx2uh7ZvEHoZ3mQA5eDJtGVC5zrB80S6DIVpY4uC5Dj7MW7yY5RAUpLIOeHZhDs 34J0sWn6UGs6AVP+5iS5FLf/k/oDjeJ9Nj1c1Pt9vJGxRep4BuPPVQ== =sYOK -----END PGP SIGNATURE----- --=-=-=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m27j7tzg4n.fsf>