Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

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!
Tasklist

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

Details

Description:

$ 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
/opt/jython/bin/pip2:#!/build/jython/pkg/jython/opt/jython/bin/jython
/opt/jython/bin/pip:#!/build/jython/pkg/jython/opt/jython/bin/jython
/opt/jython/bin/easy_install-2.7:#!/build/jython/pkg/jython/opt/jython/bin/jython
/opt/jython/bin/easy_install:#!/build/jython/pkg/jython/opt/jython/bin/jython
/opt/jython/bin/pip2.7:#!/build/jython/pkg/jython/opt/jython/bin/jython

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...

Loading...