Bug#1103215: magics++: FTBFS: /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&)'
Colin Watson
cjwatson at debian.org
Thu May 22 13:27:41 BST 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 at debian.org]
More information about the debian-science-maintainers
mailing list