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

Bug#506907: dpkg-cross: Bad dependency_libs in .la for libsndfile1-dev



Package: dpkg-cross
notfound 506907 2.3.3
tag 506907 + unreproducible
thanks

On Tue, 25 Nov 2008 23:41:10 +0300
Dmitry Kurochkin <dmitry.kurochkin@gmail.com> wrote:

> dependency_libs in libsndfile.la file from libsndfile1-dev package is
> not converted properly. Original package has:
> 
> dependency_libs=' /usr/lib/libFLAC.la -L/usr/lib /usr/lib/libogg.la
> -lm'
> 
> And converted:
> 
> dependency_libs=' /usr/lib/libFLAC.la /usr/lib/libogg.la -lm'

AFAICT, that is correct behaviour. -L/usr/lib/ needs to be dropped so
that -L/usr/$arch-triplet/lib/ can be used instead (via the prefix).
Dropping -L/usr/lib is exactly what dpkg-cross does need to do when
converting the .la files for all libraries. Please explain why you
think this is incorrect for libsndfile1-dev.

e.g. from another library (line endings added for clarity):
dependency_libs=' /usr/lib/libgda-2.la -L/usr/lib 
/usr/lib/libgdasql.la /usr/lib/libgobject-2.0.la /usr/lib/libgthread-2.0.la
-lpthread /usr/lib/libgmodule-2.0.la /usr/lib/libxslt.la /usr/lib/libxslt.la
/usr/lib/libxml2.la /usr/lib/libxml2.la /usr/lib/libgmodule-2.0.la
-ldl /usr/lib/libgobject-2.0.la /usr/lib/libglib-2.0.la /usr/lib/libglib-2.0.la
-lrt -lm'

dependency_libs=' /usr/lib/libgda-2.la 
/usr/lib/libgdasql.la /usr/lib/libgobject-2.0.la /usr/lib/libgthread-2.0.la
-lpthread /usr/lib/libgmodule-2.0.la /usr/lib/libxslt.la /usr/lib/libxslt.la
/usr/lib/libxml2.la /usr/lib/libxml2.la /usr/lib/libgmodule-2.0.la
-ldl /usr/lib/libgobject-2.0.la /usr/lib/libglib-2.0.la /usr/lib/libglib-2.0.la
-lrt -lm'

Unless you can describe why this is wrong for this library, I will
close this bug.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp3O6_4p0oIF.pgp
Description: PGP signature


Reply to: