Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. 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#42176 - [clojure] bash scripts use the wrong interpreter

Attached to Project: Community Packages
Opened by dz (dz) - Monday, 29 September 2014, 18:52 GMT
Last edited by Alexander F. Rødseth (xyproto) - Wednesday, 01 October 2014, 13:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/usr/bin/clj and /usr/bin/clojure are written in bash, but specify a plain POSIX shell as their interpreter. This breaks when /bin/sh is not a link to bash. Being explicitly a bash script, the script should explicitly name bash as its interpreter.

Additional info:

$ pacman -Q clojure
clojure 1.6.0-2

Steps to reproduce:

$ readlink /bin/sh
dash
$ clj
/usr/bin/clj: 138: exec: -p:: not found
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Wednesday, 01 October 2014, 13:03 GMT
Reason for closing:  Fixed
Comment by Alexander F. Rødseth (xyproto) - Wednesday, 01 October 2014, 13:02 GMT
Fixed. The scripts now depends on bash.

If it is desireable that the scripts are dash compatible instead, this is welcome as a separate feature request.

Thanks for reporting.

Loading...