[Bug 1671959] [NEW] orthanc-dicomweb 0.3+dfsg-1 ftbfs on all arches

Launchpad Bug Tracker 1671959 at bugs.launchpad.net
Fri Mar 10 22:51:46 UTC 2017


You have been subscribed to a public bug by Tiago Stürmer Daitx (tdaitx):

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: New

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

-- 
orthanc-dicomweb 0.3+dfsg-1 ftbfs on all arches
https://bugs.launchpad.net/bugs/1671959
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list