[Pkg-gnu-smalltalk-devel] Bug#889503: gnu-smalltalk FTCBFS: configures for the build architecture
Helmut Grohne
helmut at subdivi.de
Sat Feb 3 21:16:44 UTC 2018
Source: gnu-smalltalk
Version: 3.2.5-1.1
Tags: patch
User: helmutg at 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
-------------- next part --------------
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 <helmut at 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 \
More information about the Pkg-gnu-smalltalk-devel
mailing list