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

Bug#263766: dpkg-dev: dpkg-buildpackage should check/fix permissions of debian/rules



Package: dpkg-dev
Version: 1.10.20
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hey there,  basically, i have this happen to me a whole lot:

dpkg-buildpackage: source package is $package
dpkg-buildpackage: source version is $version
dpkg-buildpackage: source maintainer is $maintainer
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
 /usr/bin/fakeroot: line 133: debian/rules: Permission denied

which will happen if you've applied a diff to an orig.tar.gz and
haven't changed the permissions yourself.  what do you think of either

a) having dpkg-buildpackage chmod +x debian/rules if the permissions
   don't allow it

   or

b) execute 

   fakeroot make -f debian/rules 

   instead of fakeroot debian/rules
 
?


	sean

- -- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.4-1-686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages dpkg-dev depends on:
ii  binutils                   2.14.90.0.7-6 The GNU assembler, linker and bina
ii  cpio                       2.5-1.1       GNU cpio -- a program to manage ar
ii  make                       3.80-6        The GNU version of the "make" util
ii  patch                      2.5.9-1       Apply a diff file to an original
ii  perl [perl5]               5.8.3-3       Larry Wall's Practical Extraction 
ii  perl-modules               5.8.3-3       Core Perl modules.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBEmuZynjLPm522B0RAlHxAJ4kpg72wb2Sl7wAfsBqExjkjjsmyACbBQLb
Q143dawZp5J5b6hU6s2Go+I=
=xqLN
-----END PGP SIGNATURE-----



Reply to: