Bug#1118463: pygobject: FTBFS on 64-bit BE: "Fatal Python error: Aborted" in test_length_array_utf8_optional_inout()
Simon McVittie
smcv at debian.org
Mon Oct 20 16:15:42 BST 2025
Source: pygobject
Version: 3.54.3-1
Severity: serious
Tags: ftbfs experimental
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-s390 at lists.debian.org, debian-powerpc at lists.debian.org
User: debian-s390 at lists.debian.org
Usertags: s390x
User: debian-powerpc at lists.debian.org
Usertags: ppc64
Control: found -1 3.54.5-2
Control: block 1099164 by -1
pygobject's build fails on s390x and ppc64 with a log similar to the one
below. It succeeded on powerpc and ppc64el, which strongly suggests an
endianness issue - probably mixing up a pointer to a 32-bit quantity
with a pointer to a 64-bit quantity, which on little-endian is masked by
the earlier bytes of the 64-bit thing being the least significant bytes
of its value, and the later bytes in practice being all-zeroes or
all-ones.
libpeas/experimental failed to build on the same architectures, with the
older pygobject 3.52.x. It isn't necessarily very worthwhile to
investigate that until pygobject is fixed, because a newer pygobject
might fix it anyway, so I'm not reporting a bug for that right now.
https://buildd.debian.org/status/fetch.php?pkg=pygobject&arch=s390x&ver=3.54.5-2&stamp=1760971455&raw=0
>==================================== 1/1 =====================================
>test: pygobject-test-suite
>start time: 14:44:11
>duration: 3.95s
>result: killed by signal 6 SIGABRT
>command: MESON_TEST_ITERATION=1 GI_TYPELIB_PATH=/build/reproducible-path/pygobject-3.54.5/build-3.13/subprojects/gobject-introspection-tests MALLOC_PERTURB_=3 UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 PYTHONPATH=/build/reproducible-path/pygobject-3.54.5/build-3.13/tests/..:/build/reproducible-path/pygobject-3.54.5/build-3.13/subprojects/pycairo LD_LIBRARY_PATH=/build/reproducible-path/pygobject-3.54.5/build-3.13/tests:/build/reproducible-path/pygobject-3.54.5/build-3.13/gi ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 /usr/bin/python3.13 -m pytest
>----------------------------------- stdout -----------------------------------
>============================= test session starts ==============================
>platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
>rootdir: /build/reproducible-path/pygobject-3.54.5
>configfile: pyproject.toml
>testpaths: tests
>plugins: typeguard-4.4.4
>collected 1572 items
>
>tests/test_async.py ........ [ 0%]
>tests/test_atoms.py ....... [ 0%]
>tests/test_cairo.py ................................ [ 2%]
>tests/test_callback.py .... [ 3%]
>tests/test_docstring.py ................x. [ 4%]
>tests/test_enum.py ...... [ 4%]
>tests/test_error.py ................ [ 5%]
>tests/test_events.py ss........... [ 6%]
>tests/test_everything.py ............................................... [ 9%]
>........................................................................ [ 14%]
>......... [ 14%]
>tests/test_fields.py ................ [ 15%]
>tests/test_fundamental.py ....................ss [ 17%]
>tests/test_gdbus.py .............x.. [ 18%]
>tests/test_gi.py ....................................................... [ 21%]
>.......................................................s................ [ 26%]
>...................................
>----------------------------------- stderr -----------------------------------
>Fatal Python error: Aborted
More information about the pkg-gnome-maintainers
mailing list