Bug#1092945: FTBFS with meson 1.7.0rc1 (experimental)

Eli Schwartz eschwartz at gentoo.org
Mon Jan 13 16:47:03 GMT 2025


Source: glib2.0
Version: 2.82.4-1
Severity: important
Tags: ftbfs

During an archive rebuild in experimental, glib failed to build with
meson 1.7


meson test -C debian/build/deb \
        --no-rebuild \
        --num-processes 1 \
        --timeout-multiplier 3 \
        --no-suite flaky \
        --verbose \
|| exit $?


Producing the following error log:


134/387 glib:glib+core / gtester-xmllint-check
      RUNNING
>>>
MSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
ASAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1
G_ENABLE_DIAGNOSTIC=1 MESON_TEST_ITERATION=1 MALLOC_PERTURB_=124
G_TEST_BUILDDIR=/build/reproducible-path/glib2.0-2.82.4/debian/build/deb/glib/tests
UBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1
MALLOC_CHECK_=2 G_DEBUG=gc-friendly
G_TEST_SRCDIR=/build/reproducible-path/glib2.0-2.82.4/glib/tests
/usr/bin/xmllint --noout glib/tests/tmpsample.xml
――――――――――――――――――――――――――――――――――――― ✀
―――――――――――――――――――――――――――――――――――――
warning: failed to load external entity "glib/tests/tmpsample.xml"
――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
134/387 glib:glib+core / gtester-xmllint-check
      FAIL             0.01s   exit status 1


This is caused by upstream change:
https://mesonbuild.com/Release-notes-for-1-7-0.html#test-targets-no-longer-built-by-default

It is an intentional change, and the glib package will need to adapt.
Possible solutions:

- switch to debhelper's dh_auto_test, which invokes meson test without
  using --no-rebuild
- remove the --no-rebuild flag
- run `ninja meson-test-prereq` before running "meson test"


-- 
Eli Schwartz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-gnome-maintainers/attachments/20250113/a5fda19c/attachment.sig>


More information about the pkg-gnome-maintainers mailing list