Source: zutils
Version: 1.4~pre2-1
Severity: important
Tags: patch
Hi,
currently debian/rules uses either libc0.1-dev (on kFreeBSD) or
libc6-dev as reference package for the glibc Built-Using.
Since the libc SONAME is not the same everywhere (it's 0.3 on Hurd,
6.1 on alpha), a better fix would be to use a package from src:glibc
with the same name on every architecture. Thus, attached there is
a patch to use libc-dev-bin instead.
Thanks,
--
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -18,11 +18,7 @@ override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_gencontrol:
-ifeq (kfreebsd,$(DEB_HOST_ARCH_OS))
- dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc0.1-dev))"
-else
- dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc6-dev))"
-endif
+ dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))"
override_dh_strip:
dh_strip --dbg-package=zutils-dbg