[Pkg-gnupg-maint] Bug#545268: gnupg: FTBFS against debhelper << 7.2.3, workaround for missing dh_bugfiles broken

Andreas Metzler ametzler at downhill.at.eu.org
Sun Sep 6 06:42:07 UTC 2009


Package: gnupg
Version: 1.4.10-1
Severity: minor
Tags: patch

Hello,

gnupg FTBFS on lenny:
---------------------------------------------------------
dh_installudev
which dh_bugfiles && dh_bugfiles
make: *** [binary-arch] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status 2
---------------------------------------------------------


"which dh_bugfiles && dh_bugfiles" exits with nonzero exit code if
dh_bugfiles is not present. The fix is simple:
--- gnupg-1.4.10/debian/rules
+++ gnupg-1.4.10/debian/rules
@@ -103,7 +103,7 @@
        dh_installinfo doc/gnupg1.info
        dh_installman
        dh_installudev
-       which dh_bugfiles && dh_bugfiles
+       if which dh_bugfiles ; then dh_bugfiles ; fi
        dh_link
        dh_strip
        dh_compress

thanks, cu andreas






More information about the Pkg-gnupg-maint mailing list