Bug#840346: qjoypad: FTBFS: install: cannot create regular file '/usr/bin/qjoypad': Permission denied
Stephen Kitt
lists at sk2.org
Wed Oct 12 07:20:18 UTC 2016
On Wed, 12 Oct 2016 08:56:04 +0200, Stephen Kitt <skitt at debian.org> wrote:
> On Mon, 10 Oct 2016 20:12:05 +0100, Chris Lamb <lamby at debian.org> wrote:
> > qjoypad fails to build from source in unstable/amd64:
>
> Thanks for filing this, the following patch fixes the build:
>
> --- debian/rules.orig 2016-10-12 08:50:16.827628161 +0200
> +++ debian/rules 2016-10-12 08:50:43.104370126 +0200
> @@ -20,6 +20,6 @@
> rm -f src/*.png
>
> override_dh_auto_install:
> - dh_auto_install --destdir=debian/tmp
> + dh_auto_install --destdir=debian/tmp -- INSTALL_ROOT=$${PWD}/debian/tmp
> install -D -m 0644 debian/qjoypad.desktop debian/tmp/usr/share/applications/qjoypad.desktop
That was based on an older incarnation of debian/rules; the correct patch is
--- a/debian/rules
+++ b/debian/rules
@@ -14,4 +14,4 @@ export QMAKE_LFLAGS_DEBUG="$(shell dpkg-buildflags --get LDFLAGS)"
dh $@ --sourcedirectory=src
override_dh_auto_install:
- dh_auto_install --destdir=debian/tmp
+ dh_auto_install --destdir=debian/tmp -- INSTALL_ROOT=$${PWD}/debian/tmp
Regards,
Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20161012/a452d294/attachment.sig>
More information about the Pkg-games-devel
mailing list