Bug#839867: pygtk: FTBFS on sparc64 - bus error in testsuite

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Wed Oct 5 20:06:11 UTC 2016


Source: pygtk
Version: 2.24.0-5
Severity: normal
User: debian-sparc at lists.debian.org
Usertags: sparc64

Hello!

pygtk currently fails to build from source on sparc64 due to a bus error in
one of the tests in the testsuite:

make[3]: Entering directory '/<<PKGBUILDDIR>>/build-2.7/tests'
.............................F...Makefile:532: recipe for target 'check-local' failed
make[3]: *** [check-local] Bus error
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-2.7/tests'
Makefile:413: recipe for target 'check-am' failed

A bus error indicates that the code tried an unaligned access which trigger
an exception on some architectures.

To fix this issue, it's usually enough to recompile the code with debug
symbols enabled and run it from gdb. gdb will then directly display
the offending code line when crashing. In most cases, the unaligned access
is a result of violating the strict aliasing rules in C meaning that a
pointer to an object was cast into a different type than the object
was previously declared as, see for example [1].

To debug the issue, the porterbox notker.debian.net can be used which
is available to every Debian Developer and everyone with a Debian guest
account after requesting access to this particular machine.

Feel free to ask on debian-sparc at list.debian.org in any case.

Thanks,
Adrian

> [1] http://stackoverflow.com/questions/212466/what-is-a-bus-error

--
 .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaubitz at debian.org
 `. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913




More information about the pkg-gnome-maintainers mailing list