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

Bug#91755: knews_1.0b.1-4(unstable): non-executable script during building



Package: knews
Version: 1.0b.1-4
Severity: Serious

I just tried to recompile knews 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 serious. (See Debian developer's reference.)

A complete build log can be found at
http://m68k.debian.org/buildd/logs/knews_1.0b.1-4_20010322-0158



Reply to: