sysutils/cfengine2 build failure

Anthony Chavez acc at anthonychavez.org
Fri Feb 17 16:05:08 PST 2006


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 -pthread -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD -D_THREAD_SAFE -pthread -O2 -fno-strict-aliasing -pipe  -I/usr/local/include/db43 -pthread -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD -L/usr/local/lib -L/usr/local/lib   -L/usr/local/lib/db42 -ldb-4.2 -rpath=/usr/local/lib -L/usr/local/lib/db42 -ldb-4.2 -rpath=/usr/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 item-file.o  2Dlist.o globals.o classes.o  misc.o parse.o functions.o  edittools.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 repository.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 methods.o dtypes.o  state.o package.o -lfl -lfl -ldb -lcrypto -L../pub -lpub -lpthread -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: undefined reference to `db_create'
misc.o(.text+0xa75): In function `ChecksumChanged':
/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/misc.c:248: undefined 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: undefined reference to `db_strerror'
locks.o(.text+0xacc): In function `DeleteLock':
/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/locks.c:620: undefined reference to `db_strerror'
state.o(.text+0x4a): In function `AddPersistentClass':
/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:66: undefined reference to `db_create'
state.o(.text+0x352): In function `DeletePersistentClass':
/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:155: undefined reference to `db_create'
state.o(.text+0x4e2): In function `PersistentClassesToHeap':
/usr/ports/sysutils/cfengine2/work/cfengine-2.1.17/src/state.c:207: undefined 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.

-- 
Anthony Chavez                                 http://anthonychavez.org/
mailto:acc at anthonychavez.org         jabber:acc at jabber.anthonychavez.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 477 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20060217/2e558f70/attachment.bin


More information about the freebsd-ports mailing list