Bug 1918425 - clojure package is missing a dependency on javapackages-tools
Summary: clojure package is missing a dependency on javapackages-tools
Keywords:
Status: CLOSED DUPLICATE of bug 1916547
Alias: None
Product: Fedora
Classification: Fedora
Component: clojure
Version: 33
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Markku Korkeala
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 17:04 UTC by Benjamin Howell
Modified: 2021-01-21 07:22 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-01-21 07:22:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Benjamin Howell 2021-01-20 17:04:05 UTC
Description of problem:
Missing dependency on javapackages-tools

Version-Release number of selected component (if applicable):
1.10.1-5.fc33

How reproducible:
always

Steps to Reproduce:
1. dnf install clojure
2. run 'clojure'
3. observe errors

Actual results:
$ clojure
/usr/bin/clojure: line 8: /usr/share/java-utils/java-functions: No such file or directory
/usr/bin/clojure: line 27: set_jvm: command not found
/usr/bin/clojure: line 28: set_classpath: command not found
/usr/bin/clojure: line 29: set_flags: command not found
/usr/bin/clojure: line 30: set_options: command not found
/usr/bin/clojure: line 33: run: command not found

Expected results:
$ clojure
Clojure 1.10.1
user=>

Additional info:
$ dnf provides /usr/share/java-utils/java-functions
Last metadata expiration check: 0:25:49 ago on Wed 20 Jan 2021 11:33:28 AM EST.
javapackages-tools-5.3.0-13.fc33.noarch : Macros and scripts for Java packaging support
Repo        : fedora
Matched from:
Filename    : /usr/share/java-utils/java-functions

Comment 1 Markku Korkeala 2021-01-21 07:12:03 UTC
Hi, thanks for the report. There is a fix in updates testing, how to test:
1. dnf install clojure
2. upgrade clojure: sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7b34d3bac0
2. run 'clojure'
6. Should work now

If it works, you can add karma to the update: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7b34d3bac0

Comment 2 Markku Korkeala 2021-01-21 07:15:31 UTC
Or you can test it with toolbox as well:
1. `toolbox create --container clojure`
2. `toolbox enter clojure`
3. `sudo dnf install clojure`
4. `clojure` , should not work
5. `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7b34d3bac0`
6. `clojure` , should now work

Comment 3 Markku Korkeala 2021-01-21 07:22:55 UTC

*** This bug has been marked as a duplicate of bug 1916547 ***


Note You need to log in before you can comment on or make changes to this bug.