Source: atomix
Version: 3.22.0-2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

atomix fails to cross build from source, because it configures for the
build architecture. It actually configures twice. Once through
autogen.sh and another time through dh_auto_configure. The first
configure lacks any options and thus is for the build architecture.
After disabling the first configuration, atomix cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru atomix-3.22.0/debian/changelog 
atomix-3.22.0/debian/changelog
--- atomix-3.22.0/debian/changelog      2017-11-17 15:28:42.000000000 +0100
+++ atomix-3.22.0/debian/changelog      2018-06-10 21:10:24.000000000 +0200
@@ -1,3 +1,10 @@
+atomix (3.22.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Configure only once through dh_auto_configure. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 10 Jun 2018 21:10:24 +0200
+
 atomix (3.22.0-2) unstable; urgency=medium
 
   * Declare compliance with Debian Policy 4.1.1.
diff --minimal -Nru atomix-3.22.0/debian/rules atomix-3.22.0/debian/rules
--- atomix-3.22.0/debian/rules  2017-11-17 15:28:42.000000000 +0100
+++ atomix-3.22.0/debian/rules  2018-06-10 21:10:22.000000000 +0200
@@ -6,7 +6,7 @@
        dh $@
 
 override_dh_auto_configure:
-       ./autogen.sh
+       NOCONFIGURE=1 ./autogen.sh
        dh_auto_configure -- \
        --prefix=/usr \
        --bindir=\$${prefix}/games \

Reply via email to