Package: gtk+2.0
Version: 2.6.2-2
Severity: serious

gtk+2.0 2.6.2 consistently fails to build from source on mips with the
following error:

[...]
/bin/sh ../libtool --mode=link mips-linux-gcc  -g -O2 -Wall   -o testmenus 
testmenus.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-x11-2.0.la 
../gtk/libgtk-x11-2.0.la 
mips-linux-gcc -g -O2 -Wall -o testmenus testmenus.o 
../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.a ../gdk/.libs/libgdk-x11-2.0.a 
-L/usr/X11R6/lib ../gtk/.libs/libgtk-x11-2.0.a 
/build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.6.2-static/gdk/.libs/libgdk-x11-2.0.a
 
/build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.6.2-static/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.a
 -lXrandr -lXi -lXinerama -lXext /usr/lib/libXft.so /usr/lib/libfreetype.so 
-lfontconfig /usr/lib/libXcursor.so /usr/lib/libXrender.so -lX11 
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so /usr/lib/libpango-1.0.so 
/usr/lib/libatk-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so 
-ldl /usr/lib/libglib-2.0.so /usr/lib/libtiff.so -lz -lc /usr/lib/libjpeg.so 
-lpng12 -lm
collect2: ld returned 1 exit status
make[3]: *** [testmenus] Error 1
make[3]: Leaving 
directory/build/buildd/gtk+2.0-2.6.2/build-tree/gtk+-2.6.2-static/tests'
make[2]: *** [all-recursive] Error 1
[...]

Full build logs can be found at
<http://buildd.debian.org/fetch.php?&pkg=gtk%2B2.0&ver=2.6.2-2&arch=mips&stamp=1107745861&file=log&as=raw>.

It is likely that this failure is related to limitations on symbol table
sizes on mips and mipsel.  While there are workarounds possible for
libraries that exceed the symbol table size limit, there is no such
workaround presently available for executables that hit the limit, which
appears to be what's happening here given that the failure comes while
statically linking a test binary.

Since other test binaries are linked successfully during the build prior to
the failure, it's clear that the gtk+ library is not entirely broken, though
it is likely that a large number of applications would not be able to use it
for static linking.  This is of course not the norm in Debian, so I would
recommend disabling this particular test suite (selectively on mips+mipsel
if you can, or on all architectures if you can't).

Thanks,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to