Bug 506957

Summary: #BPY blender scripts are considered as wrong-script-interpreter by rpmlint
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: rpmlintAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: jochen, manuel.wolfshant, tmz, ville.skytta
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.90-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-13 05:13:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.