Your message dated Mon, 15 Feb 2016 00:55:27 +0100
with message-id <[email protected]>
and subject line somehow it builds ok
has caused the Debian Bug report #702350,
regarding libg15: FTBFS on x32: Needs libtool update
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
702350: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702350
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libg15
Version: 1.2.7-2
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: port-x32 ftbfs-libtool

The libg15 source package is getting this build failure on the unofficial Debian
x32 port:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=libg15&arch=x32&ver=1.2.7-2&stamp=1361155725>:
...
/bin/bash ./libtool --tag=CC   --mode=link gcc  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -version-info 
1:0:0 -Wl,-z,relro -o libg15.la -rpath /usr/lib libg15.lo  -lusb 
./libtool: line 4467: test: : integer expression expected
./libtool: line 4467: test: : integer expression expected
creating reloadable object files...
creating a temporary reloadable object file: .libs/libg15.la-1.o
/usr/bin/ld -m elf_i386 -r -o .libs/libg15.la-1.o .libs/libg15.o 
/usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 
(.libs/libg15.o) to format elf32-i386 (.libs/libg15.la-1.o) is not supported
make[2]: *** [libg15.la] Error 1
make[2]: Leaving directory 
`/build/buildd-libg15_1.2.7-2-x32-zto4zq/libg15-1.2.7'
make[1]: *** [all] Error 2
make: make[1]: Leaving directory 
`/build/buildd-libg15_1.2.7-2-x32-zto4zq/libg15-1.2.7'
*** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

The fix is to update libtool using the current sid package (>= 2.4.2-1.2).
The attached debdiff does this at build time using dh-autoreconf.
-- 
Daniel Schepler
diff -u libg15-1.2.7/debian/control libg15-1.2.7/debian/control
--- libg15-1.2.7/debian/control
+++ libg15-1.2.7/debian/control
@@ -2,7 +2,7 @@
 Section: libs
 Priority: optional
 Maintainer: Giacomo Catenazzi <[email protected]>
-Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libusb-dev
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, dh-autoreconf, libusb-dev
 Standards-Version: 3.8.3
 Homepage: http://www.g15tools.com/
 
diff -u libg15-1.2.7/debian/changelog libg15-1.2.7/debian/changelog
--- libg15-1.2.7/debian/changelog
+++ libg15-1.2.7/debian/changelog
@@ -1,3 +1,10 @@
+libg15 (1.2.7-2+libtool) unreleased; urgency=low
+
+  * Update libtool at build time using dh-autoreconf, in order to fix a
+    build failure on x32.
+
+ -- Daniel Schepler <[email protected]>  Tue, 05 Mar 2013 07:23:03 -0800
+
 libg15 (1.2.7-2) unstable; urgency=low
 
   * add list-missing to debian/rules
diff -u libg15-1.2.7/debian/rules libg15-1.2.7/debian/rules
--- libg15-1.2.7/debian/rules
+++ libg15-1.2.7/debian/rules
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 
 common-binary-predeb-arch:: list-missing
 

--- End Message ---
--- Begin Message ---
Hi!
For some reason, this builds ok, including x32, ppc64el and arm64, despite
no upload updating libtool being done.  This is puzzling -- something
elsewhere must have changed, no idea what.  In any case, the successful
builds do reproduce for me.

Closing this copy then.  There's another in #759153 with a proper patch,
that one should be enough in case the mysterious fix breaks again.

-- 
A tit a day keeps the vet away.

--- End Message ---

Reply via email to