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

Bug#923107: regexxer FTCBFS: configures twice, once for the build architecture



Source: regexxer
Version: 0.10-4
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

regexxer fails to cross build from source, because it configures for the
build architecture. It actually configures twice. Once for the build
architecture during ./autogen.sh and then correctly through
dh_auto_configure. Skipping the first configuration makes cross building
work as well as speeding up the build. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru regexxer-0.10/debian/changelog regexxer-0.10/debian/changelog
--- regexxer-0.10/debian/changelog	2018-10-13 18:51:31.000000000 +0200
+++ regexxer-0.10/debian/changelog	2019-02-24 09:55:54.000000000 +0100
@@ -1,3 +1,9 @@
+regexxer (0.10-5) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Don't configure twice. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 24 Feb 2019 09:55:54 +0100
+
 regexxer (0.10-4) unstable; urgency=medium
 
   * QA upload.
diff --minimal -Nru regexxer-0.10/debian/rules regexxer-0.10/debian/rules
--- regexxer-0.10/debian/rules	2018-10-13 17:54:25.000000000 +0200
+++ regexxer-0.10/debian/rules	2019-02-24 09:55:53.000000000 +0100
@@ -7,4 +7,4 @@
 	dh $@
 
 override_dh_autoreconf:
-	dh_autoreconf ./autogen.sh
+	NOCONFIGURE=1 dh_autoreconf ./autogen.sh

Reply to: