Bug 952232

Summary: Fix instances of #!/usr/bin/env python in gimp
Product: Red Hat Enterprise Linux 7 Reporter: Nils Philippsen <nphilipp>
Component: gimpAssignee: Nils Philippsen <nphilipp>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: nphilipp, ovasik, vbudikov
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gimp-2.8.4-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 952227 Environment:
Last Closed: 2014-06-13 12:44:07 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:
Bug Depends On: 952227    
Bug Blocks: 952231    

Description Nils Philippsen 2013-04-15 12:30:05 UTC
+++ This bug was initially created as a clone of Bug #952227 +++

+++ This bug was initially created as a clone of Bug #521273 +++

Escalated to Bugzilla from IssueTracker

--- Additional comment from Issue Tracker on 2009-09-04 11:46:36 EDT ---

Event posted on 09-04-2009 11:44am EDT by kbaxley

THere's a project underway in Fedora 12 to finally resolve the issues with Red Hat including #!/usr/bin/env python in our python executables:

https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython

There's also a Fedora bug opened on this, and comments in there state that this is a big priority for RHEL6:

https://bugzilla.redhat.com/show_bug.cgi?id=518994

For RHEL5, we've been instructed by Product Management to open bugs on a package-by-package basis to address the problem.

In this case, gimp in RHEL5 has at least one python executable containing #!/usr/bin/env python
This event sent from IssueTracker by kbaxley  [LLNL (HPC)]
 issue 339039

Comment 2 Nils Philippsen 2013-04-19 15:44:21 UTC
This is a purely cosmetic issue. GIMP maps script hashbangs to a fixed interpreter internally. This system skips over /usr/bin/env if present. For python, it would map both "#!/usr/bin/env python" and "#!/usr/bin/python" to /usr/bin/python, cf.: ${libdir}/gimp/2.0/interpreters/pygimp.interp

I'll leave this bug open in the even I fix it upstream, but this should really have no impact beyond the confusion of people looking at the hashbang line.

Comment 3 Nils Philippsen 2013-09-02 08:56:05 UTC
This is fixed in gimp-2.8.4-5.el7 already, and later versions which we already have in RHEL-7.

Comment 6 Ludek Smid 2014-06-13 12:44:07 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.