[Debian-med-packaging] Bug#635300: libinsighttoolkit3-dev: do not export library dependencies with full paths

Michael Schutte michi at debian.org
Sun Jul 24 21:17:00 UTC 2011


Package: libinsighttoolkit3-dev
Version: 3.20.0-10
Severity: normal

To support transitive linking for its reverse dependencies, the package
ships /usr/lib/InsightToolkit/ITKLibraryDepends.cmake, containing not
only the names but also the absolute paths to the shared objects at the
time of building.

This is obviously a bad idea because it will make every ITK-based
package FTBFS whenever a library path changes (which currently happens
frequently due to multiarch).  Rather than rebuilding insighttoolkit
each and every time, it is preferable to completely replace this brittle
solution.

I don’t know how difficult this will be, and whether the rdeps will have
to be fixed as well.  Possible solutions (off the top of my head) could
include getting rid of the paths altogether, or replacing them with
variables whose values have to be determined by the rdeps at their build
time.

Cheers,
-- 
Michael Schutte                   | michi@{uiae.at,debian.org}
Innsbruck, Austria                | happily accepting encrypted mail
OpenPGP: 0x16fb 517b a866 c3f6 8f11 1485 f3e4 122f 1D8C 261A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20110724/eb81f707/attachment-0001.pgp>


More information about the Debian-med-packaging mailing list