[Bug 1671955] Re: FTBFS: undefined references - affects zesty/all arches (orthanc-webviewer 2.2-1)
Bhavani Shankar
right2bshankar at gmail.com
Sun Mar 12 14:28:11 UTC 2017
Uploaded. Thanks!
** Changed in: orthanc-webviewer (Ubuntu)
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1671955
Title:
FTBFS: undefined references - affects zesty/all arches (orthanc-
webviewer 2.2-1)
Status in orthanc-webviewer package in Ubuntu:
Fix Committed
Status in orthanc-webviewer package in Debian:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orthanc-webviewer/+bug/1671955/+subscriptions
More information about the Ubuntu-sponsors
mailing list