control: tags -1 patch pending On Sat, 3 Feb 2018 22:16:44 +0100 Helmut Grohne <hel...@subdivi.de> wrote: > 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. >
this, and a ppc64el build-fix have been uploaded in deferred/2 debdiff attached G. > 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,16 @@ +gnu-smalltalk (3.2.5-1.2) unstable; urgency=medium + + [ Helmut Grohne ] + * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: + #889503) + + [ Gianfranco Costamagna ] + * Non-maintainer upload. + * Fixup ppc64el build failure + * Patch refresh + + -- Gianfranco Costamagna <locutusofb...@debian.org> Tue, 06 Nov 2018 17:39:51 +0100 + gnu-smalltalk (3.2.5-1.1) unstable; urgency=medium * Non-maintainer upload. diff -u gnu-smalltalk-3.2.5/debian/patches/01_rename_to_gnu_smalltalk.diff gnu-smalltalk-3.2.5/debian/patches/01_rename_to_gnu_smalltalk.diff --- gnu-smalltalk-3.2.5/debian/patches/01_rename_to_gnu_smalltalk.diff +++ gnu-smalltalk-3.2.5/debian/patches/01_rename_to_gnu_smalltalk.diff @@ -1,9 +1,9 @@ Rename `smalltalk' package to `gnu-smalltalk'. --- smalltalk-3.2.orig/Makefile.am +++ smalltalk-3.2/Makefile.am -@@ -19,7 +19,7 @@ - AUTOMAKE_OPTIONS = gnu 1.8 +@@ -20,7 +20,7 @@ ACLOCAL_AMFLAGS = -I build-aux + DISTCHECK_CONFIGURE_FLAGS=--without-system-libltdl --without-system-libsigsegv --without-system-libffi -PACKAGE=smalltalk +PACKAGE=gnu-smalltalk diff -u gnu-smalltalk-3.2.5/debian/patches/series gnu-smalltalk-3.2.5/debian/patches/series --- gnu-smalltalk-3.2.5/debian/patches/series +++ gnu-smalltalk-3.2.5/debian/patches/series @@ -7,0 +8 @@ +ppc64el-fixup.patch 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 \ only in patch2: unchanged: --- gnu-smalltalk-3.2.5.orig/debian/patches/ppc64el-fixup.patch +++ gnu-smalltalk-3.2.5/debian/patches/ppc64el-fixup.patch @@ -0,0 +1,15 @@ +Description: parts of the program are using 64 bit doubles, and others are using 128 bit doubles on ppc64el. + The linker fails to merge the sections together, so lets unify them all. + +Author: Gianfranco Costamagna <locutusofb...@debian.org> +--- gnu-smalltalk-3.2.5.orig/snprintfv/configure.ac ++++ gnu-smalltalk-3.2.5/snprintfv/configure.ac +@@ -32,6 +32,8 @@ AC_CONFIG_HEADERS(config.h) + AC_CONFIG_AUX_DIR(../build-aux) + AC_CONFIG_MACRO_DIR(../build-aux) + ++GST_C_LONG_DOUBLE ++ + AC_ARG_ENABLE(subdir, + [ --enable-subdir used in a package, texinfo+testsuite stripped], , + [enable_subdir=no])