From owner-freebsd-ports@FreeBSD.ORG Mon Oct 29 21:47:29 2007 Return-Path: Delivered-To: freebsd-ports@FreeBSD.Org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9012616A46D; Mon, 29 Oct 2007 21:47:29 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from pd3mo2so.prod.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 191B313C4AA; Mon, 29 Oct 2007 21:47:27 +0000 (UTC) (envelope-from Cy.Schubert@komquats.com) Received: from pd2mr4so.prod.shaw.ca (pd2mr4so-qfe3.prod.shaw.ca [10.0.141.107]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JQO00IN2XL1IQG0@l-daemon>; Mon, 29 Oct 2007 14:43:49 -0600 (MDT) Received: from pn2ml6so.prod.shaw.ca ([10.0.121.150]) by pd2mr4so.prod.shaw.ca (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0JQO006XNXKXBL00@pd2mr4so.prod.shaw.ca>; Mon, 29 Oct 2007 14:43:47 -0600 (MDT) Received: from spqr.komquats.com ([24.68.216.215]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0JQO002NAXKWLDC0@l-daemon>; Mon, 29 Oct 2007 14:43:45 -0600 (MDT) Received: from cwsys.cwsent.com (cwsys [10.1.1.1]) by spqr.komquats.com (Postfix) with ESMTP id B2432279AF; Mon, 29 Oct 2007 12:43:44 -0800 (PST) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.14.1/8.14.1) with ESMTP id l9TKhhEK052318; Mon, 29 Oct 2007 12:43:43 -0800 X-URL: http://www.komquats.com/ Date: Mon, 29 Oct 2007 13:43:43 -0700 From: Cy Schubert In-reply-to: Message from Cy Schubert "of Mon, 29 Oct 2007 10:09:33 PDT." <200710291709.l9TH9XjO067061@cwsys.cwsent.com> Sender: Cy.Schubert@komquats.com X-Sender: cy@cwsent.com To: Cy Schubert Message-id: <200710292043.l9TKhhEK052318@cwsys.cwsent.com> MIME-version: 1.0 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 Content-type: text/plain; charset=us-ascii X-os: FreeBSD Cc: John Marshall , "freebsd-ports@freebsd.org" , "cy@freebsd.org" Subject: Re: krb5 1.6.3 build "ldl" error on 7.0-BETA1/i386 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2007 21:47:29 -0000 In message <200710291709.l9TH9XjO067061@cwsys.cwsent.com>, Cy Schubert writes: > In message <47259A8D.7070305@riverwillow.com.au>, John Marshall writes: > > John Marshall wrote: > > > I don't understand what this is doing, so I can't provide any diagnosis. > > > Sorry. > > > > > > After hitting this error this morning, I updated the other out-of-date > > > ports on this system, and then attempted krb5 again. Same error. > > > > > > The previous revision of this port (krb5-1.6.2_1) built without any > > > error on this system after the 7.0-BETA1 upgrade and has been running > > > fine for over a week. > > > > > > rwsrv05# uname -vm > > > FreeBSD 7.0-BETA1 #0: Sat Oct 20 10:13:47 AEST 2007 > > > root@rwsrv05.mby.riverwillow.net.au:/spare/obj/usr/src/sys/RWSRV05 i386 > > > > > > rwsrv05# pkg_version -Iv | grep -v '=' > > > krb5-1.6.2_1 < needs updating (index has 1.6.3_1) > > > > > > rwsrv05# portmaster -D krb5-1.6.2_1 > > > ... > > > ... > > > rm -f pkinit.so > > > building dynamic pkinit object > > > set -x; objlist=`set -x && perl -p -e 'BEGIN { $SIG{__WARN__} = sub {die > > > @_} }; > > > $e=$ARGV; $e =~ s/OBJS\...$//; s/^/ /; s/ $//; s/ / $e/g;' OBJS.SH` && > > > libtool - > > > -mode=link cc -shared -o pkinit.so $objlist -R/usr/local/lib > > > -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl -lkrb5support -lcrypto > > > -lcrypto > > > + set -x > > > + perl -p -e BEGIN { $SIG{__WARN__} = sub {die @_} }; $e=$ARGV; $e =~ > > > s/OBJS\... > > > $//; s/^/ /; s/ $//; s/ / $e/g; OBJS.SH > > > + objlist= pkinit_accessor.so pkinit_srv.so pkinit_lib.so pkinit_clnt.so > > > pkinit_profile.so pkinit_identity.so pkinit_matching.so > > > pkinit_crypto_openssl.so > > > + libtool --mode=link cc -shared -o pkinit.so pkinit_accessor.so > > > pkinit_srv.so pkinit_lib.so pkinit_clnt.so pkinit_profile.so > > > pkinit_identity.so pkinit_matching.so pkinit_crypto_openssl.so > > > -R/usr/local/lib -L../../../lib -lkrb5 -lcom_err -lk5crypto -ldl > > > -lkrb5support -lcrypto -lcrypto > > > mkdir .libs > > > cc -shared -o pkinit.so pkinit_accessor.so pkinit_srv.so pkinit_lib.so > > > pkinit_clnt.so pkinit_profile.so pkinit_identity.so pkinit_matching.so > > > pkinit_crypto_openssl.so > > > -L/usr/ports/security/krb5/work/krb5-1.6.3/src/lib -lkrb5 -lcom_err > > > -lk5crypto -ldl -lkrb5support -lcrypto -Wl,--rpath -Wl,/usr/local/lib > > > /usr/bin/ld: cannot find -ldl > > > gmake[1]: *** [pkinit.so] Error 1 > > > gmake[1]: Leaving directory > > > `/usr/ports/security/krb5/work/krb5-1.6.3/src/plugin > > > s/preauth/pkinit' > > > gmake: *** [all-recurse] Error 1 > > > *** Error code 2 > > > > > > Stop in /usr/ports/security/krb5. > > > > > > ===>>> make failed for security/krb5 > > > ===>>> Aborting update > > > > > > Thank you for maintaining this port. I use it for Samba in a Windows > > > 2003 Active Directory environment. > > > > > > > I just updated krb5 to 1.6.3 on two 6.2-RELEASE/i386 systems without any > > error. > > > > I don't have a second 7.0-BETA1 system to use for comparison. > > > > This is not ports-mgmt tools related because I see the error even with a > > manual "make" in the security/krb5 directory. > > I'll check it out on my testbed system, which is currently booted to > 6.2-STABLE on another problem. Looks like under 6.2 a number of directories are skipped and are assumed to be missing by the build process. This is why it fails under 7.0. I will need to address the 6.2 issue first then address the libdl problem, which will become a problem under 6.2 once I fix the "missing directories" problem. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org e**(i*pi)+1=0