[Bug 1671959] Re: FTBFS: undefined references - affects zesty/all arches (orthanc-dicomweb 0.3+dfsg-1)
Tiago Stürmer Daitx
1671959 at bugs.launchpad.net
Sat Mar 11 05:52:05 UTC 2017
** Summary changed:
- orthanc-dicomweb 0.3+dfsg-1 ftbfs on all arches
+ FTBFS: undefined references - affects zesty/all arches (orthanc-dicomweb 0.3+dfsg-1)
--
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/1671959
Title:
FTBFS: undefined references - affects zesty/all arches (orthanc-
dicomweb 0.3+dfsg-1)
Status in orthanc-dicomweb package in Ubuntu:
Confirmed
Status in orthanc-dicomweb package in Debian:
New
Bug description:
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/orthanc-dicomweb/+bug/1671959/+subscriptions
More information about the Ubuntu-sponsors
mailing list