Bug#850933: nasm FTCBFS: does not pass --host to ./configure

2017-10-14 Thread Helmut Grohne
On Fri, Oct 13, 2017 at 12:03:10AM +0200, Manuel A. Fernandez Montecelo wrote:
> This is a worthy patch in its own right, but I think that this has been
> superceded by the change to use mostly "modern" packaging and
> minimalistic debian/rules with dh (so it's actually fixed in
> nasm/2.13.01-2 if I am not mistaken).
> 
> Can you please confirm or dispell?

I'm sorry, I cannot check. nasm now Build-Depends on libfont-ttf-perl
and that dependency is unsatisfiable due to the multiarch interpreter
problem. Any clue what nasm needs this for? The changelog only says that
it needs it, but not why.

Helmut



Bug#850933: nasm FTCBFS: does not pass --host to ./configure

2017-10-12 Thread Manuel A. Fernandez Montecelo

Hello maintainer(s),

2017-01-11 11:51 Helmut Grohne:

Source: nasm
Version: 2.12.01-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

nasm fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of doing so is letting dh_auto_configure
handle it. After doing so, nasm cross builds successfully. Please apply
the attached patch.


This is a worthy patch in its own right, but I think that this has been
superceded by the change to use mostly "modern" packaging and
minimalistic debian/rules with dh (so it's actually fixed in
nasm/2.13.01-2 if I am not mistaken).

Can you please confirm or dispell?


Cheers.
--
Manuel A. Fernandez Montecelo 



Bug#850933: nasm FTCBFS: does not pass --host to ./configure

2017-01-11 Thread Helmut Grohne
Source: nasm
Version: 2.12.01-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

nasm fails to cross build from source, because it does not pass --host
to ./configure. The easiest way of doing so is letting dh_auto_configure
handle it. After doing so, nasm cross builds successfully. Please apply
the attached patch.

Helmut
diff --minimal -Nru nasm-2.12.01/debian/changelog nasm-2.12.01/debian/changelog
--- nasm-2.12.01/debian/changelog   2016-04-25 20:38:28.0 +0200
+++ nasm-2.12.01/debian/changelog   2017-01-11 11:49:05.0 +0100
@@ -1,3 +1,10 @@
+nasm (2.12.01-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to configure (Closes: #-1)
+
+ -- Helmut Grohne   Wed, 11 Jan 2017 11:49:05 +0100
+
 nasm (2.12.01-1) unstable; urgency=low
 
   * New upstream version 2.12.01
diff --minimal -Nru nasm-2.12.01/debian/rules nasm-2.12.01/debian/rules
--- nasm-2.12.01/debian/rules   2014-09-09 05:47:37.0 +0200
+++ nasm-2.12.01/debian/rules   2017-01-11 11:49:03.0 +0100
@@ -27,7 +27,7 @@
 build-indep: build-stamp
 build-stamp:
dh_testdir
-   ./configure --prefix=/usr --mandir=/usr/share/man
+   dh_auto_configure
$(MAKE) all doc
> $@