On 25/11/16 06:02, Helmut Grohne wrote:
On Thu, Nov 24, 2016 at 09:32:33PM +0100, Miquel van Smoorenburg wrote:
In liblockfile 1.10-1, I've rewritten debian/rules to use debhelper. Does
that fix the bug?

Partially. You replaced the install -s invocation with dh_strip and the
dh_strip knows how cross works, but the ./configure invocation is left
unchanged and thus still configures for the build architecture. Often
enough indirecting "./configure" via "dh_auto_configure --" solves this,
but liblockfile uses very old autotools that may necessitate setting CC
explicitly.

I ran 'autoconf' to generate a new 'configure', that hadn't been done this millenium yet, so it was about time :)

I stripped down debian/rules to just override_dh_auto_configure like you proposed, and an override for fixperms. That seems to do the trick; without explicitly setting the architecture the library files end up in /usr/lib/x86_64-linux-gnu now.

I'm going to work on fixing the other bugs that are still open, then I'll release 1.11.

Thanks for the help so far!

Mike.

Reply via email to