Bug 506957 - #BPY blender scripts are considered as wrong-script-interpreter by rpmlint
Summary: #BPY blender scripts are considered as wrong-script-interpreter by rpmlint
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-19 14:32 UTC by Nicolas Chauvet (kwizart)
Modified: 2009-07-16 07:29 UTC (History)
4 users (show)

Fixed In Version: 0.90-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-13 05:13:46 UTC


Attachments (Terms of Use)

Description Nicolas Chauvet (kwizart) 2009-06-19 14:32:28 UTC
Description of problem: rpmlint blender (taken from 2.49a-1.fc12)
blender.x86_64: E: wrong-script-interpreter /usr/share/blender/scripts/uvcalc_smart_project.py "BPY"
blender.x86_64: E: non-executable-script /usr/share/blender/scripts/uvcalc_smart_project.py 0644


Version-Release number of selected component (if applicable):
rpmlint-0.87-1.fc10.noarch

  
Actual results:
For each BPY file packaged, two errors are given.


Expected results:
rpmlint should know "Blender PYthon" scripts and don't consider them abnormal.

Additional info:
There is multiple locations where to expect BPY file with .py extension.
If provided with the blender package, they can be in /usr/share/blender/scripts
If provided with an external (architecture dependant) module such as yafaray-blender, they can be in %{_libdir}/blender/scripts

(In the current situation, those script are runned from the user directory :
~/.blender/scripts)

Those scripts aren't expected to be set executable. (as any files from python_sitelib).

Comment 1 Fedora Update System 2009-06-21 22:01:05 UTC
rpmlint-0.89-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rpmlint-0.89-1.fc11

Comment 2 Fedora Update System 2009-06-21 22:02:21 UTC
rpmlint-0.89-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/rpmlint-0.89-1.fc10

Comment 3 Nicolas Chauvet (kwizart) 2009-06-25 15:06:45 UTC
This problem doesn't seems to be solved with the above update !

Comment 4 Ville Skyttä 2009-06-25 17:54:15 UTC
Details, please (for example the output of rpm -q rpmlint, rpm -V rpmlint, cat ~/.rpmlintrc, cat ~/.config/rpmlint, ls /etc/rpmlint/).   It is fixed for me:

$ rpm -q rpmlint
rpmlint-0.87-1.fc10.noarch

$ rpmlint blender-2.48a-5.fc10.x86_64.rpm | grep '\(non-executable-script\|wrong-script-interpreter\)' | wc -l
282

$ sudo rpm -U http://kojipkgs.fedoraproject.org/packages/rpmlint/0.89/1.fc10/noarch/rpmlint-0.89-1.fc10.noarch.rpm

$ rpm -q rpmlint
rpmlint-0.89-1.fc10.noarch

$ rpmlint blender-2.48a-5.fc10.x86_64.rpm | grep '\(non-executable-script\|wrong-script-interpreter\)'
blender.x86_64: E: non-executable-script /usr/share/blender/scripts/bpymodules/blend2renderinfo.py 0644 /usr/bin/python

Comment 5 Nicolas Chauvet (kwizart) 2009-06-26 07:08:20 UTC
oups, sorry: yes it works, with rpmlint-0.89-1, but it is still not in updates-testing for F-11 for some reason.

Comment 6 Fedora Update System 2009-06-29 15:46:28 UTC
rpmlint-0.90-1.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/rpmlint-0.90-1.fc11

Comment 7 Fedora Update System 2009-06-29 15:48:45 UTC
rpmlint-0.90-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/rpmlint-0.90-1.fc10

Comment 8 Fedora Update System 2009-07-16 07:27:04 UTC
rpmlint-0.90-1.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2009-07-16 07:29:42 UTC
rpmlint-0.90-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.