Package: streamripper
Version: 1.64.6-4
Severity: serious
Tags: ftbfs patch
User: [email protected]
Usertags: origin-ubuntu stonking ubuntu-patch

Dear Maintainer,

streamripper fails to build from source because ./install-sh is not executable:

/bin/bash: line 1: ./install-sh: Permission denied
make[3]: *** [Makefile:647: install-binPROGRAMS] Error 126

Root cause:
In version 1.64.6-4, the package moved away from CDBS to dh with 
--without=autoreconf.
The upstream orig tarball has install-sh with 0664 permissions.
Because autoreconf is disabled, the build relies on ./install-sh during make 
install, which fails due to missing executable permissions.

Fix:
Make install-sh executable in override_dh_auto_configure before running 
dh_auto_configure.

Please find the patch attached.
In Ubuntu, this issue is tracked at:
https://bugs.launchpad.net/ubuntu/+source/streamripper/+bug/2169828
Description: Ensure install-sh is executable before configure
 In 1.64.6-4, the package moved away from CDBS to dh with --without=autoreconf.
 The upstream orig tarball has install-sh with 0664 permissions. Because
 autoreconf is disabled, make install executes ./install-sh directly, failing
 with 'Permission denied' (exit code 126).
Author: Viktor Pashaiev <[email protected]>
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2169828

--- a/debian/rules
+++ b/debian/rules
@@ -4,4 +4,5 @@
 	dh $@ --without=autoreconf
 
 override_dh_auto_configure:
+	chmod +x install-sh
 	dh_auto_configure -- --with-included-argv

Reply via email to