Re: dpkg-buildpackage -rfakeroot error
Hi Bart Schuller, sh: debian/rules: /usr/bin/make: bad interpreter: Permission denied chmod +x debian/rules Of course! Thanks Bart and Daniel. The resulting diff of debian/rules to compile in POSIX regular expression support for CLISP is below. 28a29 --with-module=regexp \ Regards, Adam
Re: dpkg-buildpackage -rfakeroot error
On Sun, Aug 11, 2002 at 11:54:34PM +1200, Adam Warner wrote: Could someone please help me interpret this clisp 2.28 build error: $dpkg-buildpackage -rfakeroot dpkg-buildpackage: source package is clisp dpkg-buildpackage: source version is 1:2.28-1 dpkg-buildpackage: source maintainer is Will Newton [EMAIL PROTECTED] dpkg-buildpackage: host architecture is i386 fakeroot debian/rules clean sh: debian/rules: /usr/bin/make: bad interpreter: Permission denied chmod +x debian/rules -- - mdz
Re: dpkg-buildpackage -rfakeroot error
On Sun, Aug 11, 2002 at 02:12:25PM +0200, Daniel Kobras wrote: On Sun, Aug 11, 2002 at 02:05:23PM +0200, Bart Schuller wrote: chmod +x debian/rules 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. -- - mdz
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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.
Re: dpkg-buildpackage -rfakeroot error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 11 August 2002 18:52, Daniel Kobras wrote: % chmod a-x debian/rules *Ahem* chmod a+x debian/rules Paul Cupis - -- [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9VrUQIzuKV+SHX/kRAuugAJ9rpyEwDp7eQ+Bb+H1jvTnVG9lROgCdFGEH WcMPVZ7+WRp3rLcdU3ZxNHs= =E1tp -END PGP SIGNATURE-
Re: dpkg-buildpackage -rfakeroot error
On 11/08/2002 Daniel Kobras wrote: % chmod a+x debian/rules % sudo chmod a-x /usr/bin/make First line right, second is moronic. /usr/bin/make is a binary, it must be executable. bye mejo
Re: dpkg-buildpackage -rfakeroot error
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sunday 11 August 2002 20:03, Paul Cupis wrote: On Sunday 11 August 2002 18:52, Daniel Kobras wrote: % chmod a-x debian/rules *Ahem* chmod a+x debian/rules Never mind. /me smacks himself Paul Cupis - -- [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9VrhmIzuKV+SHX/kRAiXpAKCE+4eh8FHqb8BeSz/l1esRhxdIkwCfRQYX qrYGt1qB9+Jt7muqEtWGYNY= =VArT -END PGP SIGNATURE-
Re: dpkg-buildpackage -rfakeroot error
On Sun, Aug 11, 2002 at 07:52:04PM +0200, Daniel Kobras wrote: 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? [snip proof by example] The last line exactly matches the original error messages. Clearly not a problem with debian/rules, but with make. Oh yes, clearly. mizar:[/tmp/test] cat test #!/usr/bin/doesnt-even-exist mizar:[/tmp/test] ls -l total 4 -rw-r--r--1 mdz mdz29 2002-08-11 16:08 test mizar:[/tmp/test] sh -c ./test sh: line 1: ./test: Permission denied mizar:[/tmp/test] chmod 611 test mizar:[/tmp/test] ls -l test -rw---x--x1 mdz mdz29 2002-08-11 16:08 test mizar:[/tmp/test] sh -c ./test sh: ./test: /usr/bin/doesnt-even-exist: bad interpreter: Permission denied -- - mdz