Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
Re: [opensuse-buildservice] "W: non-executable-script" for files which are executable in the sources

Quoting Florian Höch <lists+opensusebuildservice@xxxxxxxxx>:

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

https://build.opensuse.org/package/show?package=dispcalGUI&project=home%3Afhoech%3Atesting

rpmlint log for Factory i586:

dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxDisplayAdjustmentFrame.py
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).

Hth,

Dominique

PS: This kind of quiestion actually belongs on the -packaging mailing
list, as it's in no way related to OBS/OBS Development.
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-buildservice+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References