On Sat, Jan 16, 2021 at 1:32 PM Markku Korkeala <markku.korkeala(a)iki.fi> wrote:
Hi,
I just got a bug report for clojure package that clojure is unable to
start after installing it in a F33 container, it reports the following
error:
$ clojure
/usr/bin/clojure: line 8: /usr/share/java-utils/java-functions: No such
file or directory
The /usr/bin/clojure is wrapper script generated with %jpackage_script
macro. The clojure package explicit requirement for javapackages-tools
package (which provides the /usr/share/java-utils/java-functions file)
was removed little while ago, as I thought it would be auto required
as stated in the Java howto:
The requires generator also always generates Requires on java-headless
and javapackages-tools.
https://fedora-java.github.io/howto/latest/#dependency_handling
Has this changed and should I add the explicit requirement for
javapackages-tools ?
I think this is no longer true, for a while already.
All Java packages that ship scripts that I have touched have an
explicit dependency on javapackages-tools (e.g. maven, aqute-bnd,
junit5, etc.).
You'll need to add the "Requires: javapackages-tools" manually, I think.
Fabio