Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#45315 - [jython] Wrong shebang lines and name conflicts for scripts

Attached to Project: Community Packages
Opened by Chih-Hsuan Yen (yan12125) - Saturday, 13 June 2015, 16:23 GMT
Last edited by Eli Schwartz (eschwartz) - Wednesday, 09 August 2017, 05:01 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 6
Private No



$ pip2.7
zsh: /opt/jython/bin/pip2.7: bad interpreter: /build/jython/pkg/jython/opt/jython/bin/jython: no such file or directory

The cause is obvious:

$ grep -r '^#!' /opt/jython/bin
/opt/jython/bin/jython:#!/usr/bin/env bash

They should be /opt/jython/bin/jython instead.

Also, I recommend renaming all scripts to have a suffix "-jython". For example pip2 => pip2-jython. This prevents name conflicts with /usr/bin/pip2 from extra/python2-pip.

Additional info:
community/jython 2.7.0-1
extra/python2-pip 7.0.3-1

Steps to reproduce:
This task depends upon

Comment by Sun Ning (sunng) - Sunday, 21 February 2016, 03:52 GMT
Better to rename jython's pip to something like pipjy or so.
I suggest to increase severity for this issue because it makes existed python installation unusable.
Comment by Eli Schwartz (eschwartz) - Wednesday, 09 August 2017, 05:01 GMT
ping new maintainer...