Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
Control: clone -1 -2 Control: retitle -1 libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace 'Introspection', version '1.0' not found Control: reassign -1 libpeas 1.26.0-2 Control: tags -1 = ftbfs pending Control: severity -2 normal Control: retitle -2 meson: gnome module stopped generating uninstalled typelib depended on by an executable Control: reassign -2 meson 0.55.0-2 Control: forwarded -2 https://github.com/mesonbuild/meson/issues/7756 Control: tags -2 = upstream On Mon, 03 Aug 2020 at 13:09:55 +0100, Simon McVittie wrote: > I've confirmed that this succeeds in a pure bullseye chroot and fails if > I upgrade meson (only) to the version from unstable. I'm not completely > sure whether this is a straightforward regression in meson, or whether > libpeas is holding it wrong. I'm still not sure whose bug this is, but I've found a workaround that libpeas can use (or a fix that can be applied, depending whether this is considered to be a bug in Meson or in libpeas). I'll close the original FTBFS report by fixing or working around this in libpeas; I'm cloning it as a non-RC Meson bug report for investigation of whether Meson is doing the wrong thing. Please see the upstream Meson bug for more details and a somewhat minimal reproducer. Thanks, smcv
Processed: Re: Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
Processing control commands: > clone -1 -2 Bug #966951 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Bug 966951 cloned as bug 970543 > retitle -1 libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace > 'Introspection', version '1.0' not found Bug #966951 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Changed Bug title to 'libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace 'Introspection', version '1.0' not found' from 'libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1'. > reassign -1 libpeas 1.26.0-2 Bug #966951 [libpeas,meson] libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace 'Introspection', version '1.0' not found Bug reassigned from package 'libpeas,meson' to 'libpeas'. No longer marked as found in versions libpeas/1.26.0-2 and meson/0.55.0-2. Ignoring request to alter fixed versions of bug #966951 to the same values previously set Bug #966951 [libpeas] libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace 'Introspection', version '1.0' not found There is no source info for the package 'libpeas' at version '1.26.0-2' with architecture '' Unable to make a source version for version '1.26.0-2' Marked as found in versions 1.26.0-2. > tags -1 = ftbfs pending Bug #966951 [libpeas] libpeas: FTBFS with Meson >= 0.55.0: Typelib file for namespace 'Introspection', version '1.0' not found Added tag(s) pending; removed tag(s) bullseye and sid. > severity -2 normal Bug #970543 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Severity set to 'normal' from 'serious' > retitle -2 meson: gnome module stopped generating uninstalled typelib > depended on by an executable Bug #970543 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Changed Bug title to 'meson: gnome module stopped generating uninstalled typelib depended on by an executable' from 'libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1'. > reassign -2 meson 0.55.0-2 Bug #970543 [libpeas,meson] meson: gnome module stopped generating uninstalled typelib depended on by an executable Bug reassigned from package 'libpeas,meson' to 'meson'. No longer marked as found in versions meson/0.55.0-2 and libpeas/1.26.0-2. Ignoring request to alter fixed versions of bug #970543 to the same values previously set Bug #970543 [meson] meson: gnome module stopped generating uninstalled typelib depended on by an executable Marked as found in versions meson/0.55.0-2. > forwarded -2 https://github.com/mesonbuild/meson/issues/7756 Bug #970543 [meson] meson: gnome module stopped generating uninstalled typelib depended on by an executable Set Bug forwarded-to-address to 'https://github.com/mesonbuild/meson/issues/7756'. > tags -2 = upstream Bug #970543 [meson] meson: gnome module stopped generating uninstalled typelib depended on by an executable Added tag(s) upstream; removed tag(s) ftbfs, bullseye, and sid. -- 966951: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966951 970543: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970543 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
On Mon, 03 Aug 2020 at 13:09:55 +0100, Simon McVittie wrote: > I've confirmed that this succeeds in a pure bullseye chroot and fails if > I upgrade meson (only) to the version from unstable. I'm not completely > sure whether this is a straightforward regression in meson, or whether > libpeas is holding it wrong. > > It seems that what is meant to happen here is that the libpeas build > system builds tests/libpeas/introspection/*.[ch] into a shared library, > introspects them, and uses the generated introspection data during the > build-time tests. > > With meson 0.54.3-1, I get: > > obj-x86_64-linux-gnu/tests/libpeas/introspection/Introspection-1.0.typelib > obj-x86_64-linux-gnu/tests/libpeas/introspection/Introspection-1.0.gir > > With 0.55.0-2, the introspection data (typelib and GIR XML) isn't generated. Bisection says this regressed in b1e3440e "ninjabackend: Treat GNOME gir/typelib as libraries" - or maybe it's a pre-existing bug in libpeas exposed by that commit, it isn't clear to me which. smcv
Processed: Re: Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
Processing control commands: > reassign -1 libpeas,meson Bug #966951 [src:libpeas] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Bug reassigned from package 'src:libpeas' to 'libpeas,meson'. No longer marked as found in versions libpeas/1.26.0-2. Ignoring request to alter fixed versions of bug #966951 to the same values previously set > found -1 libpeas/1.26.0-2 Bug #966951 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Marked as found in versions libpeas/1.26.0-2. > found -1 meson/0.55.0-2 Bug #966951 [libpeas,meson] libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1 Marked as found in versions meson/0.55.0-2. -- 966951: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=966951 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
Control: reassign -1 libpeas,meson Control: found -1 libpeas/1.26.0-2 Control: found -1 meson/0.55.0-2 On Mon, 03 Aug 2020 at 10:54:40 +0200, Lucas Nussbaum wrote: > Relevant part (hopefully): > > 1/8 test-engine FAIL 0.02s (killed by signal 6 > > SIGABRT) > > > > --- command --- > > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > > MALLOC_CHECK_='2' /<>/obj-x86_64-linux-gnu/tests/libpeas/engine > > --- stdout --- > > # random seed: R02S24bd2039e5be9936225c32c9afe1adbd > > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: > > assertion failed (error == NULL): Typelib file for namespace > > 'Introspection', version '1.0' not found (g-irepository-error-quark, 0) > > --- stderr --- > > ** > > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion failed > > (error == NULL): Typelib file for namespace 'Introspection', version '1.0' > > not found (g-irepository-error-quark, 0) > > --- I've confirmed that this succeeds in a pure bullseye chroot and fails if I upgrade meson (only) to the version from unstable. I'm not completely sure whether this is a straightforward regression in meson, or whether libpeas is holding it wrong. It seems that what is meant to happen here is that the libpeas build system builds tests/libpeas/introspection/*.[ch] into a shared library, introspects them, and uses the generated introspection data during the build-time tests. With meson 0.54.3-1, I get: $ find obj-x86_64-linux-gnu/tests/libpeas/introspection obj-x86_64-linux-gnu/tests/libpeas/introspection obj-x86_64-linux-gnu/tests/libpeas/introspection/Introspection-1.0.typelib obj-x86_64-linux-gnu/tests/libpeas/introspection/Introspection-1.0.gir obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-unimplemented.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-prerequisite.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-has-prerequisite.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-callable.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-base.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/introspection-abstract.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/Introspection_1.0_gir_filelist obj-x86_64-linux-gnu/tests/libpeas/introspection/7ddd279@@introspection-1.0@sha/libintrospection-1.0.so.symbols With 0.55.0-2, the introspection data (typelib and GIR XML) isn't generated: obj-x86_64-linux-gnu/tests/libpeas/introspection obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/libintrospection-1.0.so.symbols obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-unimplemented.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-prerequisite.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-has-prerequisite.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-callable.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-base.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/introspection-abstract.c.o obj-x86_64-linux-gnu/tests/libpeas/introspection/libintrospection-1.0.so.p/Introspection_1.0_gir_filelist smcv
Bug#966951: libpeas: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test returned exit code 1
Source: libpeas Version: 1.26.0-2 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20200802 ftbfs-bullseye Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<>' > HOME=/<> xvfb-run -a dh_auto_test > cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 MESON_TESTTHREADS=4 ninja test > [0/1] Running all tests. > [1;31m1/8 test-engine FAIL 0.02s (killed by signal 6 > SIGABRT)[0m > [1;31m2/8 test-extension-c FAIL 0.01s (killed by signal 6 > SIGABRT)[0m > [1;31m3/8 test-extension-setFAIL 0.01s (killed by signal 6 > SIGABRT)[0m > [1;31m4/8 test-plugin-info FAIL 0.01s (killed by signal 6 > SIGABRT)[0m > [1;31m5/8 test-extension-py FAIL 0.01s (killed by signal 6 > SIGABRT)[0m > 6/8 test-plugin-manager OK 0.17s > 7/8 test-plugin-manager-store OK 0.22s > 8/8 test-plugin-manager-view OK 0.22s > > Ok: 3 > Expected Fail: 0 > Fail: 5 > Unexpected Pass:0 > Skipped:0 > Timeout:0 > > > The output from the failed tests: > > 1/8 test-engine FAIL 0.02s (killed by signal 6 > SIGABRT) > > --- command --- > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > MALLOC_CHECK_='2' /<>/obj-x86_64-linux-gnu/tests/libpeas/engine > --- stdout --- > # random seed: R02S24bd2039e5be9936225c32c9afe1adbd > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion > failed (error == NULL): Typelib file for namespace 'Introspection', version > '1.0' not found (g-irepository-error-quark, 0) > --- stderr --- > ** > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion failed > (error == NULL): Typelib file for namespace 'Introspection', version '1.0' > not found (g-irepository-error-quark, 0) > --- > > 2/8 test-extension-c FAIL 0.01s (killed by signal 6 > SIGABRT) > > --- command --- > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > MALLOC_CHECK_='2' > /<>/obj-x86_64-linux-gnu/tests/libpeas/extension-c > --- stdout --- > # random seed: R02S35e63bb219e9bc5c0ba2fb0f4d465e51 > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion > failed (error == NULL): Typelib file for namespace 'Introspection', version > '1.0' not found (g-irepository-error-quark, 0) > --- stderr --- > ** > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion failed > (error == NULL): Typelib file for namespace 'Introspection', version '1.0' > not found (g-irepository-error-quark, 0) > --- > > 3/8 test-extension-setFAIL 0.01s (killed by signal 6 > SIGABRT) > > --- command --- > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > MALLOC_CHECK_='2' > /<>/obj-x86_64-linux-gnu/tests/libpeas/extension-set > --- stdout --- > # random seed: R02S74612be6e60fad0516038e18f9c67589 > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion > failed (error == NULL): Typelib file for namespace 'Introspection', version > '1.0' not found (g-irepository-error-quark, 0) > --- stderr --- > ** > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion failed > (error == NULL): Typelib file for namespace 'Introspection', version '1.0' > not found (g-irepository-error-quark, 0) > --- > > 4/8 test-plugin-info FAIL 0.01s (killed by signal 6 > SIGABRT) > > --- command --- > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > MALLOC_CHECK_='2' > /<>/obj-x86_64-linux-gnu/tests/libpeas/plugin-info > --- stdout --- > # random seed: R02S1c83a50e9dd243feb0c45ac92f39a129 > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion > failed (error == NULL): Typelib file for namespace 'Introspection', version > '1.0' not found (g-irepository-error-quark, 0) > --- stderr --- > ** > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion failed > (error == NULL): Typelib file for namespace 'Introspection', version '1.0' > not found (g-irepository-error-quark, 0) > --- > > 5/8 test-extension-py FAIL 0.01s (killed by signal 6 > SIGABRT) > > --- command --- > 17:26:39 NO_AT_BRIDGE='1' GSETTINGS_BACKEND='memory' G_DEBUG='gc-friendly' > MALLOC_CHECK_='2' > /<>/obj-x86_64-linux-gnu/tests/libpeas/extension-py > --- stdout --- > # random seed: R02S1d44196482b3ded34ac25b203f5ec8e9 > Bail out! ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assertion > failed (error == NULL): Typelib file for namespace 'Introspection', version > '1.0' not found (g-irepository-error-quark, 0) > --- stderr --- > ** > ERROR:../tests/libpeas/testing/testing.c:54:testing_init: assert