From owner-svn-ports-head@FreeBSD.ORG Fri Aug 15 22:21:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 86C3D851 for ; Fri, 15 Aug 2014 22:21:26 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45EF9247D for ; Fri, 15 Aug 2014 22:21:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s7FMLPh4065887 for ; Fri, 15 Aug 2014 22:21:25 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s7FMLPg2065879 for svn-ports-head@freebsd.org; Fri, 15 Aug 2014 22:21:25 GMT (envelope-from bdrewery) Received: (qmail 72348 invoked from network); 15 Aug 2014 17:21:24 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 15 Aug 2014 17:21:24 -0500 Message-ID: <53EE87D9.5010206@FreeBSD.org> Date: Fri, 15 Aug 2014 17:21:13 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Tijl Coosemans , Vsevolod Stakhov Subject: Re: svn commit: r364287 - head/ports-mgmt/pkg-devel References: <53e39939.55bc.4ca5432c@svn.freebsd.org> <20140807172841.58633e63@kalimero.tijl.coosemans.org> <53E3A468.5050603@FreeBSD.org> <53E3AC0C.5020904@gmx.de> <53E3AD09.2050000@FreeBSD.org> <53E3B3B5.9000104@gmx.de> <53E3B6D8.9080101@FreeBSD.org> <53EE81CC.2080406@FreeBSD.org> <20140816001210.03d6312e@kalimero.tijl.coosemans.org> In-Reply-To: <20140816001210.03d6312e@kalimero.tijl.coosemans.org> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IDaIc2OsQnVH7kJO6IinG08T1kfMSOmV8" Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Matthias Andree , baptiste Daroussin , ports-committers@freebsd.org X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Aug 2014 22:21:26 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IDaIc2OsQnVH7kJO6IinG08T1kfMSOmV8 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/15/2014 5:12 PM, Tijl Coosemans wrote: > On Fri, 15 Aug 2014 16:55:24 -0500 Bryan Drewery wrote: >>> DBG(2)[4460]> require rule: (i386-wine-devel~emulators/i386-wine-deve= l(r) | i386-wine~emulators/i386-wine(r) | !libxslt~textproc/libxslt(r)) >>> DBG(2)[5420]> libxml2.so.2 rule: (i386-wine-devel~emulators/i386-wine= -devel(r) | i386-wine~emulators/i386-wine(r) | !libxslt~textproc/libxslt(= r)) >>> DBG(3)[5420]> added shlib provide libxml2.so.2.9.1 for textproc/libxm= l2 >>> DBG(3)[5420]> added shlib deps for textproc/libxml2 on libxml2.so.2 >> >> Reinstalling textproc/libxml2 shows it is providing libxml2.so.2: >> >> # pkg query %b libxml2 >> libxml2.so.2 >> # readelf -d /usr/local/lib/libxml2.so.2.9.1|grep SONAME >> 0x000000000000000e (SONAME) Library soname: [libxml2.so.2= ] >> >> I'm not sure where libxml2.so.2.9.1 came from in your test but I canno= t >> recreate it now. >> >> Running readelf -d against /usr/local/lib/*.so on my system shows all >> (except boost) have the simpler .so.X SONAMEs rather than .so.X.Y.Z. >> >> @tijl: Did something with SONAME change recently? >=20 > No. I think older versions of pkg simply used the file name instead of= > the SONAME field for provided libraries. On my systems I still have an= > old libxml2 package installed which gives this: >=20 > % pkg query %B -x libxml2 > libxml2.so.2 > % pkg query %b -x libxml2 > libxml2.so.2.9.1 >=20 Aha! commit c986a3c3f180316d1bc52d085de708710ff789db Author: Vsevolod Stakhov Date: Thu May 1 17:46:38 2014 +0100 If a library has SONAME use it for provides. It was fixed only recently. That is fine. We'll auto detect systems that need to reanalyse libs and require users run 'pkg check -Ba' to resolve it. Then this discrepancy goes away. --=20 Regards, Bryan Drewery --IDaIc2OsQnVH7kJO6IinG08T1kfMSOmV8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJT7ofZAAoJEDXXcbtuRpfPDeoIAN4tTMoBl79Vu9Qsu+gzAsfj z3snUUX1Tee+PD2YDUvno+jNKQyvK5rp3nDaFaG4H8+9hqpj0TJbASaa4eUA+OqY ORjTMLdn1FhRtJll7jzTlfhhOpMWd2MDuYeBauFEivAEJSN0F/lMSt4w49QcIb8S Em1AH0ndNYvrlSy0+TQlWUMrjsq29wp69/GxdB7vg+a+2vrQK7a8Mi3w5x3bKQaJ jMomZ3xvOhtT0MP4tHwSVr3AyLF3FPyWURLtEtOS+e9Gw1yxHhretbltPOfaVqfd woKeVV7ffSGDEJSks8pb5SgKC420VSqrsFhlc/v6KyL1bxli1MF2qqeKg0aJVX8= =juGx -----END PGP SIGNATURE----- --IDaIc2OsQnVH7kJO6IinG08T1kfMSOmV8--