Public bug reported:

orthanc-dicomweb 0.3+dfsg-1 has been recently imported from Debian,
unfortunately it FTBFS on all arches on zesty [1].

The failure is triggered when linking CXX shared library
libOrthancDicomWeb.so and causes quite a few "undefined reference" in
various objects (Dicom.cpp.o, ...)

The root cause is the out-of-order argument for the gdcm library. This
bug was introduced by the debian/patches/cmake (packaged since 1.1)
where cmake's target_link_libraries for gdcm libraries was replaced by a
manual reference in LINK_FLAGS. The issue is that libraries should never
be added to LINK_FLAGS (which behaves as LD_FLAGS in make) as they end
up being declared before the objects that need them, instead the correct
way is to rely on cmake's commands for that (there is no other
equivalent to make's LD_LIBS).

[1] https://launchpad.net/ubuntu/+source/orthanc-dicomweb/0.3+dfsg-1

** Affects: orthanc-dicomweb (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: orthanc-dicomweb (Debian)
     Importance: Unknown
         Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1671959

Title:
  orthanc-dicomweb 0.3+dfsg-1 ftbfs on all arches

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orthanc-dicomweb/+bug/1671959/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to