clojure package - missing clj script from /usr/bin

Bug #1872595 reported by Benjamin Howell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
clojure (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Clojure 1.9 and later include additional executables (scripts) that are not currently being packaged and distributed as part of the clojure Ubuntu package. Notably missing is the 'clj' script/executable that should be present at /usr/bin/clj. Manually installing Clojure from the official clojure.org shell script installs these executables. It also looks like the clojure-tools-x.x.x.jar library is not being packaged.

From https://clojure.org/reference/deps_and_cli

Contents:
    bin/clojure - main tool
    bin/clj - wrapper for interactive repl use (uses rlwrap)
    deps.edn - install level deps.edn file, with some default deps (Clojure, etc) and provider config
    example-deps.edn - commented example that gets copied to <config_dir>/deps.edn
    libexec/clojure-tools-X.Y.Z.jar - uberjar invoked by clojure to construct classpaths

Revision history for this message
Benjamin Howell (defun) wrote :
Revision history for this message
Elana Hashman (ehashman) wrote :

Hello Benjamin,

The upstream bug for this is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902763

I haven't taken a look at it in a while. There's a number of dependencies and patches required to get the clj CLI scripts included in Debian/Ubuntu, as detailed in the bug.

I will see if I can at least give a status update in the near future.

Revision history for this message
Elana Hashman (ehashman) wrote :

Okay, I have updated the blocking bugs https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891141 (tracks upload of the new CLI) and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891136 (tracks status of tools.deps.alpha).

Summary:

- There are a couple relatively easy clojure dep version bumps required. One of those two is also a dependency of Leiningen. Previously, lein depended on an older version, but that's now been bumped, so I can go ahead and complete those uploads \o/
- There is a NEW upload required for a Clojure gitlibs dep. That package itself is relatively straightforward. However,
- The java deps of the gitlibs package require significant upgrades to make this happen.
- This summary also assumes I patch out support for talking to AWS, which will require a bunch of NEW uploads I'm not up for doing right now.

Is anyone in the Ubuntu community able/willing to tackle the Java version bumps
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905547
and
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=905546
?

I'm confident that once those Java updates are complete, I should be able to finish the rest without issue.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in clojure (Ubuntu):
status: New → Confirmed
Revision history for this message
Elana Hashman (ehashman) wrote :

Debian now has a GSoC student working on this: https://summerofcode.withgoogle.com/projects/#5194169531760640

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.