[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#806015: direwolf: FTBFS when built with dpkg-buildpackage -A (No such file or directory)



> chmod 644 debian/direwolf/usr/share/direwolf/dw-icon.png
> chmod: cannot access 'debian/direwolf/usr/share/direwolf/dw-icon.png': No such file or directory

Explanation: The "direwolf" package is architecture-dependent, so when
creating only the arch-independent packages, debian/direwolf/[...]
does simply not exist.

The trivial fix is to override dh_fixperms only when creating
the architecture-dependent packages (instead of always).

Patch attached.
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,6 @@ override_dh_auto_install:
 override_dh_auto_clean:
 	make -f Makefile.linux clean
 
-override_dh_fixperms:
+override_dh_fixperms-arch:
 	dh_fixperms
 	chmod 644 debian/direwolf/usr/share/direwolf/dw-icon.png
-

Reply to: