Bug#82403: hylafax_4.1beta2-1(unstable): non-executable script during building
Package: hylafax
Version: 4.1beta2-1
Severity: Important
I just tried to recompile hylafax for m68k, but it failed with:
> /usr/bin/sudo debian/rules clean DEB_BUILD_ARCH=m68k DEB_BUILD_GNU_CPU=m68k DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=m68k-linux DEB_HOST_ARCH=m68k DEB_HOST_GNU_CPU=m68k DEB_HOST_GNU_SYSTEM=linux DEB_HOST_GNU_TYPE=m68k-linux
> debian/yada rebuild rules
> make: execvp: debian/yada: Permission denied
> make: *** [debian/rules] Error 127
Since debian/yada is a new file introduced by the Debian patch,
its permissions are not preserved in the Debian source format. (File
modes cannot be represented in a patch.) So the file is *not*
executable after unpacking the source with dpkg-source -x.
As a solution, either call the script with the interpreter directly
named, e.g.
/bin/sh debian/yada
or make it executable before calling it:
chmod +x debian/yada
./debian/yada
Since this is a "cannot build from source" type bug, it is to be
considered important. (See Debian developer's reference.)
A complete build log can be found at
http://m68k.debian.org/buildd/logs/hylafax_4.1beta2-1_20010113-0747
Reply to: