From: Kristiyan Kanchev <skrechy@gmail.com>
To: 73432@debbugs.gnu.org
Subject: bug#73432: clojure package is broken
Date: Thu, 26 Sep 2024 16:50:42 +0300 [thread overview]
Message-ID: <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@gmail.com> (raw)
In-Reply-To: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]
Hello,
I was about to open another issue with the same observation.
I'm seeing issues with the project Metabase:
https://github.com/metabase/metabase. When `clojure -M:run`, it fails with:|
Execution error (ClassNotFoundException) at
java.net.URLClassLoader/findClass (URLClassLoader.java:476).
jakarta.servlet.AsyncContext|
|
|
The problem seems to be that Clojure CLI (`clojure-tools` guix package)
doesn't construct proper class path including all transitive
dependencies of the project. I've tried to figure out what might be
causing the issue and I suspect `maven-resolver-*` packages. Clojure CLI
depends on `tools.deps` clojure lib, which itself depends on
`maven-resolver-*`. There is a mention in the `tools.deps` changelog of
reverting `maven-resolver-*` libs in version 0.18.1374 with comment
"Revert update of Maven resolver libs - seeing resolution differences".
Here is the relevant commit:
https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50a6aa2293b672ce
Up until this date, `tools.deps` lists the older versions of
maven-resolver-* libs in its deps.end file. Since Guix uses the latest
versions of maven-resolver-* libs, I think this is causing the issue.
[-- Attachment #2: Type: text/html, Size: 1777 bytes --]
next prev parent reply other threads:[~2024-09-27 9:23 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 2:21 bug#73432: clojure package is broken Andreas Bauer
2024-09-26 13:50 ` Kristiyan Kanchev [this message]
2024-10-03 14:00 ` Ludovic Courtès
2024-10-03 14:41 ` Roman Scherer
2024-10-03 14:48 ` Roman Scherer
2024-10-04 8:33 ` Kristiyan Kanchev
2024-10-04 10:51 ` Roman Scherer
2024-10-06 12:57 ` Rostislav Svoboda
2024-10-09 12:15 ` Kristiyan Kanchev
2024-10-09 12:18 ` Roman Scherer
2024-10-15 7:35 ` bug#73432: [PATCH 0/3] Fix clojure-tools-deps: wrong resolution of deps Kristiyan Kanchev
2024-10-15 7:43 ` bug#73432: [PATCH 1/3] gnu: Add maven-resolver-1.6 Kristiyan Kanchev
2024-10-15 7:43 ` bug#73432: [PATCH 2/3] gnu: Add maven-3.8-core Kristiyan Kanchev
2024-10-15 7:43 ` bug#73432: [PATCH 3/3] gnu: clojure-tools-deps: Fix wrong resolution of clojure deps Kristiyan Kanchev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b0e4e3d4-e2d5-4548-a599-3791fb9f0162@gmail.com \
--to=skrechy@gmail.com \
--cc=73432@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.