Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] "W: non-executable-script" for files which are executable in the sources
  • From: Florian Höch <lists+opensusebuildservice@xxxxxxxxx>
  • Date: Mon, 18 Jun 2012 22:22:05 +0200
  • Message-id: <>
But in my case, those files _are_ meant to be run on their own as well
as being imported. This is very common in the python world. I'm not sure
why %install does break this without good reason?
But if I understand you correctly I should better repost that question
to the packaging maillist.

Am 18.06.2012 22:05, schrieb Dominique Leuenberger a.k.a DimStar:
Quoting Florian Höch <lists+opensusebuildservice@xxxxxxxxx>:

I get the above warning for some files in the following package:

rpmlint log for Factory i586:

dispcalGUI.i586: W: non-executable-script
0644L /usr/bin/env

Very likely, the steps in %install do not add the -x flag to those
files... which is not even wrong: the scripts are to be imported by
other python files and are not meant to be 'ran' on their own.

As such, the shebang at the beginning of them is actually wrong (there
should not be one).



PS: This kind of quiestion actually belongs on the -packaging mailing
list, as it's in no way related to OBS/OBS Development.

Florian Höch

To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups