Source: gtk4
Version: 4.16.1+ds-2
Severity: normal
Tags: ftbfs
X-Debbugs-Cc: debian-powe...@lists.debian.org
User: debian-powe...@lists.debian.org
Usertags: powerpc

gtk4 passes most of its test suite on powerpc, but fails one test:

https://buildd.debian.org/status/fetch.php?pkg=gtk4&arch=powerpc&ver=4.16.1%2Bds-2&stamp=1726438341&raw=0
> ================================== 163/692 ===================================
> test:         gtk:gtk / sorter
> start time:   22:08:07
> duration:     0.07s
> result:       killed by signal 6 SIGABRT
> command:      GTK_A11Y=test GDK_DEBUG=default-settings MESON_TEST_ITERATION=1 
> GSETTINGS_SCHEMA_DIR=/<<PKGBUILDDIR>>/debian/build/deb/gtk 
> G_TEST_BUILDDIR=/<<PKGBUILDDIR>>/debian/build/deb/testsuite/gtk 
> G_TEST_SRCDIR=/<<PKGBUILDDIR>>/testsuite/gtk GDK_BACKEND=x11 
> GSK_RENDERER=cairo MALLOC_PERTURB_=63 
> UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
>  TEST_OUTPUT_SUBDIR=x11 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/debian/build/deb/gtk 
> MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
>  GTK_DEBUG=css GTK_CSD=1 GSETTINGS_BACKEND=memory 
> ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1 
> G_ENABLE_DIAGNOSTIC=0 /<<PKGBUILDDIR>>/debian/build/deb/testsuite/gtk/sorter 
> --tap -k
> ----------------------------------- stdout -----------------------------------
> TAP version 14
> # random seed: R02S6b2c8c0fedad0d1281925bd23a570430
> 1..19
> # Start of sorter tests
> ok 1 /sorter/simple
> ok 2 /sorter/string
> ok 3 /sorter/change
> ok 4 /sorter/multi
> ok 5 /sorter/stable
> # Start of numeric tests
> ok 6 /sorter/numeric/boolean
> ok 7 /sorter/numeric/char
> ok 8 /sorter/numeric/uchar
> ok 9 /sorter/numeric/int
> ok 10 /sorter/numeric/uint
> ok 11 /sorter/numeric/float
> ok 12 /sorter/numeric/double
> ok 13 /sorter/numeric/long
> ok 14 /sorter/numeric/ulong
> not ok /sorter/numeric/int64 - 
> ERROR:../../../testsuite/gtk/sorter.c:439:test_numeric_int64: assertion 
> failed (model == "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20"): ("10 
> 12 18 19 13 7 5 3 6 9 16 15 20 1 11 4 2 17 14 8" == "1 2 3 4 5 6 7 8 9 10 11 
> 12 13 14 15 16 17 18 19 20")
> Bail out!

I don't know whether this is a bug in the test, or a bug in the part of
GTK that is being tested. It might be a problem with pointers or varargs
or something (powerpc is 32-bit big-endian, which is unusual these days).

The same test fails on hppa, which I think might also be 32-bit big-endian?

That test does succeed on ppc64 and s390x, which are 64-bit big-endian.

The Debian GNOME team is unlikely to prioritize investigating this,
because our focus is the release architectures where GNOME is most
commonly used, but tested patches (ideally sent upstream) would be
appreciated.

Thanks,
    smcv

Reply via email to