Public bug reported:

orthanc-webviewer 2.2-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
libOrthancWebViewer.so and causes quite a few "undefined reference" in
GdcmImageDecoder.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 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-webviewer/2.2-1

** Affects: orthanc-webviewer (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: orthanc-webviewer (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/1671955

Title:
  orthanc-webviewer 2.2-1 ftbfs on all arches

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

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

Reply via email to