Hi Mathieu, Hi Sébastien,
Dcmtk and Orthanc ecosystem seem tangled in difficult migration
to testing. There is the present bug #1102781 affecting the
package orthanc-webviewer, and there are also dcmtk excuses[1]
raising run time problems in orthanc and orthanc-wsi.
[1]:
https://qa.debian.org/excuses.php?package=dcmtk
Dcmtk needed a number of security patches lately, so it is
understandable if some things are hardly actionable on dcmtk
side, and on the other hand, we are in transition freeze for
almost a month now, so migration to testing will likely require
an unblock request. Per chance, do you have an idea what's up
and how to get back on tracks?
Excerpt from Santiago Vila's bug report:
[ 95%] Linking CXX shared library libOrthancWebViewer.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/OrthancWebViewer.dir/link.txt --verbose=1
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libOrthancFramework.a(FromDcmtkBridge.cpp.o): in function `Orthanc::SetString(DcmDataset&, DcmTag const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&) [clone .isra.0]':
(.text+0x158): undefined reference to `DcmItem::putAndInsertString(DcmTag const&, char const*, bool)'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libOrthancFramework.a(FromDcmtkBridge.cpp.o): in function `Orthanc::GetTagNameInternal(DcmTag&)':
(.text+0xe14): undefined reference to `DcmTag::getTagName()'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libOrthancFramework.a(FromDcmtkBridge.cpp.o): in function `Orthanc::FromDcmtkBridge::LoadExternalDictionaries(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::
allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
(.text+0x12a9): undefined reference to `dcmDataDict'
/usr/bin/ld: (.text+0x12b3): undefined reference to `GlobalDcmDataDictionary::wrlock()'
/usr/bin/ld: (.text+0x1353): undefined reference to `DcmDataDictionary::clear()'
[… trimmed a sprawl of linking issues …]
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libOrthancFramework.a(FromDcmtkBridge.cpp.o): in function `Orthanc::FromDcmtkBridge::SaveToMemoryBuffer(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&,
DcmDataset&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) [clone .cold]':
(.text.unlikely+0x3d7b): undefined reference to `DcmOutputBufferStream::~DcmOutputBufferStream()'
/usr/bin/ld: (.text.unlikely+0x3d83): undefined reference to `DcmFileFormat::~DcmFileFormat()'
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../../lib/libOrthancFramework.a(FromDcmtkBridge.cpp.o): in function `_GLOBAL__sub_I_FromDcmtkBridge.cpp':
(.text.startup+0xb91): undefined reference to `DiRegister::DiRegister()' /usr/bin/ld: (.text.startup+0xb98): undefined reference to `DiRegister::~DiRegister()'
collect2: error: ld returned 1 exit status
/usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>> [too-long-redacted] ncpp -lpugixml -luuid -lsqlite3
make[3]: *** [CMakeFiles/OrthancWebViewer.dir/build.make:242: libOrthancWebViewer.so.2.9] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[2]: *** [CMakeFiles/Makefile2:126: CMakeFiles/OrthancWebViewer.dir/all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/Build'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/Build'
dh_auto_build: error: cd Build && make -j2 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
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/
For information,
--
.''`. Étienne Mollier <
[email protected]>
: :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/1, please excuse my verbosity
`- on air: Leap Day - Mind The Gap
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmf7iNQACgkQeTz2fo8N EdpU9A/9F3FcdPV4mN/rzzNKB7qQqXO9+tpcwcS0snJVz4JAwJtyyJ2JDdVh/rax u+ZTVGsxlosA71NDg5kp11ZY90AShobhRfnu31B0a95RetXbvtDUlzmt55XbG9+6 CjF5DgirE+hi1vaP8Ty/yYIG6XO6T/vLiHjSp++ciqGNdoaWBEJtgA5gSeIVHWWJ gc5qn6gWMJnt6iOSNxljq0lEZKCD2OLSTttSqlvO6JBN8syjcj4O+YyZQTGr9bC4 eVka4KpoNq7hA+c0NOyEWAhT6yyWKsvfIrYRPzut63WIJS86Ajh4PwG89G0+1N1w 0HeHUCZW1RexC173YBp3be9hKQTFYtn/Eomjnij9gVfJsqTgaywxmbwcZnzuog/2 q8d3R7az6miJ2DgdxqYK1NeAhIPfV0yK0eJqXxp+oQXV6JKWdeK7r8/S/7ug2GEV ZxgQFuM5kihUFYJCa5k9ZbIHIFafihd8xy48lZWD+yzRwCZSt2aYeB0t4fVQjy6x ASb5z2+PJR4H+tpkKSUgbjSih7RkdxkGGKjusReRe7KVw4OlH71q3EKhmKX53QqP IcOKiwYwdT8QfyTNEOgRjGErWuiLohkFxHUdVXL0xfl4cJKRrLHzofB+EsjXPKaE H9rX7zA3Rrvk1g4P/aGweVbyHyWdszs+jAEc14kiAC