From unknown Sat Jun 21 12:31:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69680: clj (clojure-tools) fails with :deps alias Resent-From: Ryan Barber Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 09 Mar 2024 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69680 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69680@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171000115011023 (code B ref -1); Sat, 09 Mar 2024 16:20:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Mar 2024 16:19:10 +0000 Received: from localhost ([127.0.0.1]:34678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rizPh-0002ri-9a for submit@debbugs.gnu.org; Sat, 09 Mar 2024 11:19:09 -0500 Received: from lists.gnu.org ([209.51.188.17]:52360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rizMP-0002mk-D6 for submit@debbugs.gnu.org; Sat, 09 Mar 2024 11:15:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rizLr-0008EL-MI for bug-guix@gnu.org; Sat, 09 Mar 2024 11:15:11 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rizLp-0006b4-4A for bug-guix@gnu.org; Sat, 09 Mar 2024 11:15:11 -0500 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a45f257b81fso184791766b.0 for ; Sat, 09 Mar 2024 08:15:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skyscraper-nu.20230601.gappssmtp.com; s=20230601; t=1710000907; x=1710605707; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=NKfPZ6YRUT35DVyWY8vK0FofUEX8FcXGx0uBPhxFP2Q=; b=092Nf7UYon+UMDT+69HyrlL9Yhx42YXE2rhutpRkgFde999bJZ1IgpESNOBADiGPMM WjN14hyz0sd27XTyTeDJiW8+JUl4rA29rCWQYcYjK+obvGqcALPTwNXt5imAFRgxSsav D6FdRTdLtZyeAs7fNPV9qEBmUOnq1kTRuE0fLPiAZnNANub+IKvTl516xLAKqoGpFeCp tL6kmuOImeSauVa7/pOLsf4UfbJgpy8Zim2qakSXuc8hdGoeeXUIr22WCpMFTW1KW64C +OvYTbHKItUP+pz4DF9AJdxZif4lY2U0IC+cb4ywsqe/8s9ZYP5aRaR4GDuHz6Q+z3LM mWZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710000907; x=1710605707; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=NKfPZ6YRUT35DVyWY8vK0FofUEX8FcXGx0uBPhxFP2Q=; b=p07bAr3qBPocHx9Mr1/LqGcXMbCuO3F5HmyB5574pgnhw2LfQkM3l17kivIJPaxEA1 75vF0Z3X0Tot6FN3Jg+XWjT7CDhMPG2PiUIh0Yswxq542uDhlchxQmbN4VypgmHdvp9R j5/Jl9sqT/A0b1JcNNTNCg5paN4groxCEnw5Eghl5al0S30VTLh6Nuxb7nsw3sk9SWi8 llxnlouSuPgEAccSbQNYaho2Z+U0oo9kdpglndNdkB1iP1zN13nhvLql8uWhQx74T3GZ 8tyDlDz9XTses/zSETQ8MjyXemBwhpOvWupmfxd7HFan4Gj5ZColebkkCC2e8iAdx2m9 W5xQ== X-Gm-Message-State: AOJu0YxSHByN7Iv6ckmzGYAvCTNrTh0Tz218s1VrI7PbjTiJ0dD2kfV2 4eHaBrpEygfmClZi1qx3fz1fuALPb6JoEj4p8Er9wLDILgfppSeh9YqxpE41wyZqli2pR6+Cs6x 9xY1xde4GBdlWRgTb4sh0fL7gqsT22x4IummtVoJ97EW5fNdHwQYpEA== X-Google-Smtp-Source: AGHT+IEutSks5sz3Mz2s/RzeLxtD4TzQH5XM93cE1doOsJwhht+cUUbrsi07251i3CB5ejJAZKOdZgM+awIgD43U9uY= X-Received: by 2002:a17:906:e254:b0:a45:c8cb:aa75 with SMTP id gq20-20020a170906e25400b00a45c8cbaa75mr1085704ejb.12.1710000906934; Sat, 09 Mar 2024 08:15:06 -0800 (PST) MIME-Version: 1.0 From: Ryan Barber Date: Sat, 9 Mar 2024 08:14:55 -0800 Message-ID: Content-Type: text/plain; charset="UTF-8" Received-SPF: none client-ip=2a00:1450:4864:20::62f; envelope-from=rfb@skyscraper.nu; helo=mail-ej1-x62f.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Mailman-Approved-At: Sat, 09 Mar 2024 11:19:09 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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/) From unknown Sat Jun 21 12:31:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#69680: clj (clojure-tools) fails with :deps alias References: In-Reply-To: Resent-From: Ian Eure Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 13 Mar 2024 04:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69680 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 69680@debbugs.gnu.org Received: via spool by 69680-submit@debbugs.gnu.org id=B69680.171030400329225 (code B ref 69680); Wed, 13 Mar 2024 04:27:01 +0000 Received: (at 69680) by debbugs.gnu.org; 13 Mar 2024 04:26:43 +0000 Received: from localhost ([127.0.0.1]:44327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkGCQ-0007bI-KY for submit@debbugs.gnu.org; Wed, 13 Mar 2024 00:26:42 -0400 Received: from wfout3-smtp.messagingengine.com ([64.147.123.146]:60255) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rkGCN-0007b2-IY for 69680@debbugs.gnu.org; Wed, 13 Mar 2024 00:26:41 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 81F2F1C000A0 for <69680@debbugs.gnu.org>; Wed, 13 Mar 2024 00:25:58 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 13 Mar 2024 00:25:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=retrospec.tv; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1710303958; x=1710390358; bh=XerGeDzldD 7l9cBqT2ujvnby0ri0WaZtWGCgAEKoWWc=; b=bhnAuy8El5BXjP9Sy5L6av3pz+ hxVx3chvcyA0w6eO1u0j0ka9Ceorp5m6Z+grKxzBl5YGRlKNYxKxN7gZypzeUCr4 r7axzLE0OVBI7KRL/UlUCrNbD1fwJw+XXc3beMyEG1jCD4qPRRiUjvx1JcY4xdW7 rYJKy/qE1gFyYeD0WBhM4d8ZOHFu/p+659avRvVoh3JH9dGLB1GOn2zbV/tWIgI6 fq4mnxhj9GOZ7KjTNoMIQXe6R0r5Xbqm/igrcr20mFGzteC+z54n91/rR81LXWvk xSGg+Jc2j4qvbUtlyUyeOSIJiZfDDGSDwVJcHppJrJxXHLheSNZ/T493ss2Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1710303958; x=1710390358; bh=XerGeDzldD7l9cBqT2ujvnby0ri0 WaZtWGCgAEKoWWc=; b=BnXnOwry/b9P4v2imO1knVmiG7/pVrhEixRoUss5U1TD zN8LdjVxNO+PpL+GSbT9gHNOXhHS9jeIT+GrIUQoQSC6IsrEWJjk9l0x7VBWriSi b6RqlfErM4ISxIu4O0x9WftLvCFeFH5l769XUmcNodBhBX5XtiFMbH7PP26DJ4HU kry/WMSHPRWOTGPFU8N117McqJsxPkZEG8FcONqF+Dlj5IG7j/dAiw7NHab7goH2 x7UmJPztHsY1R3kELvyFl/EwbXDnTPl1l+df9cfnMx5fhkZbdVE2o0fUQKBZITt4 PI7N9jB/Oafw1+0Lakb27Hl8eDQ1cbl88WHE51yElA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrjeeggdejvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfgfhvffufffkgggtgfesthhqredttd erjeenucfhrhhomhepkfgrnhcugfhurhgvuceoihgrnhesrhgvthhrohhsphgvtgdrthhv qeenucggtffrrghtthgvrhhnpeekieeggeffhfelhffgieffveejjeehvdejffeiieefie etleevudeuleejheehjeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehirghnsehrvghtrhhoshhpvggtrdhtvh X-ME-Proxy: Feedback-ID: id9014242:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <69680@debbugs.gnu.org>; Wed, 13 Mar 2024 00:25:57 -0400 (EDT) User-agent: mu4e 1.8.13; emacs 28.2 From: Ian Eure Date: Tue, 12 Mar 2024 21:06:35 -0700 Message-ID: <87msr2vju3.fsf@meson> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Looks like the issue is a ${project.version} sitting in a deps.edn=20 in the resources of the JAR. I have a patch that seems to solve this, but it=E2=80=99s ludicrous due to= =20 clojure-build-system being buggy. Also, tools.deps.alpha has been=20 deprecated for two years and really shouldn=E2=80=99t be in Guix at all.=20 I=E2=80=99ve done some work on getting Clojure stuff in Guix into better=20 shape, but it=E2=80=99s not ready yet. Patch incoming shortly. =E2=80=94 Ian