all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#69680: clj (clojure-tools) fails with :deps alias
@ 2024-03-09 16:14 Ryan Barber
  2024-03-13  4:06 ` Ian Eure
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan Barber @ 2024-03-09 16:14 UTC (permalink / raw)
  To: 69680

I am attempting to use the :deps tools to diagnose some library issues
using "-X:deps list" and "-X:deps tree", but I keep encountering the
same error.

This example is run from an empty directory, without a project deps.edn.

$ guix shell clojure-tools openjdk -- clj -M:deps
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
further details.
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Error building classpath. Could not find artifact
org.clojure:tools.deps.alpha:jar:${project.version} in central
(https://repo1.maven.org/maven2/)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#69680: clj (clojure-tools) fails with :deps alias
  2024-03-09 16:14 bug#69680: clj (clojure-tools) fails with :deps alias Ryan Barber
@ 2024-03-13  4:06 ` Ian Eure
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Eure @ 2024-03-13  4:06 UTC (permalink / raw)
  To: 69680

Looks like the issue is a ${project.version} sitting in a deps.edn 
in the resources of the JAR.

I have a patch that seems to solve this, but it’s ludicrous due to 
clojure-build-system being buggy.  Also, tools.deps.alpha has been 
deprecated for two years and really shouldn’t be in Guix at all. 
I’ve done some work on getting Clojure stuff in Guix into better 
shape, but it’s not ready yet.

Patch incoming shortly.

  — Ian





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-13  4:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-09 16:14 bug#69680: clj (clojure-tools) fails with :deps alias Ryan Barber
2024-03-13  4:06 ` Ian Eure

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.