Mailinglist Archive: opensuse-buildservice (244 mails)

< Previous Next >
[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 21:58:59 +0200
  • Message-id: <4FDF8883.9010508@hoech.org>
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
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/ccmx.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/main.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/report.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxwindows.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxLUTViewer.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/colormath.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/encodedstdio.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/jspacker.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/util_str.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxMeasureFrame.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/safe_print.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/xrandr.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/argyll_RGB2XYZ.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxTestchartEditor.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/wxProfileInfo.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/colord.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/util_win.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/setup.py 0644L /usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/postinstall.py 0644L
/usr/bin/env
dispcalGUI.i586: W: non-executable-script
/usr/lib/python2.7/site-packages/dispcalGUI/dispcalGUI.py 0644L /usr/bin/env

When I look into the source archive, the respective files have the
executable bit set, so I'm not really understanding where the warning
comes from. I've even hacked the spec file to make sure the files have
the executable bit set (ie. I call chmod +x on the files in %prep), but
it seems almost as if something removes it later?

--
Florian Höch


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

< Previous Next >