GNU bug report logs - #69680
clj (clojure-tools) fails with :deps alias

Previous Next

Package: guix;

Reported by: Ryan Barber <rfb <at> skyscraper.nu>

Date: Sat, 9 Mar 2024 16:20:02 UTC

Severity: normal

To reply to this bug, email your comments to 69680 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#69680; Package guix. (Sat, 09 Mar 2024 16:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ryan Barber <rfb <at> skyscraper.nu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 09 Mar 2024 16:20:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ryan Barber <rfb <at> skyscraper.nu>
To: bug-guix <at> gnu.org
Subject: clj (clojure-tools) fails with :deps alias
Date: Sat, 9 Mar 2024 08:14:55 -0800
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/)




Information forwarded to bug-guix <at> gnu.org:
bug#69680; Package guix. (Wed, 13 Mar 2024 04:27:01 GMT) Full text and rfc822 format available.

Message #8 received at 69680 <at> debbugs.gnu.org (full text, mbox):

From: Ian Eure <ian <at> retrospec.tv>
To: 69680 <at> debbugs.gnu.org
Subject: Re: clj (clojure-tools) fails with :deps alias
Date: Tue, 12 Mar 2024 21:06:35 -0700
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





This bug report was last modified 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.