• Bug#1102099: game-data-packager: FTBFS: ninja: build stopped: subcomman

    From Santiago Vila@21:1/5 to All on Sat Apr 5 03:30:01 2025
    This is a multi-part message in MIME format.
    Package: src:game-data-packager
    Version: 84
    Severity: serious
    Tags: ftbfs trixie sid patch

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    [ please read notes at the end ]

    --------------------------------------------------------------------------------
    [...]
    [365/501] /usr/bin/inkscape --export-area=0:0:256:256 --export-width=256 --export-height=256 --export-id=layer-quake2-256 --export-id-only --export-filename=icons/256/quake2-groundzero.png icons/recolour-groundzero.svg

    ** (inkscape:52525): WARNING **: 14:51:09.695: Failed to wrap object of type 'PangoFT2FontMap'. Hint: this error is commonly caused by failing to call a library init() function.

    ** (inkscape:52525): WARNING **: 14:51:09.775: Failed to wrap object of type 'GtkRecentManager'. Hint: this error is commonly caused by failing to call a library init() function.
    Exporting only object with id="layer-quake2-256"; all other objects hidden. [366/501] /usr/bin/convert -resize 48x48 /<<PKGBUILDDIR>>/icons/quake3-teamarena-tango.png icons/48/quake3-team-arena.png
    [367/501] /usr/bin/inkscape --export-area=0:0:48:48 --export-width=48 --export-height=48 --export-id=layer-quake2-48 --export-id-only --export-filename=icons/48/quake2.png ../icons/quake1+2.svg
    FAILED: icons/48/quake2.png
    /usr/bin/inkscape --export-area=0:0:48:48 --export-width=48 --export-height=48 --export-id=layer-quake2-48 --export-id-only --export-filename=icons/48/quake2.png ../icons/quake1+2.svg
    terminate called after throwing an instance of 'Gio::DBus::Error'
    Aborted
    [368/501] /usr/bin/inkscape --export-area=0:0:48:48 --export-width=48 --export-height=48 --export-id=layer-quake-48 --export-id-only --export-filename=icons/48/quake.png ../icons/quake1+2.svg

    ** (inkscape:52553): WARNING **: 14:51:10.005: Failed to wrap object of type 'PangoFT2FontMap'. Hint: this error is commonly caused by failing to call a library init() function.

    ** (inkscape:52553): WARNING **: 14:51:10.086: Failed to wrap object of type 'GtkRecentManager'. Hint: this error is commonly caused by failing to call a library init() function.
    Exporting only object with id="layer-quake-48"; all other objects hidden. ninja: build stopped: subcommand failed.
    dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 1
    make[1]: *** [debian/rules:29: override_dh_auto_build] Error 25
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:11: 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/202504/

    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:game-data-packager, so that this is still visible in the BTS web page for this package.

    Notes:

    - The failure happens randomly. Never on AWS instances with 1 CPU,
    and 85% of the time on instances with 2 CPUs.

    - I first tried to override dh_auto_test (see #1102086), but then
    realized the failure happens in dh_auto_build (!). Are you running
    the tests in dh_auto_build?

    - The attached patch fixes the issue in my environment. The dbus thing
    was added in commit [d471d0d1b] from 2017 with the following commit message:

    Build-depend on dbus and wrap dh_auto_build in dbus-run-session
    So that Inkscape stops warning about inability to access the session bus

    but naturally a warning will always be better than not being able to build the package at all.

    Thanks. Y29tbWl0IDU5NTk0YzU0OTA5N2M2MmYyN2MxNGNiNTYxY2VlNzczNjE4MDgxNmYKQXV0aG9y OiBTYW50aWFnbyBWaWxhIDxzYW52aWxhQGRlYmlhbi5vcmc+CkRhdGU6ICAgRnJpIEFwciA0 IDIwOjE2OjMzIDIwMjUgKzAyMDAKCiAgICBEbyBub3Qgb3ZlcnJpZGUgZGhfYXV0b19idWls ZC4gQ2xvc2VzOiAjIyMjIyMjLgoKZGlmZiAtLWdpdCBhL2RlYmlhbi9ydWxlcyBiL2RlYmlh bi9ydWxlcwppbmRleCBkZDljNWJiYy4uNDg0YjVmMjMgMTAwNzU1Ci0tLSBhL2RlYmlhbi9y dWxlcworKysgYi9kZWJpYW4vcnVsZXMKQEAgLTI1LDExICsyNSw2IEBAIG92ZXJyaWRlX2Ro X2F1dG9fY29uZmlndXJlOgogCQktRGdhbWVkYXRhZGlyPXNoYXJlL2dhbWVzIFwKIAkJJChO VUxMKQogCi1vdmVycmlkZV9kaF9hdXRvX2J1aWxkOgotCWRidXMtcnVuLXNlc3Npb24gLS0g ZGhfYXV0b19idWlsZCBcCi0JCS0tIFwKLQkJJChOVUxMKQotCiBleGVjdXRlX2FmdGVyX2Ro X2F1dG9fY2xlYW46CiAJQGlmIFsgImBlY2hvICouZGViYCIgIT0gIiouZGViIiBdOyB0aGVu IFwKIAkJZWNobzsgXAo=

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Apr 5 12:50:01 2025
    Processing control commands:

    retitle -1 game-data-packager: FTBFS: inkscape SIGABRT after throwing an instance of 'Gio::DBus::Error'
    Bug #1102099 [src:game-data-packager] game-data-packager: FTBFS: ninja: build stopped: subcommand failed.
    Changed Bug title to 'game-data-packager: FTBFS: inkscape SIGABRT after throwing an instance of 'Gio::DBus::Error'' from 'game-data-packager: FTBFS: ninja: build stopped: subcommand failed.'.
    tags -1 = confirmed
    Bug #1102099 [src:game-data-packager] game-data-packager: FTBFS: inkscape SIGABRT after throwing an instance of 'Gio::DBus::Error'
    Added tag(s) confirmed; removed tag(s) trixie, sid, patch, and ftbfs.

    --
    1102099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102099
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Simon McVittie@21:1/5 to All on Sun Apr 6 15:30:01 2025
    Control: tag -1 pending

    Hello,

    Bug #1102099 in game-data-packager reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/games-team/game-data-packager/-/commit/d38a7244dcb2dddad7399141dd9a83c4c1d1c343

    ------------------------------------------------------------------------
    Do not override dh_auto_build to wrap it in dbus-run-session

    This was done in order to avoid warnings from Inkscape and its
    dependencies when run non-interactively, but with current versions of
    Inkscape and its dependencies it crashes with an uncaught Gio::DBus::Error exception.

    [smcv: Expand commit message to explain why]
    Closes: #1102099 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1102099

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Apr 6 15:30:01 2025
    Processing control commands:

    tag -1 pending
    Bug #1102099 [src:game-data-packager] game-data-packager: FTBFS: inkscape SIGABRT after throwing an instance of 'Gio::DBus::Error'
    Added tag(s) pending.

    --
    1102099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102099
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Apr 6 17:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Sun, 06 Apr 2025 14:49:02 +0000
    with message-id <E1u1RJ0-00E4iq-Ci@fasolo.debian.org>
    and subject line Bug#1102099: fixed in game-data-packager 85
    has caused the Debian Bug report #1102099,
    regarding game-data-packager: FTBFS: inkscape SIGABRT after throwing an instance of 'Gio::DBus::Error'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1102099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102099
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 5 Apr 2025 01:21:51 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-121.1 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
    MD5_SHA1_SUM,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 65; hammy, 150; neutral, 199; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <sanvila@debian.org>