• Bug#1101238: lua-lgi: FTBFS: tests/pango.lua:43: failure (3/3)

    From Santiago Vila@21:1/5 to All on Tue Mar 25 01:20:04 2025
    [continued from previous message]

    cc -shared -Wl,-z,relro -Wl,-z,now -o libregress.so regress.o -lgio-2.0 -lcairo-gobject -lcairo -lgirepository-1.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -lffi
    LDFLAGS="" CFLAGS="" \
    g-ir-scanner --warn-all --no-libtool --quiet --output=Regress-1.0.gir \
    --namespace=Regress --nsversion=1.0 \
    --include=cairo-1.0 --include=Gio-2.0 \
    --library-path=/usr/lib --library-path=/usr/X11R6/lib \
    --library-path=/usr/local/lib \
    /usr/share/gobject-introspection-1.0/tests/regress.c /usr/share/gobject-introspection-1.0/tests/regress.h \
    -lregress
    g-ir-compiler --output=Regress-1.0.typelib Regress-1.0.gir
    make[2]: Leaving directory '/<<PKGBUILDDIR>>/tests'
    unset DBUS_SESSION_BUS_ADDRESS && GI_TYPELIB_PATH=tests LD_LIBRARY_PATH=tests xvfb-run dh_auto_test
    make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test

    Making target test for debian/lua5.1.dh-lua.conf
    # tests
    Copying lgi.lua lgi/class.lua lgi/component.lua lgi/core.lua lgi/enum.lua lgi/ffi.lua lgi/init.lua lgi/log.lua lgi/namespace.lua lgi/package.lua lgi/record.lua lgi/version.lua lgi/override/Clutter.lua lgi/override/GLib-Bytes.lua lgi/override/GLib-Error.
    lua lgi/override/GLib-Markup.lua lgi/override/GLib-Source.lua lgi/override/GLib-Timer.lua lgi/override/GLib-Variant.lua lgi/override/GLib.lua lgi/override/GObject-Closure.lua lgi/override/GObject-Object.lua lgi/override/GObject-Type.lua lgi/override/
    GObject-Value.lua lgi/override/Gdk.lua lgi/override/Gio-DBus.lua lgi/override/Gio.lua lgi/override/GooCanvas.lua lgi/override/Gst.lua lgi/override/Gtk.lua lgi/override/Pango.lua lgi/override/PangoCairo.lua lgi/override/cairo.lua in /<<PKGBUILDDIR>>/5.1-
    lgi for test
    ********************** lua dynamic (5.1) *********
    Test: tests/test.lua

    (process:29425): Lgi-WARNING **: 23:12:50.389: Error raised while calling 'lgi.cbk (number): Regress': attempt to call a number value

    (process:29425): Lgi-WARNING **: 23:12:50.389: Error raised while calling 'lgi.cbk (string): Regress': attempt to call a string value

    (process:29425): Lgi-WARNING **: 23:12:50.389: Error raised while calling 'lgi.cbk (table: 0x55fe2bc845a0): Regress': attempt to call a table value

    (process:29425): Lgi-WARNING **: 23:12:50.389: Error raised while calling 'lgi.cbk (table: 0x55fe2bcf11e0): Regress': attempt to call a table value
    gireg : all 114 tests passed.
    marshal : all 1 tests passed.
    corocbk : all 3 tests passed.
    record : all 1 tests passed.

    (lua5.1:29425): dbind-WARNING **: 23:12:50.941: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files

    (lua5.1:29425): GLib-GObject-CRITICAL **: 23:12:50.973: Object class LgiTestFakeMonitor1 doesn't implement property 'network-metered' from interface 'GNetworkMonitor'
    gobject : all 18 tests passed.
    glib : all 6 tests passed.
    variant : all 15 tests passed.
    dbus : all 3 tests passed.
    gtk : all 21 tests passed.
    cairo : all 12 tests passed.
    pango : 1:glyphstring FAIL
    tests/pango.lua:43: failure
    stack traceback:
    [C]: in function 'error'
    tests/test.lua:88: in function 'fail'
    tests/test.lua:91: in function 'check'
    tests/pango.lua:43: in function <tests/pango.lua:20>
    [C]: in function 'xpcall'
    tests/test.lua:50: in function 'runfunc'
    tests/test.lua:73: in function 'run'
    tests/test.lua:141: in main chunk
    [C]: ?
    pango : FAILED 1 of 1 tests
    gio : all 2 tests passed.
    make[3]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.single:317: test-lua-dynamic-real] Error 1
    make[2]: *** [/usr/share/dh-lua/make/dh-lua.Makefile.multiple:12: test] Error 1 dh_auto_test: error: make --no-print-directory -f /usr/share/dh-lua/make/dh-lua.Makefile.multiple test returned exit code 2
    make[1]: *** [debian/rules:19: override_dh_auto_test] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:8: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202503/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:lua-lgi, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)