• Bug#1066788: gyoto: FTBFS: dh_auto_test: error: make -j8 check "TESTSUI

    From Lucas Nussbaum@21:1/5 to All on Wed Mar 13 16:10:27 2024
    Source: gyoto
    Version: 2.0.2-1.1
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240313 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[3]: Entering directory '/<<PKGBUILDDIR>>/yorick'
    Makefile:136: warning: overriding recipe for target 'check-dll' ../yorick/Makepkg:158: warning: ignoring old recipe for target 'check-dll' make[3]: 'check-lorene' is up to date.
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/yorick'
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 check-lorene returned exit code 2


    The full build log is available from: http://qa-logs.debian.net/2024/03/13/gyoto_2.0.2-1.1_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Apr 24 16:40:02 2024
    Processing control commands:

    tag -1 patch
    Bug #1066788 [src:gyoto] gyoto: FTBFS: dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 check-lorene returned exit code 2
    Added tag(s) patch.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to Lucas Nussbaum on Wed Apr 24 16:40:01 2024
    Control: tag -1 patch

    On Wed, Mar 13, 2024 at 03:56:54PM +0100, Lucas Nussbaum wrote:
    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[3]: Entering directory '/<<PKGBUILDDIR>>/yorick'
    Makefile:136: warning: overriding recipe for target 'check-dll' ../yorick/Makepkg:158: warning: ignoring old recipe for target 'check-dll' make[3]: 'check-lorene' is up to date.
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/yorick'
    make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    dh_auto_test: error: make -j8 check "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 check-lorene returned exit code 2

    A more relevant part was:

    ImportError: /<<PKGBUILDDIR>>/python/gyoto/_std.cpython-311-x86_64-linux-gnu.so: undefined symbol: _ZN5Gyoto7AstrobjlsERSoRKNS0_14PolishDoughnutE

    I sent a patch for this upstream as
    https://github.com/gyoto/Gyoto/pull/17. Here's a patch to fix the
    Debian package in the meantime.

    --
    Colin Watson (he/him) [cjwatson@debian.org]

    From 19e6f4bcdc33cbd7995027bf56ec3b5a7125ea5f Mon Sep 17 00:00:00 2001
    From: Colin Watson <cjwatson@debian.org>
    Date: Wed, 24 Apr 2024 15:25:19 +0100
    Subject: [PATCH] Remove undefined operator<< declaration for PolishDoughnut

    Closes: #1066788
    ---
    debian/changelog | 7 ++++++
    .../patches/remove-polish-doughnut-operator | 25 +++++++++++++++++++
    debian/patches/series | 1 +
    3 files changed, 33 insertions(+)
    create mode 100644 debian/patches/remove-polish-doughnut-operator

    diff --git a/debian/changelog b/debian/changelog
    index 8f74908..0188483 100644
    --- a/debian/changelog
    +++ b/debian/changelog
    @@ -1,3 +1,10 @@
    +gyoto (2.0.2-1.2) UNRELEASED; urgency=medium
    +
    + * Remove undefined operator<< declaration for PolishDoughnut (closes:
    + #1066788).
    +
    + -- Colin Watson <cjwatson@debian.org> Wed, 24 Apr 2024 14:32:29 +0100
    +
    gyoto (2.0.2-1.1) unstable; urgency=medium

    * Non-maintainer upload.
    diff --git a/debian/patches/remove-polish-doughnut-operator b/debian/patches/remove-polish-doughnut-operator
    new file mode 100644
    index 0000000..ead15f5
    --- /dev/null
    +++ b/debian/patches/remove-polish-doughnut-operator
    @@ -0,0 +1,25 @@
    +Description: Remove undefined operato