Package: beep Version: 1.2.2-23 Severity: serious Tags: patch d-i X-Debbugs-CC: debian-b...@lists.debian.org
The udeb does not get a correct dependency on libc6-udeb, but instead depends on the regular libc6 package. Personally I would recommend a switch to debhelper for the packaging as it's by far the simplest method to correctly build packages that have udebs, but if you want to avoid that, the attached patch will also get the correct dependencies. Only strange thing is that dpkg-shlibdeps versions the dependency for the deb as (>= 2.7), but for the udeb as (>= 2.10). I've been unable to find out why, but for us it does not matter.
diff -u beep-1.2.2/debian/rules beep-1.2.2/debian/rules --- beep-1.2.2/debian/rules +++ beep-1.2.2/debian/rules @@ -34,7 +34,7 @@ clean: unpatch $(checkdir) $(checkroot) - -rm -rf $(TMP1) $(TMP2) debian/substvars debian/files build-stamp + -rm -rf $(TMP1) $(TMP2) debian/beep.substvars debian/beep-udeb.substvars debian/files build-stamp [ ! -f beep ] || $(MAKE) clean @@ -86,13 +86,14 @@ $(INSTALL_SCRIPT) debian/postinst debian/postrm debian/config \ $(TMP1)/DEBIAN po2debconf debian/templates > $(TMP1)/DEBIAN/templates - dpkg-shlibdeps -Tdebian/substvars -dDepends $(TMP1)/usr/bin/beep - dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars -p$(PKG1) \ + dpkg-shlibdeps -Tdebian/beep.substvars -dDepends $(TMP1)/usr/bin/beep + dpkg-shlibdeps -Tdebian/beep-udeb.substvars -dDepends $(TMP2)/usr/bin/beep -tudeb + dpkg-gencontrol -ldebian/changelog -isp -Tdebian/beep.substvars -p$(PKG1) \ -P$(TMP1) cd $(TMP1) && find * -type f ! -regex '^DEBIAN/.*' -print0 | \ xargs -r0 md5sum > DEBIAN/md5sums dpkg --build $(TMP1) .. - dpkg-gencontrol -ldebian/changelog -isp -Tdebian/substvars -p$(PKG2) \ + dpkg-gencontrol -ldebian/changelog -isp -Tdebian/beep-udeb.substvars -p$(PKG2) \ -P$(TMP2) -UHomepage -n$(PKG2)_$(VERSION)_$(ARCH).udeb dpkg --build $(TMP2) ../$(PKG2)_$(VERSION)_$(ARCH).udeb