Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #389466

Bug#1102781: orthanc-webviewer: FTBFS: undefined reference to `DcmInputBufferStream::~DcmInputBufferStream()'

From Étienne Mollier <emollier@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1102781: orthanc-webviewer: FTBFS: undefined reference to `DcmInputBufferStream::~DcmInputBufferStream()'
Date 2025-04-13 12:00 +0200
Message-ID <KB2i5-dc0v-3@gated-at.bofh.it> (permalink)
References <KALTX-d1yl-13@gated-at.bofh.it> <KALTX-d1yl-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <emollier@debian.org>
 : :' :  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

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1102781: orthanc-webviewer: FTBFS: undefined reference to `DcmInputBufferStream::~DcmInputBufferStream()' Étienne Mollier <emollier@debian.org> - 2025-04-13 12:00 +0200
  Bug#1102781: orthanc-webviewer: FTBFS: undefined reference to `DcmInputBufferStream::~DcmInputBufferStream()' Sébastien Jodogne <s.jodogne@gmail.com> - 2025-04-14 11:50 +0200

csiph-web