Source: gnu-smalltalk
Version: 3.2.5-1.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

gnu-smalltalk fails to cross build from source, because it fails to pass
--host to ./configure. Thus it fails finding libffi, which is only
requested for the host architecture by Build-Depends. After letting
dh_auto_configure pass the missing flag, the build proceeds until it
tries (and fails) to run ./gst. I have no clue how to fix that and thus
the attached patch only fixes the first issue. Please consider applying
the attached patch and closing this bug when doing so.

Helmut
diff -u gnu-smalltalk-3.2.5/debian/changelog 
gnu-smalltalk-3.2.5/debian/changelog
--- gnu-smalltalk-3.2.5/debian/changelog
+++ gnu-smalltalk-3.2.5/debian/changelog
@@ -1,3 +1,11 @@
+gnu-smalltalk (3.2.5-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes:
+    #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 03 Feb 2018 22:09:49 +0100
+
 gnu-smalltalk (3.2.5-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u gnu-smalltalk-3.2.5/debian/rules gnu-smalltalk-3.2.5/debian/rules
--- gnu-smalltalk-3.2.5/debian/rules
+++ gnu-smalltalk-3.2.5/debian/rules
@@ -20,7 +20,7 @@
        cp -f /usr/share/misc/config.sub build-aux/config.sub
        cp -f /usr/share/misc/config.guess build-aux/config.guess
        # Commands to configure the package.
-       ./configure --prefix=/usr --libexecdir='$${prefix}/lib' \
+       dh_auto_configure -- --libexecdir='$${prefix}/lib' \
                     --with-imagedir=/usr/lib/gnu-smalltalk \
                    --enable-gtk=yes \
                    --with-lispstartdir \

Reply via email to