From owner-freebsd-ports@FreeBSD.ORG Tue May 15 09:47:47 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0564106566B for ; Tue, 15 May 2012 09:47:47 +0000 (UTC) (envelope-from dewayne.geraghty@heuristicsystems.com.au) Received: from nschwmtas02p.mx.bigpond.com (nschwmtas02p.mx.bigpond.com [61.9.189.140]) by mx1.freebsd.org (Postfix) with ESMTP id 424B78FC15 for ; Tue, 15 May 2012 09:47:47 +0000 (UTC) Received: from nschwcmgw06p ([61.9.190.166]) by nschwmtas02p.mx.bigpond.com with ESMTP id <20120515094745.VWFO22122.nschwmtas02p.mx.bigpond.com@nschwcmgw06p> for ; Tue, 15 May 2012 09:47:45 +0000 Received: from hermes.heuristicsystems.com.au ([58.172.112.105]) by nschwcmgw06p with BigPond Outbound id A9nl1j00S2GVmci019nlzY; Tue, 15 May 2012 09:47:45 +0000 X-Authority-Analysis: v=2.0 cv=GeeVbHrL c=1 sm=1 a=0GO/22z+lHYfckWJ4naYnw==:17 a=k4yzAXmc-yEA:10 a=kj9zAlcOel0A:10 a=Jps7jzxTZqlGpLKrkjQA:9 a=Bf-lBTEFtbn_X8WLdGgA:7 a=CjuIK1q_8ugA:10 a=0GO/22z+lHYfckWJ4naYnw==:117 Received: from black (black.hs [10.0.5.1]) (authenticated bits=0) by hermes.heuristicsystems.com.au (8.14.5/8.13.6) with ESMTP id q4F9k0mw067939 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Tue, 15 May 2012 19:46:11 +1000 (EST) (envelope-from dewayne.geraghty@heuristicsystems.com.au) From: "Dewayne Geraghty" To: "'Robert Simmons'" References: <4FAD492C.3060807@gmx.de> Date: Tue, 15 May 2012 19:46:00 +1000 Message-ID: <9880B4F2567E41A582B6B9DA178AECFD@black> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac0yQyIaSVq7Hk8XSwKYbBQchvGl2AANZ1lw Cc: freebsd-ports@freebsd.org Subject: RE: Heimdal 1.5.2 problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2012 09:47:47 -0000 Thanks for the updates Robert. I've pursued building heimdal on a custom FreeBSD9-Stable jail built without crypto (openssl, heimdal,...); and forced the selection of bdb throughout the range 5 to 41 via the following ports.conf setting *: WITH_BDB_VER=5 ... *: WITH_BDB_VER=41 Combined with security/heimdal: PREFIX=/usr/local | WITH_CRACKLIB | WITHOUT_SQLITE | WITH_BDB Only the databases/db41 builds heimdal to completion. All others terminated with ------------------------ /var/ports/usr/ports/security/heimdal/work/heimdal-1.5.2/lib/com_err/.libs/libc om_err.so /usr/local/lib/libintl.so /usr/local/lib/libiconv.so /var/ports/usr/ports/security/heimdal/work/heimdal-1.5.2/lib/roken/.libs/librok en.so ../../lib/sqlite/.libs/libheimsqlite.so ../../lib/roken/.libs/libroken.so -lcrypt /usr/local/lib/libldap.so /usr/local/lib/libsasl2.so -lssl -lcrypto /usr/local/lib/liblber.so -ldb -O2 -O2 -march=prescott -mtune=prescott -Wl,--version-script -Wl,./version-script.map -pthread -pthread -Wl,-soname -Wl,libhdb.so.11 -o .libs/libhdb.so.11 .libs/db3.o: In function `hdb_db_create': db3.c:(.text+0x3a): multiple definition of `hdb_db_create' .libs/db.o:db.c:(.text+0x15): first defined here *** Error code 1 ------------------------ There was a change to /usr/ports/security/heimda/files with the addition of patch patch-cf__db.m4, which I removed during one build attempt with db41. This generated many more error messages ------------------------ libtool: compile: cc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include -I../../lib/roken -I../../lib/roken -I../asn1 -I./../asn1 -I/usr/local/include -DHDB_DB_DIR=\"/var/db/heimdal\" -I./../krb5 -I../../lib/sqlite -I/usr/local/include -I/usr/local/include/db41 -D_LARGE_FILES= -Wall -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wmissing-declarations -Wnested-externs -O2 -pipe -pipe -O2 -g0 -ggdb0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -I/usr/local/include/db41 -DLDAP_DEPRECATED -fno-strict-aliasing -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c -fPIC -DPIC -o .libs/db.o db.c: In function 'DB_close': db.c:48: error: too few arguments to function 'd->close' db.c: In function 'DB_lock': db.c:67: error: too few arguments to function 'd->fd' db.c: In function 'DB_unlock': db.c:80: error: too few arguments to function 'd->fd' db.c: In function 'DB_seq': db.c:104: error: 'DB' has no member named 'seq' ... ------------------------ Unfortunately this confirms that the heimdal 1.5.2 port doesn't build with bdb. I'll advise later in the week, the result of my preferred build of heimdal over ldap (over bdb5). For completeness, FreeBSD9-Stable was updated yesterday (May 14) and the ports tree was also updated and built on a virgin machine today (May 15). Regards, Dewayne.