Bug#445852: dpkg-buildpackage: fails with perl errors

2007-10-09 Thread Giovanni Mascellani
All'incirca Mon, 8 Oct 2007 22:16:21 +0200,  Frank Lichtenheld
[EMAIL PROTECTED] sembrerebbe aver scritto:

 These don't look like perl errors, but like shell errors. Somehow the
 perl script gets executed as shell script. Do you have dpkg-cross
 installed?

Hmm, but why does it happens? I have dpkg-cross installed, but I can't
see what does this mean. Sorry, I'm not very expert with Perl!

Giovanni.
-- 
Giovanni Mascellani [EMAIL PROTECTED]
Pisa, Italy

Web: http://giomasce.altervista.org
SIP: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED] / [EMAIL PROTECTED]
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)



signature.asc
Description: PGP signature


Bug#445852: dpkg-buildpackage: fails with perl errors

2007-10-09 Thread Raphael Hertzog
On Tue, 09 Oct 2007, Giovanni Mascellani wrote:
 All'incirca Mon, 8 Oct 2007 22:16:21 +0200,  Frank Lichtenheld
 [EMAIL PROTECTED] sembrerebbe aver scritto:
 
  These don't look like perl errors, but like shell errors. Somehow the
  perl script gets executed as shell script. Do you have dpkg-cross
  installed?
 
 Hmm, but why does it happens? I have dpkg-cross installed, but I can't
 see what does this mean. Sorry, I'm not very expert with Perl!

It means that dpkg-cross diverted /usr/bin/dpkg-buildpackage and installed
its own copy of that file. That copy reuses the original dpkg-buildpackage
by sourcing it, and thus making the assumption that's it's written in shell. 
That assumption has been broken by the latest upload. 

So this is really a dpkg-cross bug.

See 
http://www.linux.codehelp.co.uk/serendipity/index.php?/archives/54-dpkg-cross-2.0.0-fragility-expected!.html

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/





Bug#445852: dpkg-buildpackage: fails with perl errors

2007-10-08 Thread Giovanni Mascellani
Package: dpkg-dev
Version: 1.14.7
Severity: important

--- Please enter the report below this line. ---
When compiling a package with dpkg-buildpackage I receive these Perl
errors:

$ dpkg-buildpackage -rfakeroot
/usr/bin/dpkg-buildpackage.orig: line 3: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 4: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 6: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 7: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 9: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 10: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 11: use: command not found
/usr/bin/dpkg-buildpackage.orig: line 13: syntax error near unexpected
token [EMAIL PROTECTED],' /usr/bin/dpkg-buildpackage.orig: line 13: `push (@INC,
$dpkglibdir);'
$ 

I tried to downgrade, and with version 1.14.6 it is all ok. I have the
latest version of Perl present in unstable.

Thank you for your great work,
Giovanni.

--- System information. ---
Architecture: i386
Kernel:   Linux 2.6.22-2-686

Debian Release: lenny/sid
  500 unstable127.0.0.1 
  500 testing 127.0.0.1 
  500 stable  wine.budgetdedicated.com 
  500 stable  127.0.0.1 

--- Package information. ---
Depends (Version) | Installed
=-+-=
dpkg  (= 1.14.6) | 1.14.7
perl5 | 
perl-modules  | 5.8.8-11
cpio (= 2.4.2-2) | 2.9-4
patch  (= 2.2-1) | 2.5.9-4
make  | 3.81-3
binutils  | 2.18-1

-- 
Giovanni Mascellani [EMAIL PROTECTED]
Pisa, Italy

Web: http://giomasce.altervista.org
SIP: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED] / [EMAIL PROTECTED]
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD  003F FCB0 BB5C 5F1F BF70)



signature.asc
Description: PGP signature


Bug#445852: dpkg-buildpackage: fails with perl errors

2007-10-08 Thread Frank Lichtenheld
On Mon, Oct 08, 2007 at 05:47:39PM +0200, Giovanni Mascellani wrote:
 --- Please enter the report below this line. ---
 When compiling a package with dpkg-buildpackage I receive these Perl
 errors:
 
 $ dpkg-buildpackage -rfakeroot
 /usr/bin/dpkg-buildpackage.orig: line 3: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 4: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 6: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 7: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 9: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 10: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 11: use: command not found
 /usr/bin/dpkg-buildpackage.orig: line 13: syntax error near unexpected
 token [EMAIL PROTECTED],' /usr/bin/dpkg-buildpackage.orig: line 13: `push 
 (@INC,
 $dpkglibdir);'
 $ 
 
 I tried to downgrade, and with version 1.14.6 it is all ok. I have the
 latest version of Perl present in unstable.

These don't look like perl errors, but like shell errors. Somehow the
perl script gets executed as shell script. Do you have dpkg-cross
installed?

Gruesse,
-- 
Frank Lichtenheld [EMAIL PROTECTED]
www: http://www.djpig.de/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]