Bug#310150: zaptel_1:1.0.7-4(i386/unstable): FTBFS: directories created with incorrect perms

Ryan Murray Ryan Murray <rmurray@debian.org>, 310150@bugs.debian.org
Sat, 21 May 2005 20:10:10 -0700


Package: zaptel
Version: 1:1.0.7-4
Severity: serious

There was an error while trying to autobuild your package:

> Automatic build of zaptel_1:1.0.7-4 on ninsei by sbuild/i386 33
> Build started at 20050521-2001

[...]

> ** Using build dependencies supplied by package:
> Build-Depends: debhelper (>> 4.0), libnewt-dev, dpatch, bzip2

[...]

> # make sure we do ship some documentation on how to deal with zaphfc
> install -d -m 644 debian/tmp/usr/share/doc/zaptel/examples/zaphfc
> install -d -m 644 debian/tmp/usr/share/doc/zaptel/examples/qozap

[...]

> chown: `debian/zaptel/usr/share/doc/zaptel/examples': Permission denied
> dh_installdocs: command returned error code 256
> make: *** [binary-arch] Error 1

A full build log can be found at:
http://buildd.debian.org/build.php?arch=i386&pkg=zaptel&ver=1:1.0.7-4

Your are creating directories with the bogus mode of 644.  You need to create
directories with the executable bit set. (ie: 755, instead)