Bug#840346: qjoypad: FTBFS: install: cannot create regular file '/usr/bin/qjoypad': Permission denied

2016-10-12 Thread Stephen Kitt
On Wed, 12 Oct 2016 08:56:04 +0200, Stephen Kitt  wrote:
> On Mon, 10 Oct 2016 20:12:05 +0100, Chris Lamb  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


pgp53pMpJmATV.pgp
Description: OpenPGP digital signature


Bug#840346: qjoypad: FTBFS: install: cannot create regular file '/usr/bin/qjoypad': Permission denied

2016-10-12 Thread Stephen Kitt
Control: tag -1 + patch

On Mon, 10 Oct 2016 20:12:05 +0100, Chris Lamb  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/rules2016-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
 

I'm pushing the fix to the git repository; Jordan, do you want to prepare the
upload, or shall I?

Regards,

Stephen


pgp8spz9ABDjH.pgp
Description: OpenPGP digital signature


Processed: Re: Bug#840346: qjoypad: FTBFS: install: cannot create regular file '/usr/bin/qjoypad': Permission denied

2016-10-12 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + patch
Bug #840346 [src:qjoypad] qjoypad: FTBFS: install: cannot create regular file 
'/usr/bin/qjoypad': Permission denied
Added tag(s) patch.

-- 
840346: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840346
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#840346: qjoypad: FTBFS: install: cannot create regular file '/usr/bin/qjoypad': Permission denied

2016-10-10 Thread Chris Lamb
Source: qjoypad
Version: 4.1.0-1
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

qjoypad fails to build from source in unstable/amd64:

  [..]

  Unrecognized argument: "--build=x86_64-linux-gnu". Try ./config --help for 
help.
  Unrecognized argument: "--includedir=${prefix}/include". Try ./config --help 
for help.
  Unrecognized argument: "--mandir=${prefix}/share/man". Try ./config --help 
for help.
  Unrecognized argument: "--infodir=${prefix}/share/info". Try ./config --help 
for help.
  Unrecognized argument: "--sysconfdir=/etc". Try ./config --help for help.
  Unrecognized argument: "--localstatedir=/var". Try ./config --help for help.
  Unrecognized argument: "--disable-silent-rules". Try ./config --help for help.
  Unrecognized argument: "--libdir=${prefix}/lib/x86_64-linux-gnu". Try 
./config --help for help.
  Unrecognized argument: "--libexecdir=${prefix}/lib/x86_64-linux-gnu". Try 
./config --help for help.
  Unrecognized argument: "--disable-maintainer-mode". Try ./config --help for 
help.
  Unrecognized argument: "--disable-dependency-tracking". Try ./config --help 
for help.
  
  Configuring QJoyPad installation...
  
  
  Device directory: /dev/input
  -- Devices will be looked for in:
   /dev/input/js0
   /dev/input/js1
   etc.
  
  Prefix directory: /usr
  -- Files to be installed in:
   /usr/bin
   /usr/doc
   /usr/share/pixmaps
 
  -
  If these settings are okay, go ahead and run 'make' and
  then 'make install'.
  
  To make changes, run ./config --help for details.
  
cd 
/home/lamby/temp/cdt.20161010195037.zGodkkFGjv.db.qjoypad/qjoypad-4.1.0
 dh_auto_build -O--sourcedirectory=src
cd src
make -j1
  make[1]: Entering directory 
'/home/lamby/temp/cdt.20161010195037.zGodkkFGjv.db.qjoypad/qjoypad-4.1.0/src'
  g++ -c -m64 -pipe -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20161010195037.zGodkkFGjv.db.qjoypad/qjoypad-4.1.0=.
 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -O2 -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" 
-DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" 
-DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. 
-o axis.o axis.cpp
  In file included from axis.h:13:0,
   from axis.cpp:1:
  error.h:21:13: warning: 'void debug_mesg(...)' defined but not used 
[-Wunused-function]
   static void debug_mesg(...) {
   ^~
  error.h:8:13: warning: 'void error(QString, QString)' defined but not used 
[-Wunused-function]
   static void error(QString type, QString message ) {
   ^
  g++ -c -m64 -pipe -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20161010195037.zGodkkFGjv.db.qjoypad/qjoypad-4.1.0=.
 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -O2 -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" 
-DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" 
-DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. 
-o axis_edit.o axis_edit.cpp
  In file included from axis.h:13:0,
   from axis_edit.h:5,
   from axis_edit.cpp:1:
  error.h:21:13: warning: 'void debug_mesg(...)' defined but not used 
[-Wunused-function]
   static void debug_mesg(...) {
   ^~
  error.h:8:13: warning: 'void error(QString, QString)' defined but not used 
[-Wunused-function]
   static void error(QString type, QString message ) {
   ^
  g++ -c -m64 -pipe -g -O2 
-fdebug-prefix-map=/home/lamby/temp/cdt.20161010195037.zGodkkFGjv.db.qjoypad/qjoypad-4.1.0=.
 -fPIE -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -O2 -Wall -W -D_REENTRANT -DDEVDIR=\"/dev/input\" 
-DICON24=\"/usr/share/pixmaps/qjoypad/icon24.png\" 
-DICON64=\"/usr/share/pixmaps/qjoypad/icon64.png\" -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. 
-o axisw.o axisw.cpp
  In file included from axis.h:13:0,
   from axisw.h:6,
   from axisw.cpp:1:
  error.h:21:13: warning: 'void debug_mesg(...)' defined but not used 
[-Wunused-function]
   static void debug_mesg(...) {
   ^~
  error.h:8:13: warning: 'void error(QString, QString)' defined but not used 
[-Wunused-function]