Your message dated Mon, 15 Feb 2016 00:57:22 +0100
with message-id <[email protected]>
and subject line fixed long ago
has caused the Debian Bug report #702060,
regarding gtksourceview2: 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.)


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

The gtksourceview2 source package is getting this build failure on x32:

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=gtksourceview2&arch=x32&ver=2.10.4-1&stamp=1361154588>:
...
/bin/bash ../libtool  --tag=CC   --mode=link gcc  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -no-undefined 
-export-symbols-regex "^gtk_source_.*" -Wl,-z,relro -Wl,-z,defs -Wl,-O1 -
Wl,--as-needed -o libgtksourceview-2.0.la -rpath /usr/lib gtksourcebuffer.lo 
gtksourceiter.lo gtksourceview.lo gtksourceundomanager.lo 
gtksourceundomanagerdefault.lo gtktextregion.lo gtksourcelanguage.lo 
gtksourcelanguagemanager.lo gtksourcelanguage-parser-1.lo 
gtksourcelanguage-parser-2.lo gtksourceview-i18n.lo gtksourceview-utils.lo 
gtksourcestyle.lo gtksourcestyleschememanager.lo gtksourcestylescheme.lo 
gtksourceengine.lo gtksourcecontextengine.lo gtksourcemark.lo 
gtksourceprintcompositor.lo gtksourcegutter.lo gtksourcecompletion.lo 
gtksourcecompletioninfo.lo gtksourcecompletionitem.lo 
gtksourcecompletionproposal.lo gtksourcecompletionprovider.lo 
gtksourcecompletionmodel.lo gtksourcecompletionutils.lo 
gtksourcecompletioncontext.lo   gtksourceview-marshal.lo 
gtksourceview-typebuiltins.lo -lgtk-x11-2.0 
-lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 
-lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 
-lglib-2.0 -lxml2    completion-providers/words/libgtksourcecompletionwords.la 
../libtool: line 7510: test: : integer expression expected
../libtool: line 7510: test: : integer expression expected
../libtool: line 7615: test: : integer expression expected
../libtool: line 7687: test: : integer expression expected
../libtool: line 7687: test: : integer expression expected
...
../libtool: line 7687: test: : integer expression expected
libtool: link: /usr/bin/ld -m elf_i386 -r -o .libs/libgtksourceview-2.0.la-1.o 
.libs/gtksourcebuffer.o 
/usr/bin/ld: Relocatable linking with relocations from format elf32-x86-64 
(.libs/gtksourcebuffer.o) to format elf32-i386 
(.libs/libgtksourceview-2.0.la-1.o) is not supported
make[5]: *** [libgtksourceview-2.0.la] Error 1
make[5]: Leaving directory 
`/build/buildd-gtksourceview2_2.10.4-1-x32-0q5Iij/gtksourceview2-2.10.4/gtksourceview'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory 
`/build/buildd-gtksourceview2_2.10.4-1-x32-0q5Iij/gtksourceview2-2.10.4/gtksourceview'
make[3]: *** [all] Error 2
make[3]: Leaving directory 
`/build/buildd-gtksourceview2_2.10.4-1-x32-0q5Iij/gtksourceview2-2.10.4/gtksourceview'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/build/buildd-gtksourceview2_2.10.4-1-x32-0q5Iij/gtksourceview2-2.10.4'
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
make[1]: Leaving directory 
`/build/buildd-gtksourceview2_2.10.4-1-x32-0q5Iij/gtksourceview2-2.10.4'
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 and
gnome-autogen.sh from gnome-common.
-- 
Daniel Schepler
diff -Nru gtksourceview2-2.10.4/debian/changelog gtksourceview2-2.10.4/debian/changelog
--- gtksourceview2-2.10.4/debian/changelog	2010-08-16 10:18:12.000000000 -0700
+++ gtksourceview2-2.10.4/debian/changelog	2013-03-02 02:42:05.000000000 -0800
@@ -1,3 +1,10 @@
+gtksourceview2 (2.10.4-1+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]>  Sat, 02 Mar 2013 02:41:58 -0800
+
 gtksourceview2 (2.10.4-1) unstable; urgency=low
 
   * New upstream bugfix and documentation release.
diff -Nru gtksourceview2-2.10.4/debian/control gtksourceview2-2.10.4/debian/control
--- gtksourceview2-2.10.4/debian/control	2010-08-16 10:21:52.000000000 -0700
+++ gtksourceview2-2.10.4/debian/control	2013-03-02 02:45:19.000000000 -0800
@@ -18,7 +18,8 @@
                intltool (>= 0.40),
                gtk-doc-tools (>= 1.11),
                libglib2.0-dev (>= 2.16.0),
-               libgladeui-1-dev (>= 3.2)
+               libgladeui-1-dev (>= 3.2),
+               dh-autoreconf
 Build-Depends-Indep: libglib2.0-doc, libgtk2.0-doc
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gtksourceview2
diff -Nru gtksourceview2-2.10.4/debian/control.in gtksourceview2-2.10.4/debian/control.in
--- gtksourceview2-2.10.4/debian/control.in	2010-03-29 03:19:09.000000000 -0700
+++ gtksourceview2-2.10.4/debian/control.in	2013-03-02 02:45:15.000000000 -0800
@@ -13,7 +13,8 @@
                intltool (>= 0.40),
                gtk-doc-tools (>= 1.11),
                libglib2.0-dev (>= 2.16.0),
-               libgladeui-1-dev (>= 3.2)
+               libgladeui-1-dev (>= 3.2),
+               dh-autoreconf
 Build-Depends-Indep: libglib2.0-doc, libgtk2.0-doc
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-gnome/desktop/unstable/gtksourceview2
diff -Nru gtksourceview2-2.10.4/debian/patches/series gtksourceview2-2.10.4/debian/patches/series
--- gtksourceview2-2.10.4/debian/patches/series	2010-03-31 03:23:23.000000000 -0700
+++ gtksourceview2-2.10.4/debian/patches/series	2013-03-02 02:39:59.000000000 -0800
@@ -1 +1 @@
-99_ltmain_as-needed.patch
+#99_ltmain_as-needed.patch
diff -Nru gtksourceview2-2.10.4/debian/rules gtksourceview2-2.10.4/debian/rules
--- gtksourceview2-2.10.4/debian/rules	2010-03-31 03:23:23.000000000 -0700
+++ gtksourceview2-2.10.4/debian/rules	2013-03-02 02:53:14.000000000 -0800
@@ -9,11 +9,14 @@
 include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
 include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
 include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
+include /usr/share/cdbs/1/rules/autoreconf.mk
 -include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
 
 GNOME_MODULE = gtksourceview
 
 # Compile options
+export NOCONFIGURE=1
+DEB_DH_AUTORECONF_ARGS = --as-needed /usr/bin/gnome-autogen.sh
 DEB_CONFIGURE_EXTRA_FLAGS +=	--enable-static		\
 				--enable-glade-catalog
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed

--- End Message ---
--- Begin Message ---
Version: 2.10.5-2

This was fixed by using autoreconf.
-- 
A tit a day keeps the vet away.

--- End Message ---

Reply via email to