From owner-freebsd-ports@FreeBSD.ORG Sat Jun 5 14:13:34 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 76E7116A4CE for ; Sat, 5 Jun 2004 14:13:34 -0700 (PDT) Received: from meitner.wh.uni-dortmund.de (meitner.wh.Uni-Dortmund.DE [129.217.129.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id F137E43D58 for ; Sat, 5 Jun 2004 14:13:33 -0700 (PDT) (envelope-from michaelnottebrock@gmx.net) Received: from lofi.dyndns.org (pc2-105.intern.meitner [10.3.12.105]) by meitner.wh.uni-dortmund.de (Postfix) with ESMTP id 13AC2167589; Sat, 5 Jun 2004 23:13:33 +0200 (CEST) Received: from [192.168.8.4] (lofi@kiste.my.domain [192.168.8.4]) (authenticated bits=0) by lofi.dyndns.org (8.12.10/8.12.10) with ESMTP id i55LDSrY023547 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 5 Jun 2004 23:13:29 +0200 (CEST) (envelope-from michaelnottebrock@gmx.net) From: Michael Nottebrock To: freebsd-ports@freebsd.org Date: Sat, 5 Jun 2004 23:13:24 +0200 User-Agent: KMail/1.6.2 References: <1086462964.42167.5.camel@server.mcneil.com> In-Reply-To: <1086462964.42167.5.camel@server.mcneil.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_4djwAtSatBiPgUd"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200406052313.28195.michaelnottebrock@gmx.net> X-Virus-Scanned: by amavisd-new cc: matthias.andree@gmx.de cc: Sean McNeil Subject: Re: post-patch blues with db3, db4, db41 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2004 21:13:34 -0000 --Boundary-02=_4djwAtSatBiPgUd Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 05 June 2004 21:16, Sean McNeil wrote: > Hi, > > There are post-patch targets for these ports that are causing issues > with the libraries built. The target: > > post-patch: > @${REINPLACE_CMD} -Ee \ > 's|-l?pthread|${PTHREAD_LIBS}|g' > ${WRKSRC}/${CONFIGURE_SCRIPT} > > causes the library to be linked with libpthread.so. This is a > dependency that we do not want. It will in turn cause issues with > nss_ldap and db doesn't use any threading. It is thread safe, but that > doesn't mean it should be linked with pthread. db links to a threads lib by default all by itself, the REINPLACE simply ma= kes=20 sure it's linked to the right lib. > > I took out that target from my build of db41 and all is well for me. > With it in, nss_ldap ends up causing all sorts of bad things to happen > because it uses db41 (via openldap and sasl) and it in turn pulls in > pthread when it shouldn't. It would seem nss_ldap needs to be fixed to be threads safe. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --Boundary-02=_4djwAtSatBiPgUd Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAwjd3Xhc68WspdLARAj1uAJ90ajlCCarF9AYtcGmgzPMGjGUQywCgpzVZ Tp/dsWgYs+LLnZAW8ZKqM2E= =HVBe -----END PGP SIGNATURE----- --Boundary-02=_4djwAtSatBiPgUd--