Bug 261079 - lang/clojure: clojure -X fails with execution error (FileNotFoundException)
Summary: lang/clojure: clojure -X fails with execution error (FileNotFoundException)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Hiroki Tagato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 09:03 UTC by arca0
Modified: 2022-01-17 07:58 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (freebsd-ports)


Attachments
Clojure - full report from the error (2.16 KB, text/plain)
2022-01-10 09:03 UTC, arca0
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description arca0 2022-01-10 09:03:38 UTC
Created attachment 230866 [details]
Clojure - full report from the error

Executing clojure -X does not work with the current version of the clojure package - 1.10.3.1020.

To reproduce, run:
clojure -X:deps help/doc :ns help

Expected result:
After some packages getting downloaded, you should get a list of docstrings for the help namespace.

Actual result:
Execution error (FileNotFoundException) at clojure.main/main (main.java:40).
Could not locate clojure/run/exec__init.class, clojure/run/exec.clj or clojure/run/exec.cljc on classpath.

Proposed workaround/solution:
Download clojure-tools-1.10.3.1020.tar.gz manually and copy exec.jar from that archive to /usr/local/share/clojure/libexec
Comment 1 Hiroki Tagato freebsd_committer freebsd_triage 2022-01-17 07:58:43 UTC
The commit related to bug 261088 should solve this issue.