Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 17:21:13 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Tijl Coosemans <tijl@FreeBSD.org>, Vsevolod Stakhov <vsevolod@FreeBSD.org>
Cc:        svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, Matthias Andree <matthias.andree@gmx.de>, baptiste Daroussin <bapt@freebsd.org>, ports-committers@freebsd.org
Subject:   Re: svn commit: r364287 - head/ports-mgmt/pkg-devel
Message-ID:  <53EE87D9.5010206@FreeBSD.org>
In-Reply-To: <20140816001210.03d6312e@kalimero.tijl.coosemans.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <vsevolod@highsecure.ru>
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EE87D9.5010206>