svn commit: r364287 - head/ports-mgmt/pkg-devel
Bryan Drewery
bdrewery at FreeBSD.org
Fri Aug 15 22:21:26 UTC 2014
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-devel(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/libxml2
>>> 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 cannot
>> 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?
>
> 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:
>
> % pkg query %B -x libxml2
> libxml2.so.2
> % pkg query %b -x libxml2
> libxml2.so.2.9.1
>
Aha!
commit c986a3c3f180316d1bc52d085de708710ff789db
Author: Vsevolod Stakhov <vsevolod at 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.
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140815/5d96f939/attachment.sig>
More information about the svn-ports-head
mailing list