• Bug#1103215: magics++: FTBFS: /usr/bin/ld: /usr/lib/x86_64-linux-gnu/li

    From Santiago Vila@21:1/5 to All on Tue Apr 15 02:30:02 2025
    Package: src:magics++
    Version: 4.16.0-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

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

    --------------------------------------------------------------------------------
    [...]

    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::UserError::UserError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::SeriousBug::SeriousBug(char const*, eckit::CodeLocation const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::NotImplemented::NotImplemented(eckit::CodeLocation const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::CantOpenFile::CantOpenFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, eckit::CodeLocation const&, bool)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::FailedSystemCall::FailedSystemCall(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    collect2: error: ld returned 1 exit status
    /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>> [too-long-redacted] /libeccodes.so.0 -lm -lstdc++fs
    make[3]: *** [apps/metgram/CMakeFiles/metgramx.dir/build.make:119: bin/metgramx] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:1659: apps/metgram/CMakeFiles/metgramx.dir/all] Error 2
    make[2]: *** Waiting for unfinished jobs.... --------------------------------------------------------------------------------

    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:magics++, 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)
  • From Colin Watson@21:1/5 to Santiago Vila on Thu May 22 14:30:02 2025
    On Tue, Apr 15, 2025 at 12:24:21AM +0000, Santiago Vila wrote:
    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]

    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::UserError::UserError(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::SeriousBug::SeriousBug(char const*, eckit::CodeLocation const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::NotImplemented::NotImplemented(eckit::CodeLocation const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::CantOpenFile::CantOpenFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, eckit::CodeLocation const&, bool)'
    /usr/bin/ld: /usr/lib/x86_64-linux-gnu/libodccore.so.0d: undefined reference to `eckit::FailedSystemCall::FailedSystemCall(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
    collect2: error: ld returned 1 exit status
    /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>> [too-long-redacted] /libeccodes.so.0 -lm -lstdc++fs
    make[3]: *** [apps/metgram/CMakeFiles/metgramx.dir/build.make:119: bin/metgramx] Error 1
    make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
    make[2]: *** [CMakeFiles/Makefile2:1659: apps/metgram/CMakeFiles/metgramx.dir/all] Error 2
    make[2]: *** Waiting for unfinished jobs.... >--------------------------------------------------------------------------------

    I tried building this on both unstable and testing, and it seems to
    build cleanly now. Based on the errors, I suspect that it may have been
    fixed by something like a change in eckit, rather than having been a
    problem in magics++. Could you please check whether it still fails for
    you?

    Thanks,

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Thu May 22 15:20:01 2025
    My debbisect did not finish yet, but I guess this is actually #1103637 in eckit.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Santiago Vila@21:1/5 to All on Thu May 22 17:20:02 2025
    Just for the record. This is the outcome from debbisect.

    bisection finished successfully
    last bad timestamp: 20250519T084152Z
    first good timestamp: 20250519T143436Z
    the following packages differ between the last bad and first good timestamp:
    libeckit-dev:amd64 1.29.1-1 -> 1.29.1+really.1.28.7-1
    libeckit-utils 1.29.1-1 -> 1.29.1+really.1.28.7-1
    libeckit0d:amd64 1.29.1-1 -> 1.29.1+really.1.28.7-1
    libegl-mesa0:amd64 25.0.5-1 -> 25.0.5-2
    libgbm1:amd64 25.0.5-1 -> 25.0.5-2
    libgl1-mesa-dri:amd64 25.0.5-1 -> 25.0.5-2
    libglx-mesa0:amd64 25.0.5-1 -> 25.0.5-2
    mesa-libgallium:amd64 25.0.5-1 -> 25.0.5-2

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