Bug#1111132: libtag-dev: Problematic dependency/usage on dpkg-dev
Package: libtag-dev
Version: 2.0.2-2
Severity: normal
X-Debbugs-Cc: debian-cross@lists.debian.org
Hi!
The libtag-dev has a run-time dependency on dpkg-dev, because its
taglib-config.cmake has been patched to use dpkg-architecture to fetch
the DEB_HOST_MULTIARCH variable.
Given that this is a -dev package, the run-time dependency on dpkg-dev
(which pulls in the entire build-essential is less of an issue), but
I still think the current reason for the dependency is problematic.
The patch that changes taglib-config.cmake describes that it is making
the file arch-independent, but the file is getting installed in an
multiarch qualified pathname anyway. Then the dpkg-architecture call
can end up producing an unexpected result in a cross-building
situation when cmake finds it for an arch but that file might end up
referencing another libdir (because dpkg-architecture will honor the
already set environment variables).
If the problem was that cmake was getting the wrong libdir to
substitute in the build, then perhaps that should be looked at instead,
but I'd assume debhelper is nowadays passing the correct options.
Thanks,
Guillem
Reply to: