Bug#700579: pygtk: FTBFS on x32: Needs libtool update

Daniel Schepler dschepler at gmail.com
Thu Feb 14 17:14:00 UTC 2013


Source: pygtk
Version: 2.24.0-3
Severity: wishlist
Tags: patch
User: debian-x32 at lists.debian.org
Usertags: port-x32 ftbfs-libtool

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

<URL:http://buildd.debian-ports.org/status/fetch.php?pkg=pygtk&arch=x32&ver=2.24.0-3&stamp=1360804196>
...
/bin/bash ./libtool --tag=CC   --mode=link gcc -I/usr/include/atk-1.0
-I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnux32/glib-2.0/include   -Wall -g -O2
-fno-strict-aliasing -std=c9x -module -avoid-version
-export-symbols-regex initatk  -o atk.la -rpath
/usr/lib/python2.6/dist-packages/gtk-2.0 atk_la-atkmodule.lo
atk_la-atk.lo -latk-1.0 -lgobject-2.0 -lglib-2.0
./libtool: line 7509: test: : integer expression expected
./libtool: line 7509: test: : integer expression expected
./libtool: line 7614: test: : integer expression expected
./libtool: line 7686: test: : integer expression expected
libtool: link: /usr/bin/ld -m elf_i386 -r -o .libs/atk.la-1.o
.libs/atk_la-atkmodule.o
/usr/bin/ld: Relocatable linking with relocations from format
elf32-x86-64 (.libs/atk_la-atkmodule.o) to format elf32-i386
(.libs/atk.la-1.o) is not supported
make[1]: *** [atk.la] Error 1
make[1]: Leaving directory
`/build/buildd-pygtk_2.24.0-3-x32-vGZ86R/pygtk-2.24.0/build-2.6'
make: *** [build-2.6/build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

The fix is to update libtool using the current Debian package in sid
(>= 2.4.2-1.2).  The attached debdiff does this at build time using
dh-autoreconf.
-- 
Daniel Schepler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pygtk.debdiff
Type: application/octet-stream
Size: 2094 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20130214/88dec996/attachment.obj>


More information about the pkg-gnome-maintainers mailing list