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

Bug#484277: remaining issues



On Mon, 29 Jun 2009 21:29:01 +0100
Neil Williams <codehelp@debian.org> wrote:

> Currently testing adding this kind of variable into the dpkg-cross
> config files:
> 
> # override libtool until #367115 is fixed
> hostarch=`dpkg-architecture -qDEB_HOST_GNU_TYPE`
> lt_cv_sys_lib_dlsearch_path_spec="/usr/$hostarch/lib /lib /usr/lib /usr/local/lib"


Sadly, for this to work, some older packages need to have the autotools
and libtoolize refreshed. This means cleaning a range of files:

missing config.guess config.sub ltmain.sh install-sh depcomp

and then running 'autoreconf -ifs' at an appropriately early stage in
debian/rules.

With a refreshed autotools setup, the dpkg-cross addition is correctly
picked up and the rpath is not set.

e.g. for a CDBS package:

+
+clean::
+       $(RM) missing config.guess config.sub ltmain.sh install-sh depcomp
+
+makebuilddir::
+       autoreconf -ifs
+

It is not possible to embed these rules into emdebuild because
dpkg-buildpackage will complain if the relevant files are not in the
clean rule.

Running autoreconf is not without side-effects and some packages will
refuse to build properly if it is run from debian/rules.

The real fix remains #367115

Testing continues.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/

Attachment: pgpV0YMDABQoy.pgp
Description: PGP signature


Reply to: