Bug#803428: test-suite failure for python3.X-dbg builds

Michael Biebl biebl at debian.org
Fri Oct 30 02:16:35 UTC 2015


Source: pygobject
Version: 3.18.2-1
Severity: normal

pygobject currently builds 6 different flavours:
python2.7, python3.4, python3.5
python2.7-dbg, python3.4-dbg, python3.5-dbg

The test-suite fails for python3.[45]-dbg and therefor has currently
been made non-fatal:

The log message is:


*** Warning: Linking the executable /«PKGBUILDDIR»/build-3.5-dbg/tests/tmp-introspect7rR6RR/Regress-1.0 against the loadable module
*** libregress.so is not portable!
libtool: link: x86_64-linux-gnu-gcc -pthread -o /«PKGBUILDDIR»/build-3.5-dbg/tests/tmp-introspect7rR6RR/.libs/Regress-1.0 -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror=unused-variable -fno-strict-aliasing -Werror=declaration-after-statement -std=c90 -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format-security -Werror=format=2 -Werror=missing-include-dirs -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now tmp-introspect7rR6RR/«PKGBUILDDIR»/build-3.5-dbg/tests/tmp-introspect7rR6RR/Regress-1.0.o -Wl,--export-dynamic -pthread -Wl,--export-dynamic  -L. ./.libs/libregress.so -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread -Wl,-rpath -Wl,/usr/lib/python3.5/site-packages/pygobject
g-ir-compiler Regress-1.0.gir -o Regress-1.0.typelib
glib-compile-schemas --targetdir=. --schema-file=../../tests/org.gnome.test.gschema.xml
export `/usr/bin/dbus-launch` && \
PYTHONPATH=..:../tests:${PYTHONPATH:+:$PYTHONPATH} LD_LIBRARY_PATH=./.libs:$LD_LIBRARY_PATH GI_TYPELIB_PATH=.:$GI_TYPELIB_PATH XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share MALLOC_PERTURB_=85 MALLOC_CHECK_=3 G_SLICE=debug-blocks TESTS_BUILDDIR=.  /usr/bin/python3.5-dbg -Wd ../../tests/runtests.py; rc=$?; \
[ "$rc" -ne 0 ] || [ -n "$TEST_NAMES" ] || { TEST_NAMES=compat_test_pygtk PYTHONPATH=..:../tests:${PYTHONPATH:+:$PYTHONPATH} LD_LIBRARY_PATH=./.libs:$LD_LIBRARY_PATH GI_TYPELIB_PATH=.:$GI_TYPELIB_PATH XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share MALLOC_PERTURB_=85 MALLOC_CHECK_=3 G_SLICE=debug-blocks TESTS_BUILDDIR=.  /usr/bin/python3.5-dbg -Wd -Werror::PendingDeprecationWarning -Werror::DeprecationWarning -Werror::RuntimeWarning ../../tests/runtests.py; rc=$?; }; \
kill $DBUS_SESSION_BUS_PID; \
exit $rc
sys:1: PyGIWarning: GIMarshallingTests was imported without specifying a version first. Use gi.require_version('GIMarshallingTests', '1.0') before import to ensure that the right version gets loaded.
sys:1: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
Traceback (most recent call last):
  File "../../tests/runtests.py", line 55, in <module>
    suite = loader.loadTestsFromNames(names)
  File "/usr/lib/python3.5/unittest/loader.py", line 219, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.5/unittest/loader.py", line 219, in <listcomp>
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.5/unittest/loader.py", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/«PKGBUILDDIR»/tests/test_everything.py", line 57, in <module>
    class TestEverything(unittest.TestCase):
  File "/«PKGBUILDDIR»/tests/test_everything.py", line 468, in TestEverything
    @unittest.skipUnless(hasattr(Everything, 'test_glist_gtype_container_in'),
NameError: name 'Everything' is not defined
Makefile:836: recipe for target 'check-local' failed
make[4]: *** [check-local] Error 1
make[4]: Leaving directory '/«PKGBUILDDIR»/build-3.5-dbg/tests'
Makefile:662: recipe for target 'check-am' failed
make[3]: *** [check-am] Error 2
make[3]: Leaving directory '/«PKGBUILDDIR»/build-3.5-dbg/tests'
Makefile:674: recipe for target 'check-recursive' failed
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory '/«PKGBUILDDIR»/build-3.5-dbg'
dh_auto_test: make -j1 check returned exit code 2


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)




More information about the pkg-gnome-maintainers mailing list