[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: libgeier (updated package)



Andreas Moog <amoog@ubuntu.com> writes:

> On 07/11/2011 08:17 PM, Olaf Dietsche wrote:
>
>>> I didn't look into your package, but still having an empty
>>> dependency_libs entry is important for multiarch support. According to
>>> http://release.debian.org/~aba/la/current.txt (which is linked from
>>> http://lists.debian.org/debian-devel/2011/05/msg01003.html) xmlsec1 is
>>> OK, so you should really clean this entry in your libgeier.la.
>> 
>> I don't understand this either.
>> 
>> If xmlsec1 is ok and libtool copies these dependencies into libgeier.la,
>> why is it an error for libgeier to include this information, but not for
>> xmlsec1? 
>
> If you look at libxmlsec1-dev you will notice that the dependencies_libs
> entry is empty, as it should be.

$ dpkg -l 'libxmlsec1*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name              Version           Description
+++-=================-=================-==================================================
ii  libxmlsec1        1.2.14-1+squeeze1 XML security library
ii  libxmlsec1-dev    1.2.14-1+squeeze1 Development files for the XML security library
ii  libxmlsec1-gnutls 1.2.14-1+squeeze1 Gnutls engine for the XML security library
ii  libxmlsec1-nss    1.2.14-1+squeeze1 Nss engine for the XML security library
ii  libxmlsec1-openss 1.2.14-1+squeeze1 Openssl engine for the XML security library

$ grep dependency_libs= /usr/lib/libxmlsec1*.la
/usr/lib/libxmlsec1-gnutls.la:dependency_libs=' /usr/lib/libxmlsec1.la /usr/lib/libgnutls.la /usr/lib/libxslt.la -lm /usr/lib/libxml2.la'
/usr/lib/libxmlsec1.la:dependency_libs=' /usr/lib/libxslt.la -lm /usr/lib/libxml2.la'
/usr/lib/libxmlsec1-nss.la:dependency_libs=' /usr/lib/libxmlsec1.la -lnss3 -lnssutil3 -lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl /usr/lib/libxslt.la -lm /usr/lib/libxml2.la'
/usr/lib/libxmlsec1-openssl.la:dependency_libs=' /usr/lib/libxmlsec1.la -lssl -lcrypto /usr/lib/libxslt.la -lm /usr/lib/libxml2.la'

>> If this is a bug for libgeier, libtool shouldn't copy these
>> dependencies in the first place.
>> 
>> And if an empty dependency_libs entry is important for multiarch
>> support, why is it important for libgeier, but not for xmlsec1?
>
> It's important for ALL packages to either ship no la-file at all (if no
> other package references it) OR to have at least an empty
> dependencies_libs entry in the la-file. libxmlsec1-dev's la-file is
> empty, libgeier's isn't.

If libxmlsec1-dev's were empty, we wouldn't discuss this matter for
libgeier.

Regards, Olaf


Reply to: