Bug#702060: gtksourceview2: FTBFS on x32: Needs libtool update

Daniel Schepler dschepler at gmail.com
Sat Mar 2 11:01:29 UTC 2013


Source: gtksourceview2
Version: 2.10.4-1
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gtksourceview2.debdiff
Type: text/x-patch
Size: 3044 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130302/42206301/attachment.bin>


More information about the pkg-gnome-maintainers mailing list