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

Re: dpkg-buildpackage -rfakeroot error



On Sun, Aug 11, 2002 at 01:29:19PM -0400, Matt Zimmerman wrote:
> On Sun, Aug 11, 2002 at 02:12:25PM +0200, Daniel Kobras wrote:
> > Rather 'chmod +x /usr/bin/make' according to the error message.  Weird.
> 
> It is a confusing (confused) error message.  The permission problem is with
> the script, not the interpreter.

Huh?

% chmod a-x debian/rules
% dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package is noflushd
dpkg-buildpackage: source version is 2.6.3-1
dpkg-buildpackage: source maintainer is Daniel Kobras <kobras@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
sh: line 1: debian/rules: Permission denied
% chmod a+x debian/rules
% sudo chmod a-x /usr/bin/make
% dpkg-buildpackage -rfakeroot -us -uc
dpkg-buildpackage: source package is noflushd
dpkg-buildpackage: source version is 2.6.3-1
dpkg-buildpackage: source maintainer is Daniel Kobras <kobras@debian.org>
dpkg-buildpackage: host architecture is i386
 fakeroot debian/rules clean
sh: debian/rules: /usr/bin/make: bad interpreter: Permission denied

The last line exactly matches the original error messages.  Clearly not
a problem with debian/rules, but with make.

Regards,

Daniel.



Reply to: