Source: wp2latex
Version: 3.92-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

wp2latex fails to cross build from source, because it configures for the
build architecture as it fails to pass --host to ./configure. Just
dropping the dh_auto_configure override fixes this part. It seems to
have been present since the beginning of the git history, but it builds
fine without now. Once fixed, it fails running the built cpbldr. This is
not straight forward to fix, but fixing the missing --host parameter
makes the latter problem more visible. So please consider applying the
attached patch as an incremental improvement and close this bug when
doing so.

Helmut
diff --minimal -Nru wp2latex-3.92/debian/changelog 
wp2latex-3.92/debian/changelog
--- wp2latex-3.92/debian/changelog      2020-10-15 23:09:01.000000000 +0200
+++ wp2latex-3.92/debian/changelog      2020-10-19 05:21:20.000000000 +0200
@@ -1,3 +1,10 @@
+wp2latex (3.92-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Drop unused dh_auto_configure override. (Closes: 
#-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 19 Oct 2020 05:21:20 +0200
+
 wp2latex (3.92-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru wp2latex-3.92/debian/rules wp2latex-3.92/debian/rules
--- wp2latex-3.92/debian/rules  2020-04-19 23:38:12.000000000 +0200
+++ wp2latex-3.92/debian/rules  2020-10-19 05:21:20.000000000 +0200
@@ -14,9 +14,5 @@
 %:
        dh $@ --no-parallel
 
-# override targets
-override_dh_auto_configure:
-       ./configure --prefix=/usr
-
 override_dh_auto_install:
        dh_install

Reply via email to