Mailinglist Archive: opensuse-packaging (249 mails)

< Previous Next >
Re: [opensuse-packaging] rpmlint: sh: /usr/bin/python: No such file or directory
  • From: Andreas Jaeger <aj@xxxxxxxxxx>
  • Date: Mon, 8 Nov 2010 14:35:56 +0100
  • Message-id: <201011081435.56531.aj@xxxxxxxxxx>
On Monday 08 November 2010 14:30:07 Hannes Reinecke wrote:
On 11/08/2010 02:17 PM, Cristian Rodríguez wrote:
El 08/11/10 10:09, Andreas Jaeger escribió:
I see quite often when building (check e.g. osc remotebuildlog
home:a_jaeger:branches:openSUSE:Factory haveged Factory_snapshot i586)
the following:

RPMLINT report:
===============
sh: /usr/bin/python: No such file or directory

but this is followed by normal rpmlint output. Python really does not
seem to be installed in the chroot.

Any ideas what's going on here?

Seeing it here as well, since a lot of time, no idea what's behind it
though.

shell magic.

Calling a script directly will start the interpreter specified in
the '#!' line.

Calling it with 'sh <script>' will fail to do so.
So it looks as if someone calls 'rpmlint' with

sh rpmlint

should work if the 'sh' is removed.

It's something called by rpmlint, as rpmlint is run correctly...

Andreas
--
Andreas Jaeger, Program Manager openSUSE, aj@{novell.com,opensuse.org}
Twitter: jaegerandi | Identica: jaegerandi
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups