tags 806221 + patch
thanks

> echo /usr/lib/x86_64-linux-gnu/fakechroot > 
> debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf
> /bin/sh: 1: cannot create 
> debian/libfakechroot/etc/ld.so.conf.d/fakechroot-x86_64-linux-gnu.conf: 
> Directory nonexistent
> debian/rules:17: recipe for target 'override_dh_auto_install' failed

Explanation: We are creating arch-independent packages only, so
debian/libfakechroot does not exist.

The trivial fix is to override dh_auto_install only when creating
arch-dependent packages (not always), as in the following patch.

Thanks.
diff --git a/debian/rules b/debian/rules
index c0ac9d4..0aac503 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,6 @@ endif
 override_dh_auto_configure:
        dh_auto_configure -- --enable-dependency-tracking --with-libpath=no V=1 
EXTRA_CFLAGS='-Wall' PROVEFLAGS="$(PROVEFLAGS)"
 
-override_dh_auto_install:
+override_dh_auto_install-arch:
        dh_auto_install --parallel
        echo /usr/lib/$(DEB_HOST_MULTIARCH)/fakechroot > 
debian/libfakechroot/etc/ld.so.conf.d/fakechroot-$(DEB_HOST_MULTIARCH).conf

Reply via email to