GNU bug report logs - #73432
clojure package is broken

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>; dated Mon, 23 Sep 2024 05:36:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 15 Oct 2024 07:45:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 03:45:41 2024
Received: from localhost ([127.0.0.1]:53914 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t0cFR-0003Ja-Cn
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:41 -0400
Received: from mail-ej1-f48.google.com ([209.85.218.48]:55406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1t0cFP-0003J4-AI
 for 73432 <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:39 -0400
Received: by mail-ej1-f48.google.com with SMTP id
 a640c23a62f3a-a99650da839so870531566b.2
 for <73432 <at> debbugs.gnu.org>; Tue, 15 Oct 2024 00:45:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728978255; x=1729583055; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=wGheBLsdniCJb/EixOzlGJOT3/chU0YJOEpEkOrc/hQ=;
 b=g2v5PJEGPsFPSuYfDyX7fCAhbWjadTAkijPEseLdTp1DEsODs903XxSU7lPGiQJjux
 VRBDQB+xSNhTnVxxnhufKtRicf6kcutoCIzOO6pOaRlpBiiXsSlkPPV1Cit1Aksn8gyb
 4TCRMhlMSIqWqPXATBwW/irOrKyEXIu3Su0EHIi9YOB2UrSvGgZoZk5E/kOdPgWRLwcA
 i5R/4w8A44MnwBt9FTthSka+FWp0m2C+2Jsn79Z881R2GcKPbQSY8+EM+CxBofMxPXNZ
 GAs2/v5IDm0Ws8EJW6dsd688uS9Y6vuF7wTho42PRdHyQdfqXW7/52OO/LNiHNIZYEER
 6bUw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728978255; x=1729583055;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=wGheBLsdniCJb/EixOzlGJOT3/chU0YJOEpEkOrc/hQ=;
 b=jkb78Gih+fmQT6GpFIbntsulQbuCb9+sGbbZx76v3yDiwvSxTxFRfCdpTbZVcvrf7A
 4HLdcT01JCTaVanSiSzRgP/3Gqr5pSVw2NzAoVjMcS6rB5g1AyaRlo31IRG7bb0ZphbG
 /5F8/AyG8oBcM9ZGUop/EusP1gzQtqyuH444U6ZVPwq2v3ULMUcrkpSs2VO5mtCljgse
 wN48tcs6QpSTfZgiAvBYiWGF30lqfkZ+rBIxXf3dlu25UMdEJKmg+I3uygMxmA4a2n5V
 vAh5ztQElRTPO2dnSYzKYP73kz8X6ABgkN1MzoHv0x/oVMywnBcT02xgHag7Xxt4N4J5
 bDlg==
X-Gm-Message-State: AOJu0YyjrC5icxl94ZK6f/7KsaCK9igqu6mRuSZM3r4SZosJLWfy1JO1
 42SMxYmzZS0oIpfgbOkQEu48GD9mYm1+rcqpYrh8S9z67qv7qaum99WX9YP6
X-Google-Smtp-Source: AGHT+IGuD9ydSnne2nWkoWrqCfd0LFO9D/UaJUJZtEyWZNBZlDWuT92bXkJbrlipgKZ8uZkKaekMSw==
X-Received: by 2002:a17:907:9604:b0:a99:61d1:348f with SMTP id
 a640c23a62f3a-a99e3e3ffacmr980510466b.52.1728978254698; 
 Tue, 15 Oct 2024 00:44:14 -0700 (PDT)
Received: from schCube.localdomain ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9a29719196sm37741966b.33.2024.10.15.00.44.13
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Oct 2024 00:44:14 -0700 (PDT)
From: Kristiyan Kanchev <skrechy@HIDDEN>
To: 73432 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: clojure-tools-deps: Fix wrong resolution of clojure
 deps
Date: Tue, 15 Oct 2024 10:43:16 +0300
Message-ID: <aab75982b2e036d7899a6d326060a028f1023a09.1728910014.git.skrechy@HIDDEN>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1728910014.git.skrechy@HIDDEN>
References: <cover.1728910014.git.skrechy@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/clojure.scm (clojure-tools-deps)[propagated-inputs]: Switched
to maven-core 3.8 and maven-resolver 1.6

Change-Id: Ibf43bdf7a060914a74717d5fe8e8e2c292d87ac7
---
 gnu/packages/clojure.scm | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/clojure.scm b/gnu/packages/clojure.scm
index 09674f541e..baa49ba50a 100644
--- a/gnu/packages/clojure.scm
+++ b/gnu/packages/clojure.scm
@@ -814,15 +814,10 @@ (define-public clojure-tools-deps
                "src/main/clojure/clojure/tools/deps/util/maven.clj"
                (("clojure.tools.deps.util.s3-transporter")
                 "")))))))
-    (propagated-inputs (list maven-resolver-api
-                             maven-resolver-spi
-                             maven-resolver-impl
-                             maven-resolver-util
-                             maven-resolver-connector-basic
-                             maven-resolver-provider
-                             maven-core
-                             maven-resolver-transport-http
-                             maven-resolver-transport-file
+    (propagated-inputs (list maven-3.8-core
+                             maven-resolver-1.6-connector-basic
+                             maven-resolver-1.6-transport-http
+                             maven-resolver-1.6-transport-file
                              clojure-tools-gitlibs
                              clojure-tools-cli
                              clojure-data-xml))
-- 
2.43.0





Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 15 Oct 2024 07:45:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 03:45:39 2024
Received: from localhost ([127.0.0.1]:53911 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t0cFO-0003JK-QM
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:39 -0400
Received: from mail-ed1-f54.google.com ([209.85.208.54]:51477)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1t0cFM-0003J1-Mn
 for 73432 <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:37 -0400
Received: by mail-ed1-f54.google.com with SMTP id
 4fb4d7f45d1cf-5c96b2a11e7so3258065a12.3
 for <73432 <at> debbugs.gnu.org>; Tue, 15 Oct 2024 00:45:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728978252; x=1729583052; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=yFa6ReWSVor1ZkDoNFdrqZK6SitPxpbkQmL5lHhLJsk=;
 b=FyGceMqoMjMTnAemCYlJrlF9Igr++Rd5soZXtNcGL16dsUFKsBaSR3Zcj2af9Bb2pv
 kq+hfY6ERKSsrEw2EMsv/xftT7GCpRnNhYuJIQm2GjsFdcxxVn8TJhhADLJN645CWojd
 p1K8RhnZkjU0awy30nErUxE7/DnXYZcSoUUy/ssyfxWyw2gQgkmB+TTjrGGyc+Gqc8Ve
 xsNXeUMx3RFuN07/qmtqNxsEwSxCb/ohcYqmYQ9G0HPW+e4EPXhcZJSRrWq6DF3MWPhe
 m2s6TkVpoLhHQbtChPfgAJkXw4/ttouAoSe8jSN0YqGTvQf6bbZ8L1G7v1Ku79aabEJz
 waUQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728978252; x=1729583052;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=yFa6ReWSVor1ZkDoNFdrqZK6SitPxpbkQmL5lHhLJsk=;
 b=osixojRy2UIZkNRvZDvmWjOdbRbRjrchvcPeNTUVVMol5meIKYj+1YS5x20gfm/UuW
 oBaVzxxLXKz/JTWj+XTYl11G9YnzODUqctihRwcnkppiBSrSVAX122f4k2vGVJgKNn5A
 7xPpfnL/K7avahFVOWTp330HY9YpfDd6xOuMNCznpalijcHm/2tNtrCIytwllvH7dDNZ
 VwlFNak7GptNQT/vmIB0wCMVKNidK9qgU15VYUSZI+RCPoJ+2jMuO7K4UdDcu/dJTrWN
 X8hwIZgncwh4lG0f3Dr+01kGpnE+158s+3b3LG5q94yb9CwAI7W1P9w0AleobD/SN+LJ
 Ag2Q==
X-Gm-Message-State: AOJu0YwhMAl8z5l5th9Rfdoz17XB8tjBLq8qO8HuAKHDKQNwZNmCatqv
 q+1Q4roI7GssGqsiuFhY3BtStYUod3aaLK7ChiFMSnArvbecm1Nb4n5Seriy
X-Google-Smtp-Source: AGHT+IH2Ac4jLd42ePrFWb1SISB1Bm8PD4P3e5tNaDkY4A3AW4qiw/lcppNFjDq2oyvpVzwyZtGFCQ==
X-Received: by 2002:a17:907:961f:b0:a9a:1165:1bb with SMTP id
 a640c23a62f3a-a9a116502f4mr492367666b.65.1728978251781; 
 Tue, 15 Oct 2024 00:44:11 -0700 (PDT)
Received: from schCube.localdomain ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9a29719196sm37741966b.33.2024.10.15.00.44.10
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Oct 2024 00:44:11 -0700 (PDT)
From: Kristiyan Kanchev <skrechy@HIDDEN>
To: 73432 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add maven-3.8-core
Date: Tue, 15 Oct 2024 10:43:15 +0300
Message-ID: <cbdf95eab5d13d06038347717f042e06dafd7e91.1728910014.git.skrechy@HIDDEN>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1728910014.git.skrechy@HIDDEN>
References: <cover.1728910014.git.skrechy@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Julien Lepiller <julien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/maven.scm (maven-3.8-pom, maven-3.8-artifact, maven-3.8-model,
maven-3.8-builder-support, maven-3.8-settings, maven-3.8-settings-builder,
maven-3.8-model-builder, maven-3.8-repository-metadata,
maven-3.8-resolver-provider, maven-3.8-plugin-api, maven-3.8-core): New variables

Change-Id: Ie9e1b595532b8b7ded73b8d648ff04e13d0a55c7
---
 gnu/packages/maven.scm | 132 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 132 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 564a49fced..5c3cc5c708 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2277,6 +2277,9 @@ (define-public maven
 can be extended by plugins to utilise a number of other development tools for
 reporting or the build process.")))
 
+;; maven-core 3.8.* and its dependencies -- needed by some packages (at the time of
+;; writing, this is clojure-tools-deps 0.18)
+
 (define maven-resolver-1.6-parent-pom
   (package
     (inherit maven-resolver-parent-pom)
@@ -2453,6 +2456,135 @@ (define-public maven-resolver-1.6-transport-http
      (modify-inputs (package-native-inputs maven-resolver-transport-http)
        (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
 
+(define maven-3.8-pom
+  (package
+    (inherit maven-pom)
+    (version "3.8.8")
+    (source (origin
+              (inherit (package-source maven-pom))
+              (uri (string-append "mirror://apache/maven/"
+                                  "maven-3/" version "/source/"
+                                  "apache-maven-" version "-src.tar.gz"))
+              (sha256 (base32 "01q2g8sklxsys46i4dxqr89klcxfzz40f2kz4lxbdl1phyibqk92"))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-pom)
+       (replace "maven-parent-pom" maven-parent-pom-35)))))
+
+(define-public maven-3.8-artifact
+  (package
+    (inherit maven-artifact)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-artifact)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-model
+  (package
+    (inherit maven-model)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-model)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-builder-support
+  (package
+    (inherit maven-builder-support)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-builder-support)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-settings
+  (package
+    (inherit maven-settings)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-settings)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-settings-builder
+  (package
+    (inherit maven-settings-builder)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-settings-builder)
+       (replace "maven-builder-support" maven-3.8-builder-support)
+       (replace "maven-settings" maven-3.8-settings)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-model-builder
+  (package
+    (inherit maven-model-builder)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-model-builder)
+       (replace "maven-artifact" maven-3.8-artifact)
+       (replace "maven-builder-support" maven-3.8-builder-support)
+       (replace "maven-model" maven-3.8-model)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-repository-metadata
+  (package
+    (inherit maven-repository-metadata)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-repository-metadata)
+       (replace "maven-pom" maven-3.8-pom)))))
+
+(define-public maven-3.8-resolver-provider
+  (package
+    (inherit maven-resolver-provider)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-provider)
+       (replace "maven-model" maven-3.8-model)
+       (replace "maven-model-builder" maven-3.8-model-builder)
+       (replace "maven-builder-support" maven-3.8-builder-support)
+       (replace "maven-repository-metadata" maven-3.8-repository-metadata)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-impl" maven-resolver-1.6-impl)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)))))
+
+(define-public maven-3.8-plugin-api
+  (package
+    (inherit maven-plugin-api)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-plugin-api)
+       (replace "maven-artifact" maven-3.8-artifact)
+       (replace "maven-model" maven-3.8-model)))))
+
+(define-public maven-3.8-core
+  (package
+    (inherit maven-core)
+    (version (package-version maven-3.8-pom))
+    (source (package-source maven-3.8-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-core)
+       (replace "maven-artifact" maven-3.8-artifact)
+       (replace "maven-resolver-provider" maven-3.8-resolver-provider)
+       (replace "maven-model" maven-3.8-model)
+       (replace "maven-model-builder" maven-3.8-model-builder)
+       (replace "maven-builder-support" maven-3.8-builder-support)
+       (replace "maven-settings" maven-3.8-settings)
+       (replace "maven-settings-builder" maven-3.8-settings-builder)
+       (replace "maven-plugin-api" maven-3.8-plugin-api)
+       (replace "maven-repository-metadata" maven-3.8-repository-metadata)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-impl" maven-resolver-1.6-impl)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)))))
+
 ;; Many plugins require maven 3.0 as a dependency.
 (define maven-3.0-pom
   (package
-- 
2.43.0





Information forwarded to julien@HIDDEN, bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 15 Oct 2024 07:45:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 03:45:11 2024
Received: from localhost ([127.0.0.1]:53905 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t0cEx-0003CP-4T
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:11 -0400
Received: from mail-lf1-f43.google.com ([209.85.167.43]:52515)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1t0cEv-0003CF-GS
 for 73432 <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:45:10 -0400
Received: by mail-lf1-f43.google.com with SMTP id
 2adb3069b0e04-539f2b95775so2357427e87.1
 for <73432 <at> debbugs.gnu.org>; Tue, 15 Oct 2024 00:44:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728978229; x=1729583029; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=r+unI+s24dvmQ1TPqLQGLZFs8t4M0T4Kyp1dkCgJyC0=;
 b=dtsfRQ4Iep1sj4ru6r3MIoGBtuoVkJZ9s1MF1OCVdpNVugmQq1d7mwcH9+5akJeOfJ
 wVgfUq6qHvVgmA1mIXtVL+r0iB3ar/92w4IdRiH+QYysxgtF6CXh3Fa73By7Kl+Su/Jo
 XoVhgUcosm3YAjG8CiWzz7EOhTnp+ENFFb7hndzdfM9FtlU3zQHHZDtRDW7iuAsBVovL
 08lnV8qY4Wg8NeZkFCuPmfpX6MSZi8e8tWcm096ZeSNqeG3SFz5zar1w1bbIL763hG9Z
 waeztqXaF/wFUE8k5ZuGWlTX3Ijag3Jj2fHKmWgf1ynTL/4DRyay91z8MFF1P3ieWUv/
 zy/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728978229; x=1729583029;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=r+unI+s24dvmQ1TPqLQGLZFs8t4M0T4Kyp1dkCgJyC0=;
 b=HzC+lYe7Wles7PA/HhtBIDd1cweZwB8Ps1kOi1tbrtAEV9qD3MBkXUcurBHHUmid8w
 7rpfkHd61CAdFy4vOyrNpdkN34OVct4nwroC1fBB7uBsBTTZYT3+/Xa/UfANsnD1yCEr
 pzYYymskc8NOvEjxL5YrGBXJ9PoPb61CjAbW1XwoBWiW/X0CvsnwkU02akbJVcEZKqYL
 TSfmkh2w1byxGrcphmRDWhoOhi16JEJawksI8yZ3b2KKIR2iKAu3e1XZavl9wXJQlrwh
 TIgUzAN8cSPpOmIyp6UoRbG9cpDhrksbYV48vyAVUfW7bHrf2ElTAbzyWkbyebSGqROM
 DdYQ==
X-Gm-Message-State: AOJu0YxaQ63xKuUkNfhaAcz0tjJnGaS0p7GzWKx03dDWPIufhDWGLu8Z
 jRhhkM0C6OZ741nyaqhZRD21sBS2opa9g/MNTH8WQbmi1b/lNFl3UpUDvkd7
X-Google-Smtp-Source: AGHT+IFKghfffykaKzUBOn570zQM+U60Y+SQzq5GFL13eObuv5IOvrRS3wqYgRDW2fCZn0KUvLGMDg==
X-Received: by 2002:a05:6512:3083:b0:535:6951:9e1c with SMTP id
 2adb3069b0e04-539e54e7122mr6417376e87.15.1728978228902; 
 Tue, 15 Oct 2024 00:43:48 -0700 (PDT)
Received: from schCube.localdomain ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9a29719196sm37741966b.33.2024.10.15.00.43.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Oct 2024 00:43:48 -0700 (PDT)
From: Kristiyan Kanchev <skrechy@HIDDEN>
To: 73432 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: Add maven-resolver-1.6
Date: Tue, 15 Oct 2024 10:43:14 +0300
Message-ID: <6e6837dc8e86e4e3b7bceccd834b1a488233639e.1728910014.git.skrechy@HIDDEN>
X-Mailer: git-send-email 2.43.0
In-Reply-To: <cover.1728910014.git.skrechy@HIDDEN>
References: <cover.1728910014.git.skrechy@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: Julien Lepiller <julien@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/maven.scm (maven-resolver-1.6-parent-pom,
maven-resolver-1.6-api, maven-resolver-1.6-spi, maven-resolver-1.6-test-util,
maven-resolver-1.6-util, maven-resolver-1.6-connector-basic,
maven-resolver-1.6-impl, maven-resolver-1.6-transport-file,
maven-resolver-1.6-transport-http): New variables

Change-Id: I293fdee8f4124c01c7260f6d10ba6c2ee56fe355
---
 gnu/packages/maven.scm | 176 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 176 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 67b95a5f7b..564a49fced 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2277,6 +2277,182 @@ (define-public maven
 can be extended by plugins to utilise a number of other development tools for
 reporting or the build process.")))
 
+(define maven-resolver-1.6-parent-pom
+  (package
+    (inherit maven-resolver-parent-pom)
+    (version "1.6.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/apache/maven-resolver")
+                    (commit (string-append "maven-resolver-" version))))
+              (file-name (git-file-name "maven-resolver" version))
+              (sha256
+               (base32
+                "0hbbbxj14qyq8pccyab96pjqq90jnjmid1pml9kx55c5smfpjn37"))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-parent-pom)
+       (replace "maven-parent-pom" maven-parent-pom-34)))))
+
+(define-public maven-resolver-1.6-api
+  (package
+    (inherit maven-resolver-api)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-api)
+       (replace "maven-resolver-parent-pom" maven-resolver-1.6-parent-pom)))))
+
+(define-public maven-resolver-1.6-spi
+  (package
+    (inherit maven-resolver-spi)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-spi)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)))))
+
+(define-public maven-resolver-1.6-test-util
+  (package
+    (inherit maven-resolver-test-util)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (inputs
+     (modify-inputs (package-inputs maven-resolver-test-util)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)))))
+
+(define-public maven-resolver-1.6-util
+  (package
+    (inherit maven-resolver-util)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-util)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)))
+    (native-inputs
+     (modify-inputs (package-native-inputs maven-resolver-util)
+       (replace "java-hamcrest-all" java-hamcrest-core)
+       (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
+
+(define-public maven-resolver-1.6-connector-basic
+  (package
+    (inherit maven-resolver-connector-basic)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-connector-basic)
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)))
+    (native-inputs
+     (modify-inputs (package-native-inputs maven-resolver-connector-basic)
+       (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
+
+(define-public maven-resolver-1.6-impl
+  (package
+    (inherit maven-resolver-impl)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (arguments
+     `(#:jar-name "maven-resolver-impl.jar"
+       #:source-dir "maven-resolver-impl/src/main/java"
+       #:test-dir "maven-resolver-impl/src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'generate-sisu
+           (lambda _
+             (mkdir-p "build/classes/META-INF/sisu")
+             (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
+               (lambda _
+                 (display
+                  (string-append
+                   ;; Build this list by looking for files containing "@Named"
+                   "org.eclipse.aether.internal.impl.DefaultArtifactResolver\n"
+                   "org.eclipse.aether.internal.impl.collect.DefaultDependencyCollector\n"
+                   "org.eclipse.aether.internal.impl.DefaultChecksumPolicyProvider\n"
+                   "org.eclipse.aether.internal.impl.DefaultDeployer\n"
+                   "org.eclipse.aether.internal.impl.DefaultFileProcessor\n"
+                   "org.eclipse.aether.internal.impl.DefaultInstaller\n"
+                   "org.eclipse.aether.internal.impl.DefaultLocalRepositoryProvider\n"
+                   "org.eclipse.aether.internal.impl.DefaultMetadataResolver\n"
+                   "org.eclipse.aether.internal.impl.DefaultOfflineController\n"
+                   "org.eclipse.aether.internal.impl.DefaultRemoteRepositoryManager\n"
+                   "org.eclipse.aether.internal.impl.DefaultRepositoryConnectorProvider\n"
+                   "org.eclipse.aether.internal.impl.DefaultRepositoryEventDispatcher\n"
+                   "org.eclipse.aether.internal.impl.DefaultRepositoryLayoutProvider\n"
+                   "org.eclipse.aether.internal.impl.DefaultRepositorySystem\n"
+                   "org.eclipse.aether.internal.impl.DefaultSyncContextFactory\n"
+                   "org.eclipse.aether.internal.impl.DefaultTransporterProvider\n"
+                   "org.eclipse.aether.internal.impl.DefaultUpdateCheckManager\n"
+                   "org.eclipse.aether.internal.impl.DefaultUpdatePolicyAnalyzer\n"
+                   "org.eclipse.aether.internal.impl.EnhancedLocalRepositoryManagerFactory\n"
+                   "org.eclipse.aether.internal.impl.LoggerFactoryProvider\n"
+                   "org.eclipse.aether.internal.impl.Maven2RepositoryLayoutFactory\n"
+                   "org.eclipse.aether.internal.impl.SimpleLocalRepositoryManagerFactory\n"
+                   "org.eclipse.aether.internal.impl.slf4j.Slf4jLoggerFactory"))))
+             #t))
+         (replace 'install
+           (install-from-pom "maven-resolver-impl/pom.xml")))))
+    (propagated-inputs
+     (modify-inputs (package-propagated-inputs maven-resolver-impl)
+       (delete "maven-resolver-named-locks")
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)
+       (replace "maven-resolver-parent-pom" maven-resolver-1.6-parent-pom)))
+    (native-inputs
+     (modify-inputs (package-native-inputs maven-resolver-impl)
+       (delete "java-hamcrest-all")
+       (delete "java-mockito-1")
+       (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
+
+(define-public maven-resolver-1.6-transport-file
+  (package
+    (inherit maven-resolver-transport-file)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (inputs
+     (modify-inputs (package-inputs maven-resolver-transport-file)
+       (delete "maven-wagon-provider-api")
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)))
+    (native-inputs
+     (modify-inputs (package-native-inputs maven-resolver-transport-file)
+       (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
+
+(define-public maven-resolver-1.6-transport-http
+  (package
+    (inherit maven-resolver-transport-http)
+    (version (package-version maven-resolver-1.6-parent-pom))
+    (source (package-source maven-resolver-1.6-parent-pom))
+    (arguments
+     `(#:jar-name "maven-resolver-transport-http.jar"
+       #:source-dir "maven-resolver-transport-http/src/main/java"
+       #:test-dir "maven-resolver-transport-http/src/test"
+       #:jdk ,icedtea-8
+       ;; Tests all fail because
+       ;; org.eclipse.aether.transport.http.SslSocketFactory is not available.
+       #:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'build 'generate-sisu
+           (lambda _
+             (mkdir-p "build/classes/META-INF/sisu")
+             (with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
+               (lambda _
+                 (display "org.eclipse.aether.transport.http.HttpTransporterFactory\n"))))))))
+    (inputs
+     (modify-inputs (package-inputs maven-resolver-transport-http)
+       (delete "maven-wagon-provider-api")
+       (replace "maven-resolver-api" maven-resolver-1.6-api)
+       (replace "maven-resolver-spi" maven-resolver-1.6-spi)
+       (replace "maven-resolver-util" maven-resolver-1.6-util)))
+    (native-inputs
+     (modify-inputs (package-native-inputs maven-resolver-transport-http)
+       (replace "maven-resolver-test-util" maven-resolver-1.6-test-util)))))
+
 ;; Many plugins require maven 3.0 as a dependency.
 (define maven-3.0-pom
   (package
-- 
2.43.0





Information forwarded to julien@HIDDEN, bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 15 Oct 2024 07:36:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Oct 15 03:36:53 2024
Received: from localhost ([127.0.0.1]:53889 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1t0c6v-0002r7-11
	for submit <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:36:53 -0400
Received: from mail-lj1-f179.google.com ([209.85.208.179]:52269)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1t0c6s-0002qv-Uj
 for 73432 <at> debbugs.gnu.org; Tue, 15 Oct 2024 03:36:51 -0400
Received: by mail-lj1-f179.google.com with SMTP id
 38308e7fff4ca-2fb51e00c05so21900321fa.0
 for <73432 <at> debbugs.gnu.org>; Tue, 15 Oct 2024 00:36:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728977731; x=1729582531; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=vh6yJQ/e+2bZyXaiGGpwdZsDHwLXvpAZLu7LyxuDjbI=;
 b=R8J096Mv1+5C1uLHgFTTBWCocCMLlSNMq490tveZNoa/Oj15onOGoiHcRX+DY3jQv6
 T8Lafb41Z9Vpp0tU3mhmWHJT/p1rHMW2wP3+hFxQMXAkzcoFvktt5Y6QOOUvnklPw5y4
 mGIZagzt+LrEfTMvtqX4TiZ/kDJySG6bQ3KXkYafEDtBa0FVQ815aRW99KVpHsXhwNin
 R9bIvJoxuSyyO6BHZmNhYUhGtenG5pARhRAjyXzQNnnJ5TlVTR6vR/lC4BAzykZ16i1y
 i25qooxbrCfaHGRwKo7F6SD+lun9cU3d1ObQWPXKa3gGFyrvYpUrC9th9ICPuznVoQXl
 cwvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728977731; x=1729582531;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=vh6yJQ/e+2bZyXaiGGpwdZsDHwLXvpAZLu7LyxuDjbI=;
 b=mSKykGely4otjicxRgTyr/vcPY2gHjYq/R8tpCVnoqhygafE4f8M8XJl/CGpnPkljy
 oGQeHVw/N/NfumPtik6ST9dUZsqJBFm9YFnX9FLyQ8RXb6eoBCfCHE2aPFc3noe3JrzH
 nZKI4jb/ggbS+XqNQQ7pThD/gSAC7uOI56HYLzXaQHXIH6K37OkgnAZccH4p5wgVx2gb
 rmm9n5lLHMFIxHx/eJLnkazWr5bDpBXl+au1QYO5Zjf4g+9S0lgsDI5P+pofl+zpeBvl
 dlIG+ovp8aUhbKnBx6lawvKdegX5eOamxnBWJ/Bng+m6k4Mj2q3o8yXxkrpS5n6r3+wS
 hSag==
X-Gm-Message-State: AOJu0YyZqFZSrbCm78dopPs8g/ZP0n5ddsL7RQXF1/oZpU7NYiE8hG07
 CArGKqRdIxo6y634dB/M4/K+o8mT40E4rXPTVGZFcEpMJkdYWSWGSkcKOFVO
X-Google-Smtp-Source: AGHT+IGMOAZckbMZkoVSzaGPqNWSG0TleUtDADneK2NGJZNev9MlASKRiKNR8mKf6+t5cza/Lkvy9A==
X-Received: by 2002:a2e:a7c1:0:b0:2fa:d604:e522 with SMTP id
 38308e7fff4ca-2fb3f025dd3mr55432341fa.0.1728977730712; 
 Tue, 15 Oct 2024 00:35:30 -0700 (PDT)
Received: from schCube.localdomain ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a9a29850aa5sm35989766b.152.2024.10.15.00.35.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 15 Oct 2024 00:35:29 -0700 (PDT)
From: Kristiyan Kanchev <skrechy@HIDDEN>
To: 73432 <at> debbugs.gnu.org
Subject: [PATCH 0/3] Fix clojure-tools-deps: wrong resolution of deps
Date: Tue, 15 Oct 2024 10:35:19 +0300
Message-ID: <cover.1728910014.git.skrechy@HIDDEN>
X-Mailer: git-send-email 2.43.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Clojure CLI (guix package `clojure-tools`) dependes on clojure-tools-deps
library, which in turn dependes on Maven Core. However, Clojure CLI doesn't
work correctly with Maven Core 3.9 (calculates wrong classpaths), so these
patches "port" Maven Core and its deps to version 3.8 (and Maven Resolver to
1.6) and make `clojure-tools-deps` to use them as deps.

Kristiyan Kanchev (3):
  gnu: Add maven-resolver-1.6
  gnu: Add maven-3.8-core
  gnu: clojure-tools-deps: Fix wrong resolution of clojure deps

 gnu/packages/clojure.scm |  13 +-
 gnu/packages/maven.scm   | 308 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 312 insertions(+), 9 deletions(-)


base-commit: e6a771c7baf9662b4c9832045ad86c8b92b46bb3
--
2.43.0




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 9 Oct 2024 12:19:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 08:19:29 2024
Received: from localhost ([127.0.0.1]:55900 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syVf6-0003pP-BI
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2024 08:19:29 -0400
Received: from mail-wm1-f44.google.com ([209.85.128.44]:55495)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <roman.scherer@HIDDEN>) id 1syVf3-0003pC-W3
 for 73432 <at> debbugs.gnu.org; Wed, 09 Oct 2024 08:19:27 -0400
Received: by mail-wm1-f44.google.com with SMTP id
 5b1f17b1804b1-4311420b63fso2414755e9.2
 for <73432 <at> debbugs.gnu.org>; Wed, 09 Oct 2024 05:19:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1728476290;
 x=1729081090; darn=debbugs.gnu.org; 
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=jrofDjL8yqaSdPHJbTCj3d2jf0Zq9j7gD8jKr0HJ5iI=;
 b=AqQE9L+q6z223qFS4KRnzZRqeQizLjbUD0Ipm74r4gV/1jkCEoPGRUnokcAhuCfyBV
 zM5QxWGlrE/kJPZNyFVBJEkaiiSum00Ii3xP8swh0z/9BJoOcybLOsC1hFXfnmFRoHci
 qOQBCJ8b68U0e1VUdqPgsBgXdEh2uE+Zu3pyhZA5D6RzJEyOYmJbhVG+IjlV7D2I3Gjy
 Z/DLC23h09a/+xNKzYAyoixJ2D6ffXypVwyRjL/koWXmM+ahSPtIbKseAaLVJil5Wkaa
 bQbJJ3mF4bYuZ6ad0eDocJ1nmcU81g75Qy4mmftDaexmFEfWIx2Dks/Rzzg+ZuvcNrWN
 JoVg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728476290; x=1729081090;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=jrofDjL8yqaSdPHJbTCj3d2jf0Zq9j7gD8jKr0HJ5iI=;
 b=qtcYavG05y0FeCPOEvvfVi22mxRDNHUSTLbNAo7p0O557sdMTsY2kkEU9PehcY4K1I
 tzAGP0YLoabWUFcR3Vjk+c+W+jqONkZ5A5atElYUvNOd7vNZEj7/9AjntpP+G7SfhS0d
 jtHnmC1835j8mO/12y2K2URZiOb6ax/qWB3+6XOUEHGrMfbEG7fTW5GfMEFBwrCPnYxT
 yJ7lCIedCbsZzdi8Ddc57Tlpnfi1RLMRBLmDAzB51sDo8H/YoEFinWy7IE3niG78SmKX
 56GR3/rCQPcfTCB1PTuINLog0/ZIgJd+ViI4IHiIV/JmlhC2mbKhT133fYTLWKPeVQt/
 Ln5g==
X-Forwarded-Encrypted: i=1;
 AJvYcCWbtBhn08By/flNWFmcAYL4bwWagL4B36+13w/bQstbDjAAqhoJgIXsKPQYS9x8EznfuWnudg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzRlRANp8Vm5YjUqLbAIqsYpHL4nLmRtfSX0fvYfpERi8kGHB9E
 kQoOfDn7kEUygN70uuq/rskjgCD2N8XGtsCLxm51weSJr7DdA3Ge74o4gP25uW4=
X-Google-Smtp-Source: AGHT+IGfdbubEYlXv5IR7shQ0mdAzt7RrC8rInAJ9HPjPbjnMJVB34SOQCfZE2xQwEoilxLlRPfhAQ==
X-Received: by 2002:a05:600c:45d1:b0:426:6308:e2f0 with SMTP id
 5b1f17b1804b1-430d729f2cdmr15934555e9.26.1728476289793; 
 Wed, 09 Oct 2024 05:18:09 -0700 (PDT)
Received: from precision (tmo-087-248.customers.d1-online.com. [80.187.87.248])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-430ccf5f3adsm18729255e9.22.2024.10.09.05.18.08
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 09 Oct 2024 05:18:09 -0700 (PDT)
From: Roman Scherer <roman.scherer@HIDDEN>
To: Kristiyan Kanchev <skrechy@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
In-Reply-To: <b446361a-166e-47dd-b596-93031887f7d1@HIDDEN> (Kristiyan
 Kanchev's message of "Wed, 9 Oct 2024 15:15:47 +0300")
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
 <87bk01thf0.fsf@HIDDEN> <864j5ts0yn.fsf@HIDDEN>
 <86zfnlqm3e.fsf@HIDDEN>
 <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN>
 <87jzeorvjd.fsf@HIDDEN>
 <CAEtmmex3Cobs8VPyfzfsSXFmuSfCkrm9OarufhPCbLh8XCeBcA@HIDDEN>
 <b446361a-166e-47dd-b596-93031887f7d1@HIDDEN>
Date: Wed, 09 Oct 2024 14:18:07 +0200
Message-ID: <87frp5jwqo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Julien Lepiller <julien@HIDDEN>,
 Ludovic =?utf-8?Q?Co?= =?utf-8?Q?urt=C3=A8s?= <ludo@HIDDEN>,
 Rostislav Svoboda <rostislav.svoboda@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain


Nice Kristiyan, thanks for your work on this!

Kristiyan Kanchev <skrechy@HIDDEN> writes:

> Hello all,
>
> I've just managed to start Metabase with clojure-tools build from
> Guix. The problem was indeed what I suspected --> maven-core 3.8.8 was
> needed. maven-core 3.9.* is incompatible with clojure-tools (I want to
> note that the clojure/tools.deps lib is not working correctly with
> maven 3.9, not that Guix packaging is wrong).
>
> Unfortunately, most of maven projects are handled as "bundles" of
> dependencies, so I had to "port" 20 packages to their older
> version. I'm currently improving/beautifying the code, then I'll push
> patches for review.
>
> Regards,
> Kriss
>
> On 10/6/24 15:57, Rostislav Svoboda wrote:
>> Hi. The bug can be tested with a one liner from within the guix shell
>> of your guix-repo checkout directory. Then it's just a git bisect
>> grind resulting in:
>>
>> bad commit:    6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to
>> 3.9.0. Julien Lepiller
>> compile error: 7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
>> compile error: 4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
>> compile error: 65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update
>> to 1.9.4. Julien Lepiller
>> good commit:   597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37.
>> Julien Lepiller
>>
>> I think we should take a closer look at the changes introduced by
>> maven 3.9.0, and involve Julien in the discussion.
>>
>> Cheers Bost
>>
>>
>> bost@ecke ~/dev/guix$ guix shell --development guix gnupg direnv
>> help2man git glibc-locales glibc less --pure
>>
>> bost@ecke ~/dev/guix [env]$ git log --pretty=format:'%h %ad%d %s %an'
>> --date=short -n 5
>> 6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to 3.9.0. Julien Lepiller
>> 7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
>> 4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
>> 65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update to 1.9.4. Julien Lepiller
>> 597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37. Julien Lepiller
>>
>> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
>> openjdk coreutils --container --network
>> --share=$HOME/.bash_history=$HOME/.bash_history
>> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
>> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
>> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
>> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
>> :connection-timeout 9000})'
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
>> 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
>> 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
>> 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
>> 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
>> Warning: failed to load the S3TransporterFactory class
>> Warning: failed to load the S3TransporterFactory class
>> Execution error (ClassNotFoundException) at
>> java.net.URLClassLoader/findClass (REPL:-1).
>> io.netty.channel.epoll.Epoll
>>
>> Full report at:
>> /tmp/clojure-10071694626922869296.edn
>>
>> bost@ecke ~/dev/guix [env]$ git checkout 7634bfca4a
>> Previous HEAD position was 6a763d916e gnu: maven: Update to 3.9.0.
>> HEAD is now at 7634bfca4a gnu: Add java-asm-tree-9.
>>
>> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
>> openjdk coreutils --container --network
>> --share=$HOME/.bash_history=$HOME/.bash_history
>> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
>> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
>> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
>> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
>> :connection-timeout 9000})'
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
>> substitute: updating substitutes from
>> 'https://substitutes.nonguix.org'... 100.0%
>> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
>> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
>> The following derivations will be built:
>>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>>
>> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
>> - 'build' phasebuilder for
>> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
>> failed with exit code 1
>> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>> failed
>> View build log at
>> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
>> cannot build derivation
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
>> 1 dependencies couldn't be built
>> guix shell: error: build of
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
>> failed
>>
>> bost@ecke ~/dev/guix [env]$ git checkout 4ba0614677
>> Previous HEAD position was 7634bfca4a gnu: Add java-asm-tree-9.
>> HEAD is now at 4ba0614677 gnu: Add java-asm-9.
>>
>> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
>> openjdk coreutils --container --network
>> --share=$HOME/.bash_history=$HOME/.bash_history
>> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
>> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
>> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
>> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
>> :connection-timeout 9000})'
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
>> The following derivations will be built:
>>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>>
>> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
>> / 'build' phasebuilder for
>> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
>> failed with exit code 1
>> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>> failed
>> View build log at
>> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
>> cannot build derivation
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
>> 1 dependencies couldn't be built
>> guix shell: error: build of
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
>> failed
>>
>> bost@ecke ~/dev/guix [env]$ git checkout 65e18f3f44
>> Previous HEAD position was 4ba0614677 gnu: Add java-asm-9.
>> HEAD is now at 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.
>>
>> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
>> openjdk coreutils --container --network
>> --share=$HOME/.bash_history=$HOME/.bash_history
>> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
>> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
>> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
>> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
>> :connection-timeout 9000})'
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
>> The following derivations will be built:
>>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>>
>> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
>> / 'build' phasebuilder for
>> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
>> failed with exit code 1
>> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>> failed
>> View build log at
>> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
>> cannot build derivation
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
>> 1 dependencies couldn't be built
>> guix shell: error: build of
>> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
>> failed
>>
>> bost@ecke ~/dev/guix [env]$ git checkout 597f7db28a
>> Previous HEAD position was 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.
>> HEAD is now at 597f7db28a gnu: Add maven-parent-pom-37.
>>
>> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
>> openjdk coreutils --container --network
>> --share=$HOME/.bash_history=$HOME/.bash_history
>> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
>> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
>> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
>> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
>> :connection-timeout 9000})'
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
>> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
>> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
>> 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
>> 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
>> 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
>> 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
>> Warning: failed to load the S3TransporterFactory class
>> Warning: failed to load the S3TransporterFactory class
>> {:request-time 82, :aleph/keep-alive? true, :headers {"accept-ch"
>> "Sec-CH-Prefers-Color-Scheme", "server" "gws",
>> "content-security-policy-report-only" "object-src 'none';base-uri
>> 'self';script-src 'nonce-L_bpFSKBfV6ePPQ5XX89mw' 'strict-dynamic'
>> 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri
>> https://csp.withgoogle.com/csp/gws/other-hp", "content-type"
>> "text/html; charset=ISO-8859-1", "alt-svc" "h3=\":443\";
>> ma=2592000,h3-29=\":443\"; ma=2592000", "x-frame-options"
>> "SAMEORIGIN", "transfer-encoding" "chunked", "accept-ranges" "none",
>> "expires" "-1", "set-cookie"
>> "AEC=AVYB7cr3cvmbAV1LWXyhpEQMmhRJqAKagWpJsT3WkFdcueWBlDBtYcB0u1o;
>> expires=Fri, 04-Apr-2025 12:35:58 GMT; path=/; domain=.google.com;
>> Secure; HttpOnly;
>> SameSite=lax,__Secure-ENID=22.SE=hKFI58OY5TimxtoBmlZoSVjiTnTyUvcKPQ5h8n0JoYzy2J-9FSnumjnPyK208TYChMrSFA1issl1W8d36dbIH4w8EqdsKZpAx9VOHYif7-4hpDuzzJc63EQN5B9P9Ie5EOByy0HTBVwFwqRx6Kzpq9KiLMC5p98cyf6gTrU9aUgM-ec-gXy-yZh5WlL6cD2hXw3g5WkRcCk;
>> expires=Thu, 06-Nov-2025 04:54:16 GMT; path=/; domain=.google.com;
>> Secure; HttpOnly; SameSite=lax", "p3p" "CP=\"This is not a P3P policy!
>> See g.co/p3phelp for more info.\"", "date" "Sun, 06 Oct 2024 12:35:58
>> GMT", "vary" "Accept-Encoding", "x-xss-protection" "0",
>> "cache-control" "private, max-age=0"}, :status 200, :connection-time
>> 336, :body #object[clj_commons.byte_streams.InputStream 0x7ba907cf
>> "clj_commons.byte_streams.InputStream@7ba907cf"]}
>>
>> bost@ecke ~/dev/guix [env]$

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmcGdH8fHHJvbWFuLnNj
aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBme2WB/0cg1q7MkE0YQdC
QwetOd+B2nDlUHrkiha7evGyD+NX/8AtOHS0vnhyWXhJyDX6TKJSurtLFiUnypBA
d9uaEl66uxsyNiHhUi3oUeIV6gcSaDoYDIY5dRnfWXtgJ9Bo1Rzb11UkllQjjsnz
8hwQqCSz2pF0D5OGvELD/W9w8FH1yLBdFnpOEY9rB7t9U37a64xaZ8+1q2PUmENw
Lq1uGixZthdtj3Q5iTdm4jenA+Md0LvLHsBm9oEJO9+MvwzKy5SpvPeGVeH4vgA6
cg/y9T7Z2vgMB7NJjwOQ38AGlWd4FYsZ0Zt8WjSnvvPwJ2Xdh3yPFqKdILlpYCmr
xUkbOYp6
=hGk+
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 9 Oct 2024 12:17:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 09 08:17:05 2024
Received: from localhost ([127.0.0.1]:55890 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1syVcm-0003lQ-HJ
	for submit <at> debbugs.gnu.org; Wed, 09 Oct 2024 08:17:05 -0400
Received: from mail-lf1-f52.google.com ([209.85.167.52]:52605)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1syVcj-0003kw-HG
 for 73432 <at> debbugs.gnu.org; Wed, 09 Oct 2024 08:17:02 -0400
Received: by mail-lf1-f52.google.com with SMTP id
 2adb3069b0e04-5398b589032so10475382e87.1
 for <73432 <at> debbugs.gnu.org>; Wed, 09 Oct 2024 05:16:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728476150; x=1729080950; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id:from
 :to:cc:subject:date:message-id:reply-to;
 bh=SzTlMqWEPYZc+HjJkRUXgZcjd9SZb9tYkoU93iqW1Ek=;
 b=OmpTmMkUq9vIFZkNpZUHFnGYkKYUZNcteE2va5R5sDtZXBKCPk0rua+E/xKOc4N/98
 DVYQ742an0agWRkSsakTtwol+ZBVfz7lpNNO0pMvYFuoBH4UvbZjbfDj3HrSc99ILBi9
 BGOFLygSbWkRo/zN1O33iJ1wEHlPLVkH+u4BSfzscLJOOcQiGToViuie1oCbmmkEtHgh
 igHdcYaikJLB6Ojj4O5BKNorlYIf+pdGR4SpPiSXOZite0HPOFDCZGQFJjzW7yeE7VcU
 XT+UxYYE3bK0kgrnrDmCGfZCz7K81ucrtZRvbhXJiv2CzldvGiLplJsyeFAZuyAZ2Wxj
 PyOA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728476150; x=1729080950;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=SzTlMqWEPYZc+HjJkRUXgZcjd9SZb9tYkoU93iqW1Ek=;
 b=Is5bvaUbdCe/Iyb6SFqMLJNFYMk+eecuyncxuxy/tdSSh3clmhD3OlXenru52jdSaU
 LhA66xKbuHSM54xjNI9PO/Xw16+p7UfwwzCOPkNzi+S3sHHhrod2B+IwoJtATyxuzlet
 uyY30eVzwxwYroqgyoRiGXrebg5cTBqUP9wTZ73z2UtHHYXS2r1060K2UQ0pIJt+ZKhq
 AJl/J5PpUiGCGRIc2Fr+QxpNyjkcHg/d5nGTnSAB28GgPOXT83TO5SPIebsXckN+fDqk
 pw30lLSlr1qgBXCbDkcQUjf1fSgKO480Ogy009SxWoZrtX/CSnf21TLXMik+Cj7vWVBs
 KbxQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCW9b6+sdK2YA/Xo/W2NTdO5jLD8sTPO66TS9nq82TnDERJk72KNsnLLwOw4e3J/o0Qt4AEOEw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzVJ2zgKIy2ec5iwO06nZRL4Ydlb4XTBQAuiA3bUPjGQzYlQ+Oh
 ROwsp+Eu6uf8elIzqYAuKOniiUIt775bt29AA0Us65s+zI4PIc0r
X-Google-Smtp-Source: AGHT+IEpffkNJYwE0Buhgy2rWlYtlyjQU39TfPVm9ZB8oP39ENuuRFr21lI0kcIvf+0/SNVeet/Sxw==
X-Received: by 2002:a05:6512:12c8:b0:539:947e:18a6 with SMTP id
 2adb3069b0e04-539c4953569mr1980034e87.47.1728476149728; 
 Wed, 09 Oct 2024 05:15:49 -0700 (PDT)
Received: from [192.168.242.26] ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a99332a9bd7sm634426266b.212.2024.10.09.05.15.48
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Wed, 09 Oct 2024 05:15:49 -0700 (PDT)
Message-ID: <b446361a-166e-47dd-b596-93031887f7d1@HIDDEN>
Date: Wed, 9 Oct 2024 15:15:47 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#73432: clojure package is broken
To: Rostislav Svoboda <rostislav.svoboda@HIDDEN>,
 Roman Scherer <roman.scherer@HIDDEN>,
 =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>,
 Julien Lepiller <julien@HIDDEN>
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN> <87bk01thf0.fsf@HIDDEN>
 <864j5ts0yn.fsf@HIDDEN> <86zfnlqm3e.fsf@HIDDEN>
 <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN>
 <87jzeorvjd.fsf@HIDDEN>
 <CAEtmmex3Cobs8VPyfzfsSXFmuSfCkrm9OarufhPCbLh8XCeBcA@HIDDEN>
Content-Language: en-US
From: Kristiyan Kanchev <skrechy@HIDDEN>
In-Reply-To: <CAEtmmex3Cobs8VPyfzfsSXFmuSfCkrm9OarufhPCbLh8XCeBcA@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello all,

I've just managed to start Metabase with clojure-tools build from Guix. 
The problem was indeed what I suspected --> maven-core 3.8.8 was needed. 
maven-core 3.9.* is incompatible with clojure-tools (I want to note that 
the clojure/tools.deps lib is not working correctly with maven 3.9, not 
that Guix packaging is wrong).

Unfortunately, most of maven projects are handled as "bundles" of 
dependencies, so I had to "port" 20 packages to their older version. I'm 
currently improving/beautifying the code, then I'll push patches for review.

Regards,
Kriss

On 10/6/24 15:57, Rostislav Svoboda wrote:
> Hi. The bug can be tested with a one liner from within the guix shell
> of your guix-repo checkout directory. Then it's just a git bisect
> grind resulting in:
>
> bad commit:    6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to
> 3.9.0. Julien Lepiller
> compile error: 7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
> compile error: 4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
> compile error: 65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update
> to 1.9.4. Julien Lepiller
> good commit:   597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37.
> Julien Lepiller
>
> I think we should take a closer look at the changes introduced by
> maven 3.9.0, and involve Julien in the discussion.
>
> Cheers Bost
>
>
> bost@ecke ~/dev/guix$ guix shell --development guix gnupg direnv
> help2man git glibc-locales glibc less --pure
>
> bost@ecke ~/dev/guix [env]$ git log --pretty=format:'%h %ad%d %s %an'
> --date=short -n 5
> 6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to 3.9.0. Julien Lepiller
> 7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
> 4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
> 65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update to 1.9.4. Julien Lepiller
> 597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37. Julien Lepiller
>
> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
> openjdk coreutils --container --network
> --share=$HOME/.bash_history=$HOME/.bash_history
> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
> :connection-timeout 9000})'
> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
> 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
> 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
> 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
> 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
> Warning: failed to load the S3TransporterFactory class
> Warning: failed to load the S3TransporterFactory class
> Execution error (ClassNotFoundException) at
> java.net.URLClassLoader/findClass (REPL:-1).
> io.netty.channel.epoll.Epoll
>
> Full report at:
> /tmp/clojure-10071694626922869296.edn
>
> bost@ecke ~/dev/guix [env]$ git checkout 7634bfca4a
> Previous HEAD position was 6a763d916e gnu: maven: Update to 3.9.0.
> HEAD is now at 7634bfca4a gnu: Add java-asm-tree-9.
>
> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
> openjdk coreutils --container --network
> --share=$HOME/.bash_history=$HOME/.bash_history
> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
> :connection-timeout 9000})'
> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
> substitute: updating substitutes from
> 'https://substitutes.nonguix.org'... 100.0%
> substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
> substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
> The following derivations will be built:
>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>
> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
> - 'build' phasebuilder for
> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
> failed with exit code 1
> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
> failed
> View build log at
> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
> cannot build derivation
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
> 1 dependencies couldn't be built
> guix shell: error: build of
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
> failed
>
> bost@ecke ~/dev/guix [env]$ git checkout 4ba0614677
> Previous HEAD position was 7634bfca4a gnu: Add java-asm-tree-9.
> HEAD is now at 4ba0614677 gnu: Add java-asm-9.
>
> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
> openjdk coreutils --container --network
> --share=$HOME/.bash_history=$HOME/.bash_history
> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
> :connection-timeout 9000})'
> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
> The following derivations will be built:
>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>
> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
> / 'build' phasebuilder for
> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
> failed with exit code 1
> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
> failed
> View build log at
> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
> cannot build derivation
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
> 1 dependencies couldn't be built
> guix shell: error: build of
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
> failed
>
> bost@ecke ~/dev/guix [env]$ git checkout 65e18f3f44
> Previous HEAD position was 4ba0614677 gnu: Add java-asm-9.
> HEAD is now at 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.
>
> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
> openjdk coreutils --container --network
> --share=$HOME/.bash_history=$HOME/.bash_history
> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
> :connection-timeout 9000})'
> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
> The following derivations will be built:
>    /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
>    /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
>    /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
>    /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
>    /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
>    /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv
>
> building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
> / 'build' phasebuilder for
> `/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
> failed with exit code 1
> build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
> failed
> View build log at
> '/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
> cannot build derivation
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
> 1 dependencies couldn't be built
> guix shell: error: build of
> `/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
> failed
>
> bost@ecke ~/dev/guix [env]$ git checkout 597f7db28a
> Previous HEAD position was 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.
> HEAD is now at 597f7db28a gnu: Add maven-parent-pom-37.
>
> bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
> openjdk coreutils --container --network
> --share=$HOME/.bash_history=$HOME/.bash_history
> --share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
> {:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
> -J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
> :as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
> :connection-timeout 9000})'
> ;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
> ;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
> ;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
> 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
> 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
> 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
> 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
> Warning: failed to load the S3TransporterFactory class
> Warning: failed to load the S3TransporterFactory class
> {:request-time 82, :aleph/keep-alive? true, :headers {"accept-ch"
> "Sec-CH-Prefers-Color-Scheme", "server" "gws",
> "content-security-policy-report-only" "object-src 'none';base-uri
> 'self';script-src 'nonce-L_bpFSKBfV6ePPQ5XX89mw' 'strict-dynamic'
> 'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri
> https://csp.withgoogle.com/csp/gws/other-hp", "content-type"
> "text/html; charset=ISO-8859-1", "alt-svc" "h3=\":443\";
> ma=2592000,h3-29=\":443\"; ma=2592000", "x-frame-options"
> "SAMEORIGIN", "transfer-encoding" "chunked", "accept-ranges" "none",
> "expires" "-1", "set-cookie"
> "AEC=AVYB7cr3cvmbAV1LWXyhpEQMmhRJqAKagWpJsT3WkFdcueWBlDBtYcB0u1o;
> expires=Fri, 04-Apr-2025 12:35:58 GMT; path=/; domain=.google.com;
> Secure; HttpOnly;
> SameSite=lax,__Secure-ENID=22.SE=hKFI58OY5TimxtoBmlZoSVjiTnTyUvcKPQ5h8n0JoYzy2J-9FSnumjnPyK208TYChMrSFA1issl1W8d36dbIH4w8EqdsKZpAx9VOHYif7-4hpDuzzJc63EQN5B9P9Ie5EOByy0HTBVwFwqRx6Kzpq9KiLMC5p98cyf6gTrU9aUgM-ec-gXy-yZh5WlL6cD2hXw3g5WkRcCk;
> expires=Thu, 06-Nov-2025 04:54:16 GMT; path=/; domain=.google.com;
> Secure; HttpOnly; SameSite=lax", "p3p" "CP=\"This is not a P3P policy!
> See g.co/p3phelp for more info.\"", "date" "Sun, 06 Oct 2024 12:35:58
> GMT", "vary" "Accept-Encoding", "x-xss-protection" "0",
> "cache-control" "private, max-age=0"}, :status 200, :connection-time
> 336, :body #object[clj_commons.byte_streams.InputStream 0x7ba907cf
> "clj_commons.byte_streams.InputStream@7ba907cf"]}
>
> bost@ecke ~/dev/guix [env]$




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 6 Oct 2024 12:59:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 06 08:59:12 2024
Received: from localhost ([127.0.0.1]:40425 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sxQqt-0007OS-J2
	for submit <at> debbugs.gnu.org; Sun, 06 Oct 2024 08:59:12 -0400
Received: from mail-qt1-f179.google.com ([209.85.160.179]:60759)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rostislav.svoboda@HIDDEN>) id 1sxQqq-0007OC-Fm
 for 73432 <at> debbugs.gnu.org; Sun, 06 Oct 2024 08:59:09 -0400
Received: by mail-qt1-f179.google.com with SMTP id
 d75a77b69052e-457ce5fda1aso31169941cf.1
 for <73432 <at> debbugs.gnu.org>; Sun, 06 Oct 2024 05:59:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728219476; x=1728824276; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=70TcVRwioDSG4m/EyxdijLZtRiRoSgdQnJ+8PR3h99o=;
 b=IsRK3SU7xQtYYIWRkWG5IYyC9tcOhjFUMuus15uePNiCLvwEWt9o4Rg62w8TeDlIsC
 rlnohMTQpitIvWZNrmu6NmNg8vwFsbWBfYGddVo3dCC3aJGuPiuvc5XZ7mafV7Duy/Ge
 M1asb0AZ7CdT31jCxsI0t5fmQ4gCsszZkbRImC9HWHo0cwqYSpehTiOUE1WcbESUWy5/
 HZ/Zx0VOpZTtTv+b7ImAaFO8ucasEJdG3tSc5aYthLht6fnpH/NH6bW+Ts3ohlHzliIL
 9Es/4T9jIer1/Qqc0ZPLAq/G4IJqp6lHwR7E/VbNL1Np15A0JEXHbzhdFHScGOjWjqyy
 iNCw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728219476; x=1728824276;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=70TcVRwioDSG4m/EyxdijLZtRiRoSgdQnJ+8PR3h99o=;
 b=nlnb/u4F2+/wB6sf36pr/8QhCaggQtNyV6VQVLummUzfWWijxIoWaLrl21RSzW2p2M
 FXOwKoLBZabD5kzGJ16WqA/ZDCeIo7zxVXAFx/r5wungFcoT2EonjERu67LDXPHKiw56
 cddtuD1cxRRJWspP4n5r+W9xs4kpxgZvVtIdEalDVqea5Iov6AilVHczG4H4inOXxgeb
 pZ408hY5VL5ut8OxxWlhrOBlgxhYxyPFXZ8uT1uCAFktdxbpWIMJvO6GIEPF+nuEyxCk
 +jDemXP9jR9CqKCUpgWVWyptImFBL0o264M4IAEzhE2qX/EwcQ8q0wc0j3v7pkPMJoOc
 k0fg==
X-Forwarded-Encrypted: i=1;
 AJvYcCXZtjxSrZptav20hGD7ZD3tYNTVA1IoDntEcJZZTBGXTqGxpMgEyPw12UC4rTD3m0NVvCLdng==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YwGWYgG4dpy0O1xE68UoQypLjoD8OquSD1Kt8NDsxa/LlJqTD6K
 0c0YOOvm1bb/tkf6byoa0AFatf0UdUe1VM5sXMnkyYFuQzLzTdvsO7h1IZRn+KNSaaOEH/OA1OE
 1zCX2u0ghXUWtTPkSfUNzl4Yqhe8=
X-Google-Smtp-Source: AGHT+IHivfK/ut5DQiU1QXmXPKN7Ya6dUnVR9vDj9KlMCdq4/IUXi50LiC6cOTC2KEtPZ2bQjHf93RSFbeI147zb7DQ=
X-Received: by 2002:ac8:5949:0:b0:458:367b:aec7 with SMTP id
 d75a77b69052e-45d9bacd8b3mr124500731cf.37.1728219476409; Sun, 06 Oct 2024
 05:57:56 -0700 (PDT)
MIME-Version: 1.0
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN> <87bk01thf0.fsf@HIDDEN>
 <864j5ts0yn.fsf@HIDDEN> <86zfnlqm3e.fsf@HIDDEN>
 <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN>
 <87jzeorvjd.fsf@HIDDEN>
In-Reply-To: <87jzeorvjd.fsf@HIDDEN>
From: Rostislav Svoboda <rostislav.svoboda@HIDDEN>
Date: Sun, 6 Oct 2024 14:57:19 +0200
Message-ID: <CAEtmmex3Cobs8VPyfzfsSXFmuSfCkrm9OarufhPCbLh8XCeBcA@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
To: Roman Scherer <roman.scherer@HIDDEN>,
 Kristiyan Kanchev <skrechy@HIDDEN>, 
 =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>, 73432 <at> debbugs.gnu.org, 
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>,
 Julien Lepiller <julien@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi. The bug can be tested with a one liner from within the guix shell
of your guix-repo checkout directory. Then it's just a git bisect
grind resulting in:

bad commit:    6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to
3.9.0. Julien Lepiller
compile error: 7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
compile error: 4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
compile error: 65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update
to 1.9.4. Julien Lepiller
good commit:   597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37.
Julien Lepiller

I think we should take a closer look at the changes introduced by
maven 3.9.0, and involve Julien in the discussion.

Cheers Bost


bost@ecke ~/dev/guix$ guix shell --development guix gnupg direnv
help2man git glibc-locales glibc less --pure

bost@ecke ~/dev/guix [env]$ git log --pretty=format:'%h %ad%d %s %an'
--date=short -n 5
6a763d916e 2023-02-25 (HEAD) gnu: maven: Update to 3.9.0. Julien Lepiller
7634bfca4a 2023-02-25 gnu: Add java-asm-tree-9. Julien Lepiller
4ba0614677 2023-02-25 gnu: Add java-asm-9. Julien Lepiller
65e18f3f44 2023-02-25 gnu: maven-resolver-api: Update to 1.9.4. Julien Lepiller
597f7db28a 2023-02-25 gnu: Add maven-parent-pom-37. Julien Lepiller

bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
openjdk coreutils --container --network
--share=$HOME/.bash_history=$HOME/.bash_history
--share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
{:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
-J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
:as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
:connection-timeout 9000})'
;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
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
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
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
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
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
Execution error (ClassNotFoundException) at
java.net.URLClassLoader/findClass (REPL:-1).
io.netty.channel.epoll.Epoll

Full report at:
/tmp/clojure-10071694626922869296.edn

bost@ecke ~/dev/guix [env]$ git checkout 7634bfca4a
Previous HEAD position was 6a763d916e gnu: maven: Update to 3.9.0.
HEAD is now at 7634bfca4a gnu: Add java-asm-tree-9.

bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
openjdk coreutils --container --network
--share=$HOME/.bash_history=$HOME/.bash_history
--share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
{:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
-J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
:as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
:connection-timeout 9000})'
;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
substitute: updating substitutes from
'https://substitutes.nonguix.org'... 100.0%
substitute: updating substitutes from 'https://bordeaux.guix.gnu.org'... 100.0%
substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0%
The following derivations will be built:
  /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
  /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
  /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
  /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
  /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
  /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv

building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
- 'build' phasebuilder for
`/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
failed with exit code 1
build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
failed
View build log at
'/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
cannot build derivation
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
1 dependencies couldn't be built
guix shell: error: build of
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
failed

bost@ecke ~/dev/guix [env]$ git checkout 4ba0614677
Previous HEAD position was 7634bfca4a gnu: Add java-asm-tree-9.
HEAD is now at 4ba0614677 gnu: Add java-asm-9.

bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
openjdk coreutils --container --network
--share=$HOME/.bash_history=$HOME/.bash_history
--share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
{:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
-J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
:as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
:connection-timeout 9000})'
;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
The following derivations will be built:
  /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
  /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
  /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
  /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
  /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
  /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv

building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
/ 'build' phasebuilder for
`/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
failed with exit code 1
build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
failed
View build log at
'/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
cannot build derivation
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
1 dependencies couldn't be built
guix shell: error: build of
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
failed

bost@ecke ~/dev/guix [env]$ git checkout 65e18f3f44
Previous HEAD position was 4ba0614677 gnu: Add java-asm-9.
HEAD is now at 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.

bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
openjdk coreutils --container --network
--share=$HOME/.bash_history=$HOME/.bash_history
--share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
{:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
-J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
:as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
:connection-timeout 9000})'
;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
The following derivations will be built:
  /gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv
  /gnu/store/4acifkvki90v5njl9ji3phhmiigbm13k-maven-core-3.8.6.drv
  /gnu/store/cn0v03z9ps68n2k1iz1j48w53irwd69n-java-plexus-component-metadata-1.7.1.drv
  /gnu/store/fshmx260frcym0r3r7s3v5523cmswfhk-maven-core-3.8.6.drv
  /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
  /gnu/store/y5kfn1j2m33h22d6aci5y7czypx7xdy9-clojure-tools-deps-0.18.1354.drv

building /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv...
/ 'build' phasebuilder for
`/gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv'
failed with exit code 1
build of /gnu/store/l8p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv
failed
View build log at
'/var/log/guix/drvs/l8/p4srp198shgmmrn6v5gdcimdn68fbx-maven-resolver-provider-3.8.6.drv.gz'.
cannot build derivation
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv':
1 dependencies couldn't be built
guix shell: error: build of
`/gnu/store/083biczjv0j6r80nrjvzcl5n8rk8qzr9-clojure-tools-1.11.1.1413.drv'
failed

bost@ecke ~/dev/guix [env]$ git checkout 597f7db28a
Previous HEAD position was 65e18f3f44 gnu: maven-resolver-api: Update to 1.9.4.
HEAD is now at 597f7db28a gnu: Add maven-parent-pom-37.

bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix shell clojure-tools
openjdk coreutils --container --network
--share=$HOME/.bash_history=$HOME/.bash_history
--share=$HOME/.m2=$HOME/.m2 -- clojure -Sdeps '{:deps {aleph/aleph
{:mvn/version "0.8.1"}}}' -J-Dmaven.wagon.rto=90000
-J-Dio.netty.transport.noNative=true -M -e '(require '\''[aleph.http
:as h]) @(h/get "https://www.google.com" {:socket-timeout 9000
:connection-timeout 9000})'
;;; note: source file /home/bost/dev/guix/gnu/packages/java.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/java.go
;;; note: source file /home/bost/dev/guix/gnu/packages/maven.scm
;;;       newer than compiled /home/bost/dev/guix/gnu/packages/maven.go
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
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
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
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
Warning: failed to load the S3TransporterFactory class
Warning: failed to load the S3TransporterFactory class
{:request-time 82, :aleph/keep-alive? true, :headers {"accept-ch"
"Sec-CH-Prefers-Color-Scheme", "server" "gws",
"content-security-policy-report-only" "object-src 'none';base-uri
'self';script-src 'nonce-L_bpFSKBfV6ePPQ5XX89mw' 'strict-dynamic'
'report-sample' 'unsafe-eval' 'unsafe-inline' https: http:;report-uri
https://csp.withgoogle.com/csp/gws/other-hp", "content-type"
"text/html; charset=ISO-8859-1", "alt-svc" "h3=\":443\";
ma=2592000,h3-29=\":443\"; ma=2592000", "x-frame-options"
"SAMEORIGIN", "transfer-encoding" "chunked", "accept-ranges" "none",
"expires" "-1", "set-cookie"
"AEC=AVYB7cr3cvmbAV1LWXyhpEQMmhRJqAKagWpJsT3WkFdcueWBlDBtYcB0u1o;
expires=Fri, 04-Apr-2025 12:35:58 GMT; path=/; domain=.google.com;
Secure; HttpOnly;
SameSite=lax,__Secure-ENID=22.SE=hKFI58OY5TimxtoBmlZoSVjiTnTyUvcKPQ5h8n0JoYzy2J-9FSnumjnPyK208TYChMrSFA1issl1W8d36dbIH4w8EqdsKZpAx9VOHYif7-4hpDuzzJc63EQN5B9P9Ie5EOByy0HTBVwFwqRx6Kzpq9KiLMC5p98cyf6gTrU9aUgM-ec-gXy-yZh5WlL6cD2hXw3g5WkRcCk;
expires=Thu, 06-Nov-2025 04:54:16 GMT; path=/; domain=.google.com;
Secure; HttpOnly; SameSite=lax", "p3p" "CP=\"This is not a P3P policy!
See g.co/p3phelp for more info.\"", "date" "Sun, 06 Oct 2024 12:35:58
GMT", "vary" "Accept-Encoding", "x-xss-protection" "0",
"cache-control" "private, max-age=0"}, :status 200, :connection-time
336, :body #object[clj_commons.byte_streams.InputStream 0x7ba907cf
"clj_commons.byte_streams.InputStream@7ba907cf"]}

bost@ecke ~/dev/guix [env]$




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 4 Oct 2024 10:52:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 04 06:52:18 2024
Received: from localhost ([127.0.0.1]:34463 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swfuw-0005bX-Tk
	for submit <at> debbugs.gnu.org; Fri, 04 Oct 2024 06:52:18 -0400
Received: from mail-ed1-f54.google.com ([209.85.208.54]:52238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <roman.scherer@HIDDEN>) id 1swfuu-0005bP-Gt
 for 73432 <at> debbugs.gnu.org; Fri, 04 Oct 2024 06:52:13 -0400
Received: by mail-ed1-f54.google.com with SMTP id
 4fb4d7f45d1cf-5c42f406fa5so1238246a12.0
 for <73432 <at> debbugs.gnu.org>; Fri, 04 Oct 2024 03:52:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1728039068;
 x=1728643868; darn=debbugs.gnu.org; 
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=d42qUlCGzt1WbllIxw2kpoHuErZltbvLLOv07upprdA=;
 b=1aU5koQec5124EWB9XbTt6vuKlRuBRhfLGldnQZO9TX4nmw/FjdMvDQxfTR3DH8cuo
 A2f6eIbnCfbYFowUo6lljZLvzYsKRqMxfB3cKv2Ek7yYwuRExgLjiXr46ui1mTuPp2+U
 3dv3iWpRxHdDmwPb/mXNmksHIXJXlw5od/BTPos9Vk8pSCHiDUJkfvMT6H7orAM9/NCD
 rSKhWOSi+cPqYRdxDSMz1YjXglBU9sL8neTeVcFE2/BrNMWjPz06bwRg4Hk9AJ0vngZj
 mC1u4VkaQN1Klh5JHyXqkOgKHc9Y0EjP7y0625lO4Q1UueLCk7lLHizta8BxrOIZ2Xyh
 VtNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728039068; x=1728643868;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=d42qUlCGzt1WbllIxw2kpoHuErZltbvLLOv07upprdA=;
 b=W+9iSyfR9N3w+TKeA/WzERsm5zlUpgQK4yTOk9QEoqv643dHdwBjx8dTYkEmuvQGCX
 Oj/iOqCXV1S2IFPIZJ6Gen0G4WkxQJxvZpP9i6QNkwirjOFXxvgpsCz1I8XimSfesi9d
 WNTFAZtcPq88QQLgwA266bg5aO9w4zfM3fJ2WpXucoScfMr85by3ijnN0j47fNGEWf5A
 +y3xKRWyCA6nZy+9qn30Xu0XhVwBeta4wdRC9Qhz55sOj4JQ2DGq6/b3HMze+VBHMa8b
 7HfHR0mh9ksktGJBuyw8plaPTEAzltibdGb0NYMBWpCSJBc8T43ZMDBW+SLB8p7/2Nv3
 xwjA==
X-Forwarded-Encrypted: i=1;
 AJvYcCUbG5hMCnf7edkzSrE0NcToD/PJAwZWuCfpUYsAO99QynMyL4ee9Jc9+k0psVEuDzqiDkBHQA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YxGnq1YJac26VLyE/Ui/pCQ559ghCKTKMSI9AqYo+fj8Ay/3+Fg
 5s/8YgKeBies90jj8lfHPE2+bYTqGTr9QCbzSI5W2CgttcpWaVt+NuRR4oCJkIk=
X-Google-Smtp-Source: AGHT+IGqgmZz8ySBdHODJvMXrQVf3+7PL2GHTw2ELjk0QaLilM/tjLJac8jQ77/ihkFBlZxq1o5zag==
X-Received: by 2002:a05:6402:34ce:b0:5c8:b923:58b0 with SMTP id
 4fb4d7f45d1cf-5c8d2a79ee4mr1733455a12.0.1728039068301; 
 Fri, 04 Oct 2024 03:51:08 -0700 (PDT)
Received: from precision (tmo-085-216.customers.d1-online.com. [80.187.85.216])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5c8ca4d7c2csm1774746a12.66.2024.10.04.03.51.06
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 04 Oct 2024 03:51:07 -0700 (PDT)
From: Roman Scherer <roman.scherer@HIDDEN>
To: Kristiyan Kanchev <skrechy@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
In-Reply-To: <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN> (Kristiyan
 Kanchev's message of "Fri, 4 Oct 2024 11:33:54 +0300")
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
 <87bk01thf0.fsf@HIDDEN> <864j5ts0yn.fsf@HIDDEN>
 <86zfnlqm3e.fsf@HIDDEN>
 <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN>
Date: Fri, 04 Oct 2024 12:51:02 +0200
Message-ID: <87jzeorvjd.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>,
 Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi Kristiyan,

sorry for not being clear. I tried the metabase repository with the Guix
and the Nix package. The Nix package works, but the one from Guix not.

I also just tried the clojure-guix-broken repo now (I haven't seen this
yesterday) with the Guix package, and it didn't find the
class. Unfortunatly, I have no idea why the class files are not being
found.

After seeing all those:

Warning: failed to load the S3TransporterFactory class

I thought it might be related. But maybe not.

I hope you find the issue.

Roman

Kristiyan Kanchev <skrechy@HIDDEN> writes:

> Hello Roman,
>
> What do you mean that you're getting the same error? Getting the same
> error with Guix Clojure or with Nix Clojure? Metabase or the test
> project by Andreas?
>
> I'm fairly confident that the problem is not caused by the S3
> transport because alot of transitive dependencies are missing from the
> class-path that are not related to these libraries you cited. I was
> investigating the reported class-path from within Clojure with
> https://github.com/clojure/java.classpath, which is also dependency
> for Metabase, so you could try it in a nREPL session.
>
> I'm currently trying to=C2=A0 maven-resolver-provider from 3.9 to 3.8 and
> will report results, hopefully soon -- I'm new to Guix and need some
> more time. If it works out, I'll try to push patches.
>
> Thanks,
> Kriss
>
> On 10/3/24 17:48, Roman Scherer wrote:
>> Ludo recently merged some of my patches that I have re-submitted
>> recently. There are 4 patches missing, that I haven't submitted
>> again. They contain the S3 support.
>>
>> But it's not clear if they can be included inn Guix, because some of the
>> artifacts are Clojure EDN files generated from AWS API docs. The code to
>> generate them has not been published by the Clojure team. That was a
>> blocker back in the day according to Maxim Devos.
>>
>> The patches are here:
>>
>> https://github.com/r0man/guix/commits/clojure-s3-transport/
>>
>> I really should find that thread ...
>>
>> Roman Scherer <roman.scherer@HIDDEN> writes:
>>
>>> Hi,
>>>
>>> I just tried this and got the same error. I'm not using the Clojure
>>> package from Guix because the AWS S3 support has been ripped out. I use
>>> the package from Nix.
>>>
>>> My guess is, this error is also because of the lacking S3 support, or if
>>> not it will break later. The deps.edn file of Metabase contains:
>>>
>>> ```
>>> {"athena"   {:url "https://s3.amazonaws.com/maven-athena"}
>>>    "redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository=
/release"}
>>>    ;; for metabase/saml20-clj
>>>    "opensaml" {:url "https://build.shibboleth.net/nexus/content/reposit=
ories/releases/"}}
>>> ```
>>>
>>> So it's using S3 to resolve Maven dependencies. There is an open issue
>>> for this https://issues.guix.gnu.org/53765 and I opened a duplicate of
>>> this a while ago (which I can't find right now). Unfortunaltly this went
>>> nowhwere.
>>>
>>> Roman
>>>
>>> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>>>
>>>> Hi Andreas and Kristiyan,
>>>>
>>>> Cc=E2=80=99ing Roman and Rostislav who are among the recent committers=
 for this
>>>> file.
>>>>
>>>> Andreas Bauer <andreas.wolfgang.bauer@HIDDEN> wrote:
>>>>
>>>>> Now it can be fixed with time machine:
>>>>>
>>>>> guix time-machine --commit=3D98e4bfe96f2c99daa0b66b65c1d379bb385301a8=
 -- guix
>>>>> shell --pure --development --check clojure-tools openjdk coreutils
>>>>>
>>>>> Then in time-machine run again clojure-X:curl and the demo will work.
>>>> Kristiyan Kanchev <skrechy@HIDDEN> skribis:
>>>>
>>>>> I'm seeing issues with the project Metabase: https://github.com/metab=
ase/metabase. When `clojure -M:run`, it fails with:
>>>>> Execution error (ClassNotFoundException) at java.net.URLClassLoader/f=
indClass (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/04539cd060d41a528794c04b=
50a6aa2293b672ce
>>>>>
>>>>> 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.
>>>> Roman, Rostislav: does that ring a bell?
>>>>
>>>> Thanks,
>>>> Ludo=E2=80=99.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmb/yJkfHHJvbWFuLnNj
aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmUumB/9mNSAAtCvABIrT
DIcfh/mr9TLY48bqApnL3m4V0Vbisep+uS+ctrD7f/XSi8n15L6aKSW6YPIi1D+V
fGVpyD9OeDyC174OkN2ohtuhfEUs3PCyyf0xBe//cR5dnN4dbFRdto/I82Bs2ORF
nwbtFcIeO5qyXvdGp0cqcESk3i8qt1LI2hDEcoXnL5OeFcKwVRt/6SZNgEkRtQNW
S/FWB7jPMDrC36he1k2VkJ6JPuQvDZO4tpFlim+Y6M36JhQhnWYdRI3Vu1XP2VT1
xjOhuKHIq2+fLkKFfC3rvfFl/tPXxylifDBl7h/5cnQs+J+KV31qmPprzHPEvLEs
xbw3yjxk
=eJ0u
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 4 Oct 2024 08:35:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Oct 04 04:35:06 2024
Received: from localhost ([127.0.0.1]:34372 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swdmD-0006jl-EN
	for submit <at> debbugs.gnu.org; Fri, 04 Oct 2024 04:35:06 -0400
Received: from mail-ed1-f45.google.com ([209.85.208.45]:46396)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1swdmB-0006jc-9A
 for 73432 <at> debbugs.gnu.org; Fri, 04 Oct 2024 04:35:04 -0400
Received: by mail-ed1-f45.google.com with SMTP id
 4fb4d7f45d1cf-5c89668464cso2327665a12.1
 for <73432 <at> debbugs.gnu.org>; Fri, 04 Oct 2024 01:35:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1728030839; x=1728635639; darn=debbugs.gnu.org;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :from:to:cc:subject:date:message-id:reply-to;
 bh=8EXebh0GfmHo1ULkX5gs7QX5icEFloe/9YG5gL+9prw=;
 b=huyiu73a8PWejNwhwsJzje84R6a0FTm7yysRe6pvRwh+03P6cfMoO7L9XhImHueuId
 pS1JjPYxk9rrKyie45285qEvQshNvPlNndm9fhEu+g1yy1UugGZawSKVbxwiG7JOPH79
 57TS6gUgX13qb86hJ7CI1Hn0gUnY/xQ1IkQ+/UtmimvOAn/PzOoyP3WCMfpDqtrZAjDg
 ZHELIi7jgMQOQ111ffswYtLm+PGtJeJU9earrhHKOGisn2UsHrw0WttCREqdNmnstU9t
 B2i/CODfoajenxrgO+TpPrIcEdVSTVW6kzhBM7xrOeseskAoC4xgCcz59Yno8QN8XNup
 Eq+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1728030839; x=1728635639;
 h=content-transfer-encoding:in-reply-to:from:content-language
 :references:cc:to:subject:user-agent:mime-version:date:message-id
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=8EXebh0GfmHo1ULkX5gs7QX5icEFloe/9YG5gL+9prw=;
 b=rqiqxZ6yCP72w48yGWVDUMBgCGIIuc8H7vRkgXRHkaslbzZpQPQTM944421txzZhyQ
 M9sbjbkdfYzHYgoy0lzZJOmpwoPrOK2d/7yJIMni/UoK2L8Qh/MKUFG6SnFyJfpk3muj
 XtpaTi+sPwBPSPVsm4uo9DRUGN35Dx20u9mMO/fc98MXeQgsKitf/WhA3ejldA1M9WjK
 bwSbZAq8O4rR0bdPu6kIasNvPO9WeucrCdRw5VpLkjabd9/Tv2hQcCK95yAkYimWsHDW
 eOBHmFvM5mEvbnXEsDjWy7xkFh3SKa4Gh3B05Ueo52jv2BCaxChDmWJLkwuW7DNoZdzW
 OwhQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVmP9xgYCcIEZzd3UFkGEujk4n0YSgoMtPTDAAYk/slDPVzKgdHIoDdDNfsupNO16TRmBO9oA==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzK59XJs0Dj1nopmFDlyofzw9+MdVXCCWrY2OkJ+IJt2X+8GrRN
 F9j0taHIofl6OOWhlyJakKPukA21oVBaWtuxC4vVHhEtjhcW/ER0YMGXJKvWCCg=
X-Google-Smtp-Source: AGHT+IHjOwyQKj7UV7cMRhRh2p5sQEsIpEN9c7rM2QCpwcOaKyEFRgiSicQurhNGJS7WQR3xjUQ5Tw==
X-Received: by 2002:a05:6402:51ca:b0:5c7:229a:b49d with SMTP id
 4fb4d7f45d1cf-5c8d2e9e66cmr1014959a12.30.1728030838968; 
 Fri, 04 Oct 2024 01:33:58 -0700 (PDT)
Received: from [192.168.242.26] ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5c8ca3bd7e1sm1589365a12.20.2024.10.04.01.33.55
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Fri, 04 Oct 2024 01:33:57 -0700 (PDT)
Message-ID: <9173f3ce-ba91-42c5-8755-3c9288d7dd71@HIDDEN>
Date: Fri, 4 Oct 2024 11:33:54 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#73432: clojure package is broken
To: Roman Scherer <roman.scherer@HIDDEN>,
 =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN> <87bk01thf0.fsf@HIDDEN>
 <864j5ts0yn.fsf@HIDDEN> <86zfnlqm3e.fsf@HIDDEN>
Content-Language: en-US
From: Kristiyan Kanchev <skrechy@HIDDEN>
In-Reply-To: <86zfnlqm3e.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Roman,

What do you mean that you're getting the same error? Getting the same 
error with Guix Clojure or with Nix Clojure? Metabase or the test 
project by Andreas?

I'm fairly confident that the problem is not caused by the S3 transport 
because alot of transitive dependencies are missing from the class-path 
that are not related to these libraries you cited. I was investigating 
the reported class-path from within Clojure with 
https://github.com/clojure/java.classpath, which is also dependency for 
Metabase, so you could try it in a nREPL session.

I'm currently trying to  maven-resolver-provider from 3.9 to 3.8 and 
will report results, hopefully soon -- I'm new to Guix and need some 
more time. If it works out, I'll try to push patches.

Thanks,
Kriss

On 10/3/24 17:48, Roman Scherer wrote:
> Ludo recently merged some of my patches that I have re-submitted
> recently. There are 4 patches missing, that I haven't submitted
> again. They contain the S3 support.
>
> But it's not clear if they can be included inn Guix, because some of the
> artifacts are Clojure EDN files generated from AWS API docs. The code to
> generate them has not been published by the Clojure team. That was a
> blocker back in the day according to Maxim Devos.
>
> The patches are here:
>
> https://github.com/r0man/guix/commits/clojure-s3-transport/
>
> I really should find that thread ...
>
> Roman Scherer <roman.scherer@HIDDEN> writes:
>
>> Hi,
>>
>> I just tried this and got the same error. I'm not using the Clojure
>> package from Guix because the AWS S3 support has been ripped out. I use
>> the package from Nix.
>>
>> My guess is, this error is also because of the lacking S3 support, or if
>> not it will break later. The deps.edn file of Metabase contains:
>>
>> ```
>> {"athena"   {:url "https://s3.amazonaws.com/maven-athena"}
>>    "redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository/release"}
>>    ;; for metabase/saml20-clj
>>    "opensaml" {:url "https://build.shibboleth.net/nexus/content/repositories/releases/"}}
>> ```
>>
>> So it's using S3 to resolve Maven dependencies. There is an open issue
>> for this https://issues.guix.gnu.org/53765 and I opened a duplicate of
>> this a while ago (which I can't find right now). Unfortunaltly this went
>> nowhwere.
>>
>> Roman
>>
>> Ludovic Courtès <ludo@HIDDEN> writes:
>>
>>> Hi Andreas and Kristiyan,
>>>
>>> Cc’ing Roman and Rostislav who are among the recent committers for this
>>> file.
>>>
>>> Andreas Bauer <andreas.wolfgang.bauer@HIDDEN> wrote:
>>>
>>>> Now it can be fixed with time machine:
>>>>
>>>> guix time-machine --commit=98e4bfe96f2c99daa0b66b65c1d379bb385301a8 -- guix
>>>> shell --pure --development --check clojure-tools openjdk coreutils
>>>>
>>>> Then in time-machine run again clojure-X:curl and the demo will work.
>>> Kristiyan Kanchev <skrechy@HIDDEN> skribis:
>>>
>>>> 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.
>>> Roman, Rostislav: does that ring a bell?
>>>
>>> Thanks,
>>> Ludo’.




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 3 Oct 2024 14:49:13 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 03 10:49:13 2024
Received: from localhost ([127.0.0.1]:33701 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swN8j-0008T7-4H
	for submit <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:49:13 -0400
Received: from mail-ed1-f54.google.com ([209.85.208.54]:60798)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <roman.scherer@HIDDEN>) id 1swN8g-0008Sv-SO
 for 73432 <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:49:11 -0400
Received: by mail-ed1-f54.google.com with SMTP id
 4fb4d7f45d1cf-5c5bca59416so1260764a12.1
 for <73432 <at> debbugs.gnu.org>; Thu, 03 Oct 2024 07:49:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1727966888;
 x=1728571688; darn=debbugs.gnu.org; 
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=7gkPt6dengJRMX0b33XWXkZmKpDyjr0ptUEtMQ590XU=;
 b=abYOConxPnts6XZEPKR3VXobNsMDI8cs1Sg7c3A2/Ip2stzmbJbl2sbj+LUoYv5jrP
 jnhthIq3p0ZO43D7TA8CCZFk0FCHlZ1pOcC9gIAjN549eZhqLfmNDlwl46cD6kvK7Znb
 V3IOS1oH7VgyWZdeEbnHpjhTlN06mzo8vUWwGT44ZRFauV+IGFpwWeYk6cD9P/AvZZ1D
 vmOwUDjYToWeMpVSuB/S+cPXZnyXkV1gDoN1lmRPEpRBZHUZbHISQPDUZH/SDsIo5FTD
 hI6rzK9Qmqr5W+phvXN/lJ7kcFRlQtmHoJ5y+yhMeJVKsWbApqa07WitOatdQy5LEV0d
 Pojw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727966888; x=1728571688;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=7gkPt6dengJRMX0b33XWXkZmKpDyjr0ptUEtMQ590XU=;
 b=Y07HGzukVXhYBKtM5xSO7C8Jt6KhEXZnrxZr52p9g7aVwDi7BGQGLEp8vceIbQAEnB
 0yW7VlbsEq+oqjnNzAzT2C17yBGdVyeqV4pn/vZS5KndPuuUYbL5D36IBlCpI/RbuBln
 ZJ9QAi+SvQhaNaS1tcsXsbiQDq6DKdG7y4cOWrTUdgNVgbhsAhdwHUZp0b2k7jZYFm1o
 jUMVtfanX/t7E3kr5c7JliPFE6ds9/HF44lZ3Uy37BiiycadxULHPfzk+AoEwSfCmH5T
 yXNBirdbNJB+RO0RUL+l7HXKW8GT+GQWd6/509weY0CTb3V1DxsD00S5MBF/20GAO0uP
 QKRg==
X-Forwarded-Encrypted: i=1;
 AJvYcCWeFOd2YZgH4aXTY2QZDMQ73nTrQ04tD6goD+AIZW479PgGm7HEbth5cwC3kTqb6ASrKR33qQ==@debbugs.gnu.org
X-Gm-Message-State: AOJu0Yzv0V6FTPzqwTtPRZ6rrKwiBE33D2Oq6CcTkWwyOYC3ycmMyPHk
 8vVv3lCtr8MXSOMcWyZtuhTdm1XPhuFtiBdUWJvkGxVJ4rtRFHLnmKUNFEUhe04=
X-Google-Smtp-Source: AGHT+IGHJaUz5juQvcH4/KQdWNvDvMZS3BB4wDO/ZeyWkzrlcFNbPgC1WD4xcOHbdJeug02PPZvVqg==
X-Received: by 2002:a05:6402:1d4f:b0:5c8:9f6d:8b2f with SMTP id
 4fb4d7f45d1cf-5c8b1b8b34emr4613407a12.29.1727966887794; 
 Thu, 03 Oct 2024 07:48:07 -0700 (PDT)
Received: from m1 ([2a01:599:11c:96e4:28c8:f563:d9da:c488])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5c8ca3fd201sm789377a12.58.2024.10.03.07.48.06
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 03 Oct 2024 07:48:07 -0700 (PDT)
From: Roman Scherer <roman.scherer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
In-Reply-To: <864j5ts0yn.fsf@HIDDEN> (Roman Scherer's message of
 "Thu, 03 Oct 2024 16:41:36 +0200")
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
 <87bk01thf0.fsf@HIDDEN> <864j5ts0yn.fsf@HIDDEN>
Date: Thu, 03 Oct 2024 16:48:05 +0200
Message-ID: <86zfnlqm3e.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>,
 Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Ludo recently merged some of my patches that I have re-submitted
recently. There are 4 patches missing, that I haven't submitted
again. They contain the S3 support.

But it's not clear if they can be included inn Guix, because some of the
artifacts are Clojure EDN files generated from AWS API docs. The code to
generate them has not been published by the Clojure team. That was a
blocker back in the day according to Maxim Devos.

The patches are here:

https://github.com/r0man/guix/commits/clojure-s3-transport/

I really should find that thread ...

Roman Scherer <roman.scherer@HIDDEN> writes:

> Hi,
>
> I just tried this and got the same error. I'm not using the Clojure
> package from Guix because the AWS S3 support has been ripped out. I use
> the package from Nix.
>
> My guess is, this error is also because of the lacking S3 support, or if
> not it will break later. The deps.edn file of Metabase contains:
>
> ```
> {"athena"   {:url "https://s3.amazonaws.com/maven-athena"}
>   "redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository/re=
lease"}
>   ;; for metabase/saml20-clj
>   "opensaml" {:url "https://build.shibboleth.net/nexus/content/repositori=
es/releases/"}}
> ```
>
> So it's using S3 to resolve Maven dependencies. There is an open issue
> for this https://issues.guix.gnu.org/53765 and I opened a duplicate of
> this a while ago (which I can't find right now). Unfortunaltly this went
> nowhwere.
>
> Roman
>
> Ludovic Court=C3=A8s <ludo@HIDDEN> writes:
>
>> Hi Andreas and Kristiyan,
>>
>> Cc=E2=80=99ing Roman and Rostislav who are among the recent committers f=
or this
>> file.
>>
>> Andreas Bauer <andreas.wolfgang.bauer@HIDDEN> wrote:
>>
>>> Now it can be fixed with time machine:
>>>=20
>>> guix time-machine --commit=3D98e4bfe96f2c99daa0b66b65c1d379bb385301a8 -=
- guix
>>> shell --pure --development --check clojure-tools openjdk coreutils
>>>=20
>>> Then in time-machine run again clojure-X:curl and the demo will work.
>>
>> Kristiyan Kanchev <skrechy@HIDDEN> skribis:
>>
>>> I'm seeing issues with the project Metabase: https://github.com/metabas=
e/metabase. When `clojure -M:run`, it fails with:
>>> Execution error (ClassNotFoundException) at java.net.URLClassLoader/fin=
dClass (URLClassLoader.java:476).=20
>>> 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 cau=
sing 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 "Re=
vert update of Maven resolver libs - seeing resolution
>>> differences".
>>> Here is the relevant commit:
>>> https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50=
a6aa2293b672ce
>>>
>>> Up until this date, `tools.deps` lists the older versions of maven-reso=
lver-* libs in its deps.end file. Since Guix uses the latest versions of
>>> maven-resolver-* libs, I think this is causing the issue.
>>
>> Roman, Rostislav: does that ring a bell?
>>
>> Thanks,
>> Ludo=E2=80=99.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmb+rqUfHHJvbWFuLnNj
aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBma8MCACZLym7zr93a2cI
W/xsFjXpeAqat7C2bn9IXfmOrVSmwOMLguivPgnCm0fLv7XZfbdNSp9UKYRyZdib
8q7zemILbq5VDg6qQhGyW2xiNRcrW6aNJ9SfW4jb/mqIDNqFOVtQznl61myL03jM
sQdmzfklb33IigE+cPl5Ld1AbyjdBkwOzQTJSpjWFOKxmMfqp7wq+PZuGzZO60PQ
6ES44dFMT/dlnj3aDIXKOdzjarhMc+1XCWKkE9MvRoovEpT4V+lgsgOZJw3J5/Qf
a3b7qiLk6fcIIwJgnY4UxjCEl+7n1PYG2fnsvQ0R/z8YWs9IWO1j3B4RooydswNm
6Zxas30o
=Vnhw
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 3 Oct 2024 14:42:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 03 10:42:49 2024
Received: from localhost ([127.0.0.1]:33697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swN2X-00089Q-19
	for submit <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:42:49 -0400
Received: from mail-ej1-f44.google.com ([209.85.218.44]:47110)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <roman.scherer@HIDDEN>) id 1swN2V-000899-3P
 for 73432 <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:42:48 -0400
Received: by mail-ej1-f44.google.com with SMTP id
 a640c23a62f3a-a8d56155f51so120358966b.2
 for <73432 <at> debbugs.gnu.org>; Thu, 03 Oct 2024 07:42:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=burningswell-com.20230601.gappssmtp.com; s=20230601; t=1727966499;
 x=1728571299; darn=debbugs.gnu.org; 
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=QF78XbcKMcLn/ORc2Dy3fCtLcPVdZzzRdUKcE9MMQys=;
 b=d32KSRh302TAzfo2cGg4tZu2AwbV8lUPhH+NQJTehsnwmXS+J0+RFIGisoL+WJ0VkJ
 wI9VrOv1TEWs9cafD0QfGln9hwnrJDvHEIIm854FEZzzv6sLT0XqBDXYRC5xDwnl5eyC
 mOUqtLTodyehBtAjxv39mR6damH2PVsWA6NNW6UdJ8hN+LmVRddBEln5O9Zwi8v8sMx+
 5tBgcq8j5wOEz4p9WYDXDR7hFGjUy7znPhtxHMgKOPgE9x/23F/IhtKOOjGTerI554/O
 4RPaP7a0KzYdg1Iy/N+G6mDLBy+u0QLvmkbI16O5X8Z23jfvnNsAjzGiIafdZw2F3DLc
 OSDQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727966499; x=1728571299;
 h=mime-version:message-id:date:references:in-reply-to:subject:cc:to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=QF78XbcKMcLn/ORc2Dy3fCtLcPVdZzzRdUKcE9MMQys=;
 b=n0mRTrIu/gx8JAwjbmOQIlTx8GIDVRdCJ/RebeVhWIkHvKRxKPDA66d/aNGaSpZ2I3
 UkJEMKLPmQGvbXTGA++t1hGL+fOiyKRdMJLq/NcUBAX908zIKAuJJ5xdt8PDVIF5ovhD
 nr1pYXDyppOcr2oaJ9tlYdcNim+EkDLOi5AZvjNT+OB55hpZkgKFc03mKpTS8iaf8Xdk
 Qi+pvIj1ltTxp8mkC4BEom1w2SbeT6KvY8IW/dlALBC1ogn/V42F2YuM3v4HT/HSaazW
 KgRTmEKH/zV8RTxrzooxlpl/mMDtQhPJ0s7LiuQehUW1lgQrnBqwafz1YP5e6HYdtGVI
 7RXQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCXizkyicgqHAOUvV1gmxZKba5RaYPDuXl8Y44GNEuScWzN7SqiGFkSiwRhdwdikqKaqM8Jpmg==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzWjSFNfzhPSlBIbTqeY5KNdqxKLbSYayUPqjSC6Nc//V1m77rP
 AOVeE4FAzmwm5+b6dBP8QbQTAmgtK+uCtrtMTASVrcHYYrIrNwzhvqz3RLw/Xbs=
X-Google-Smtp-Source: AGHT+IGWsv6PHIFEWtueoUGedEOwuL7uJRAuTYTvXyWfrx+kwBRcKwr20mVQB+zNO1hLP23TGyWIew==
X-Received: by 2002:a17:906:4787:b0:a7a:9447:3e8c with SMTP id
 a640c23a62f3a-a98f82068efmr670606066b.3.1727966499217; 
 Thu, 03 Oct 2024 07:41:39 -0700 (PDT)
Received: from m1 ([2a01:599:11c:96e4:28c8:f563:d9da:c488])
 by smtp.gmail.com with ESMTPSA id
 a640c23a62f3a-a99102a622dsm94325966b.69.2024.10.03.07.41.37
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 03 Oct 2024 07:41:38 -0700 (PDT)
From: Roman Scherer <roman.scherer@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
In-Reply-To: <87bk01thf0.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?=
 =?utf-8?Q?s?= message of "Thu, 03 Oct 2024 16:00:51 +0200")
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
 <87bk01thf0.fsf@HIDDEN>
Date: Thu, 03 Oct 2024 16:41:36 +0200
Message-ID: <864j5ts0yn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 73432
Cc: Kristiyan Kanchev <skrechy@HIDDEN>,
 Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable


Hi,

I just tried this and got the same error. I'm not using the Clojure
package from Guix because the AWS S3 support has been ripped out. I use
the package from Nix.

My guess is, this error is also because of the lacking S3 support, or if
not it will break later. The deps.edn file of Metabase contains:

```
{"athena"   {:url "https://s3.amazonaws.com/maven-athena"}
  "redshift" {:url "https://s3.amazonaws.com/redshift-maven-repository/rele=
ase"}
  ;; for metabase/saml20-clj
  "opensaml" {:url "https://build.shibboleth.net/nexus/content/repositories=
/releases/"}}
```

So it's using S3 to resolve Maven dependencies. There is an open issue
for this https://issues.guix.gnu.org/53765 and I opened a duplicate of
this a while ago (which I can't find right now). Unfortunaltly this went
nowhwere.

Roman

Ludovic Court=C3=A8s <ludo@HIDDEN> writes:

> Hi Andreas and Kristiyan,
>
> Cc=E2=80=99ing Roman and Rostislav who are among the recent committers fo=
r this
> file.
>
> Andreas Bauer <andreas.wolfgang.bauer@HIDDEN> wrote:
>
>> Now it can be fixed with time machine:
>>=20
>> guix time-machine --commit=3D98e4bfe96f2c99daa0b66b65c1d379bb385301a8 --=
 guix
>> shell --pure --development --check clojure-tools openjdk coreutils
>>=20
>> Then in time-machine run again clojure-X:curl and the demo will work.
>
> Kristiyan Kanchev <skrechy@HIDDEN> skribis:
>
>> 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/find=
Class (URLClassLoader.java:476).=20
>> 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 caus=
ing 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 "Rev=
ert update of Maven resolver libs - seeing resolution
>> differences".
>> Here is the relevant commit:
>> https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50a=
6aa2293b672ce
>>
>> Up until this date, `tools.deps` lists the older versions of maven-resol=
ver-* libs in its deps.end file. Since Guix uses the latest versions of
>> maven-resolver-* libs, I think this is causing the issue.
>
> Roman, Rostislav: does that ring a bell?
>
> Thanks,
> Ludo=E2=80=99.

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQFTBAEBCAA9FiEE0iajOdjfRIFd3gygPdpSUn0qwZkFAmb+rSAfHHJvbWFuLnNj
aGVyZXJAYnVybmluZ3N3ZWxsLmNvbQAKCRA92lJSfSrBmaLZCACucGL61dasOf5I
vVAA/D0v8gHPU5yLftCPSjyEBWhorO2E0YP+En7Z+28GmE6yGl9Po5gvpk+0TlDH
m77j7Jj0pIYD47EgYa6IcO34qat64JAHX/IyPOWty0sPfoLc8p2j7iw6p88SPEIH
oq0gqi1rV0dkEUokJU04LtQKOvYno1cX/mnIUbZgk26x0G7gClJKVbBy5Ag02iYJ
j2gXsuf0SdZLomyq7JbPGGeHVNy03AjqkriZ7bDssrQVVwpX5vNe+mU+FxVt6YM+
Xe3GNwlrPBaa9n9J+K61vGjwYdyMOhOm1GiEW1ZmPmXo47rzdOh65lwDlORUoyS2
tVRmpbQR
=ns5p
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 3 Oct 2024 14:01:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 03 10:01:05 2024
Received: from localhost ([127.0.0.1]:33641 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1swMO8-0005xW-KP
	for submit <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:01:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57636)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1swMO6-0005wv-Bi
 for 73432 <at> debbugs.gnu.org; Thu, 03 Oct 2024 10:01:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1swMNy-0002xH-P1; Thu, 03 Oct 2024 10:00:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=CchC93Zj1+I7Lx8xCh49dHyz0DelgVGnBKdj0QALAGA=; b=DlPpP9mboZsRIGNynLwx
 5B9J6reVsK/DqGrY57rzpf7V4CwB5AT0JL0TcjIFe836QhcnPV5+8s6pHIo0K+TrPPNv0v7tqtQgK
 Xr2Zzt2dUMu/gPZQe2Wb2c7tkPj4MbeQdbMyfzGWPZDmZS4xMN7JWZtMA/Z1twiAs5up0pDejlr5D
 PhpUFMdxH+2IDfKZOfh0nZOMGqkMOgSxrPFi+F/m+edDn9FOWsY4iWWknQgDpyjhOOBJgvZANYrvP
 UwUxro00qSs6iP/5kSoFCNSBHiiEM3bjSP1Eg/AxgcFNYNU9N6DECXGlmBvFqficWIg5Qk7ThTHP1
 zAoQY+/Lopo94A==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Kristiyan Kanchev <skrechy@HIDDEN>, Andreas Bauer
 <andreas.wolfgang.bauer@HIDDEN>
Subject: Re: bug#73432: clojure package is broken
In-Reply-To: <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN> (Kristiyan
 Kanchev's message of "Thu, 26 Sep 2024 16:50:42 +0300")
References: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
 <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
Date: Thu, 03 Oct 2024 16:00:51 +0200
Message-ID: <87bk01thf0.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 73432
Cc: Roman Scherer <roman.scherer@HIDDEN>, 73432 <at> debbugs.gnu.org,
 Rostislav Svoboda <Rostislav.Svoboda@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Andreas and Kristiyan,

Cc=E2=80=99ing Roman and Rostislav who are among the recent committers for =
this
file.

Andreas Bauer <andreas.wolfgang.bauer@HIDDEN> wrote:

> Now it can be fixed with time machine:
>=20
> guix time-machine --commit=3D98e4bfe96f2c99daa0b66b65c1d379bb385301a8 -- =
guix
> shell --pure --development --check clojure-tools openjdk coreutils
>=20
> Then in time-machine run again clojure-X:curl and the demo will work.

Kristiyan Kanchev <skrechy@HIDDEN> skribis:

> 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/findC=
lass (URLClassLoader.java:476).=20
> jakarta.servlet.AsyncContext
>
> The problem seems to be that Clojure CLI (`clojure-tools` guix package) d=
oesn't construct proper class path including all transitive
> dependencies of the project. I've tried to figure out what might be causi=
ng the issue and I suspect `maven-resolver-*` packages. Clojure
> CLI depends on `tools.deps` clojure lib, which itself depends on `maven-r=
esolver-*`. There is a mention in the `tools.deps` changelog of
> reverting `maven-resolver-*` libs in version 0.18.1374 with comment "Reve=
rt update of Maven resolver libs - seeing resolution
> differences".
> Here is the relevant commit:
> https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50a6=
aa2293b672ce
>
> Up until this date, `tools.deps` lists the older versions of maven-resolv=
er-* libs in its deps.end file. Since Guix uses the latest versions of
> maven-resolver-* libs, I think this is causing the issue.

Roman, Rostislav: does that ring a bell?

Thanks,
Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at 73432 <at> debbugs.gnu.org:


Received: (at 73432) by debbugs.gnu.org; 26 Sep 2024 14:25:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 26 10:25:23 2024
Received: from localhost ([127.0.0.1]:38452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1stpQo-0004Ep-Gj
	for submit <at> debbugs.gnu.org; Thu, 26 Sep 2024 10:25:23 -0400
Received: from mail-wr1-f54.google.com ([209.85.221.54]:49186)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <skrechy@HIDDEN>) id 1stpMn-00041g-4g
 for 73432 <at> debbugs.gnu.org; Thu, 26 Sep 2024 10:21:13 -0400
Received: by mail-wr1-f54.google.com with SMTP id
 ffacd0b85a97d-37cc9aeb01dso656175f8f.2
 for <73432 <at> debbugs.gnu.org>; Thu, 26 Sep 2024 07:20:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1727360380; x=1727965180; darn=debbugs.gnu.org;
 h=from:content-language:subject:to:user-agent:mime-version:date
 :message-id:from:to:cc:subject:date:message-id:reply-to;
 bh=EeIcjH/T9q6VKtvSZGFcBFGUk5QE+FXpn/eO8hxL9JY=;
 b=W9WrFiauRMDJSxeut3/kPwANxCK2JVzpCr2SBa3qbWJziyGNy/mQ3gFOwAy7FJ5iIW
 8n1sLNaPAIYG4A8XVd8Y2d2vk7hJYd2wsGswcJK8132AbB+ovVNqXVViOc/PGecA5sGR
 z9NvBAGkBSPKjao8+9CNGfY30opmFG94CPJVkJ1Xx0dTZ0DwlPHr1dctRS1JMxKUBHe4
 XAGZ9VEqw6jmC50xVALr2Kl7bmfBVazPpVsR1MUakulgb+uRsqslr4R4fOl/qXmZEc/q
 zHy2S8vjFtyrDlndqj1ONiTMy6Xx8jq84SlAe1+U8F+2pgIDLHh79STcjfIm9ZLE65wH
 ZYgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727360380; x=1727965180;
 h=from:content-language:subject:to:user-agent:mime-version:date
 :message-id:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=EeIcjH/T9q6VKtvSZGFcBFGUk5QE+FXpn/eO8hxL9JY=;
 b=ReUvvsUsJFQN4+g/z3Lg9bYpM927ec7XeqqCfLUeqARK2zqR0/sNAb/tsOGw1/Zc0T
 vrFZvv0cCsOkAAautFu9vf8QQw5KhByCda+YMVXbwHByMhP+2P82wCJDL3IO9zxrgTe1
 ra48+FeesVZLuot+ARd0DvsmTu98sABEBamXNBarE/7Bov31NiAON+TXwmEZ5UXyhGZL
 Iyx8+C4m8Hd0LfgksvQwxqsS4qzwr13+N37fH+30fRH8ESIYy6jvYm05b1U5/GEPTCXF
 dep0JoDbEcpvHm44dFDqNdBpf83lYYuWQS5g9mUZph3VTwmkFjg8JajaNfpfYgOa6/U3
 hCJQ==
X-Gm-Message-State: AOJu0Yz35hs5+MOPIxw2fRQINzVixww1fISFOJtoGzCPbpwqAr5B5aTe
 Y1QCyCGI1euAWcKGijsI8Op70hHrTajF8IxvVKK7kMPxveMvEdNUI/4kh3TT
X-Google-Smtp-Source: AGHT+IG29CZFUdTZIpYBFYf6ZfLwhSH/bV54td8coUWk+N3ibg911YaTjsesZnBBR4QY7lfgjaSBdg==
X-Received: by 2002:a05:6402:13d4:b0:5c8:7bf5:e0f3 with SMTP id
 4fb4d7f45d1cf-5c87bf5e2afmr823491a12.2.1727358643974; 
 Thu, 26 Sep 2024 06:50:43 -0700 (PDT)
Received: from [192.168.242.26] ([87.118.169.164])
 by smtp.gmail.com with ESMTPSA id
 4fb4d7f45d1cf-5c5cf48c357sm3279648a12.11.2024.09.26.06.50.43
 for <73432 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Thu, 26 Sep 2024 06:50:43 -0700 (PDT)
Content-Type: multipart/alternative;
 boundary="------------UXyG2Pt0yvNtIW88Mb9fwu9N"
Message-ID: <b0e4e3d4-e2d5-4548-a599-3791fb9f0162@HIDDEN>
Date: Thu, 26 Sep 2024 16:50:42 +0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: 73432 <at> debbugs.gnu.org
Subject: clojure package is broken
Content-Language: en-US
From: Kristiyan Kanchev <skrechy@HIDDEN>
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 73432
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

This is a multi-part message in MIME format.
--------------UXyG2Pt0yvNtIW88Mb9fwu9N
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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.

--------------UXyG2Pt0yvNtIW88Mb9fwu9N
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit

<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,<br>
      I was about to open another issue with the same observation.</p>
    <p>I'm seeing issues with the project Metabase:
      <a class="moz-txt-link-freetext" href="https://github.com/metabase/metabase">https://github.com/metabase/metabase</a>. When `clojure -M:run`, it
      fails with:<code><br>
        Execution error (ClassNotFoundException) at
        java.net.URLClassLoader/findClass (URLClassLoader.java:476). <br>
        jakarta.servlet.AsyncContext</code></p>
    <p><code><br>
      </code></p>
    <p>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".<br>
      Here is the relevant commit:<br>
<a class="moz-txt-link-freetext" href="https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50a6aa2293b672ce">https://github.com/clojure/tools.deps/commit/04539cd060d41a528794c04b50a6aa2293b672ce</a></p>
    <p>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.<br>
    </p>
  </body>
</html>

--------------UXyG2Pt0yvNtIW88Mb9fwu9N--




Information forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Sep 2024 05:35:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 23 01:35:47 2024
Received: from localhost ([127.0.0.1]:43056 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ssbjd-0005BO-PG
	for submit <at> debbugs.gnu.org; Mon, 23 Sep 2024 01:35:47 -0400
Received: from lists.gnu.org ([209.51.188.17]:49842)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas.wolfgang.bauer@HIDDEN>)
 id 1ssYiJ-00039z-4Y
 for submit <at> debbugs.gnu.org; Sun, 22 Sep 2024 22:22:11 -0400
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 <andreas.wolfgang.bauer@HIDDEN>)
 id 1ssYhw-00068Z-EI
 for bug-guix@HIDDEN; Sun, 22 Sep 2024 22:21:48 -0400
Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <andreas.wolfgang.bauer@HIDDEN>)
 id 1ssYhu-0000xl-Mo
 for bug-guix@HIDDEN; Sun, 22 Sep 2024 22:21:48 -0400
Received: by mail-pf1-x429.google.com with SMTP id
 d2e1a72fcca58-71781f42f75so3671930b3a.1
 for <bug-guix@HIDDEN>; Sun, 22 Sep 2024 19:21:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1727058105; x=1727662905; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=btNAK74zhxInomimz6/pg4HwFkuFazch0iUab0EmIis=;
 b=cW2Zc4SCYfVrhqF32PGsZFkIU8mvOCs5imI+uCw6u5oeNih6LiAq6H3Uazk2OH6QjQ
 a6ouFw6dqwdrzYKaG2R680UsLUX46djRZVrdrIvHZ7teLxn9NkOvJHtySVkP9V31cbk6
 k+bd3abTLecW1vrQys2U5qNTwLo+uqIKO5LUHjRrmh2lunEFz4PxCqh8CYKsYfiNvSCz
 9WRB9FL+0jrSZ538AIy1h2QSjXWmZeVqg7ZCYPWOna8kPqQQCvqFQ7d7QQhThRYt8g9J
 3gYSucN8m+YDt9eZu7EBECzIQBQmVPV6nvndzy3682t1tn2bOJsYV1qPlCk4c2MR94ah
 yodA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1727058105; x=1727662905;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=btNAK74zhxInomimz6/pg4HwFkuFazch0iUab0EmIis=;
 b=s4SgZ+ZVD/CoXhfCcHuJ8zDA1cGEDDrsCJ2QmIuo6f/7v1OybLLwoebXDTA1RPaA5G
 P4ReFPFqZnueuuSM3O+Y6wIt91aGU89owD8yQtGv/ai6PdsqEBbQYRVGZMZ/3dbodNwO
 HvJ6yEO+OR6QDqcuqwdIrc0RngfZixfOkXOMserInpgICY6udPjvXdNBAsUwUWnN9dyJ
 y8nqSH4OgOD51AGKWv7JfbZ9fZPorPoFnhj+Q6GIShyuCH2IFWGGj3rXwJKGbacVEVTq
 FPWuiYmkjGW4HkNK8pu06SVFtvruLnOmNtEWCV0BCxodHSKwqtMQ90ceMzsZKAMTkep9
 VySQ==
X-Gm-Message-State: AOJu0Yx808FFhbkuvxfx8zCep4YpJ9wOIPowrzzC+2LRKTn6d+XCTRaj
 8NtkoV42d368GzGtRmp6KF3eyAWr0bFSOVl07ta77OOaSvdVVljjHF7osRhngYtuFGumGqTGmvX
 AhgEZrwK/SzBYr+OYB1NcK1xX0DKot84CUUQ=
X-Google-Smtp-Source: AGHT+IH6IfbeO6g1NT+vC+SHWVdB6ZAsTD1+ueJhO0wO5pSMXr1BLpouTQ+hrMpoa55nKtKEzbfrMSSTasdCG9AOaKU=
X-Received: by 2002:a05:6a00:2314:b0:70b:176e:b3bc with SMTP id
 d2e1a72fcca58-7199ce48b01mr14693929b3a.28.1727058104722; Sun, 22 Sep 2024
 19:21:44 -0700 (PDT)
MIME-Version: 1.0
From: Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>
Date: Sun, 22 Sep 2024 21:21:33 -0500
Message-ID: <CADMsvoAn1hQrH7uoY7vXF2T332X2FVt_8-aWja7sYzOMZoH4kw@HIDDEN>
Subject: clojure package is broken
To: bug-guix@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000d6ad4d0622c00c7f"
Received-SPF: pass client-ip=2607:f8b0:4864:20::429;
 envelope-from=andreas.wolfgang.bauer@HIDDEN; helo=mail-pf1-x429.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 HTML_FONT_FACE_BAD=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 23 Sep 2024 01:35:45 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

--000000000000d6ad4d0622c00c7f
Content-Type: text/plain; charset="UTF-8"

Hi!

Something broke the clojure package. It was working some time ago, and now
it is not.
What no longer works is using JAR files from maven/clojars that contain
CLASS FILES.
The content of class files is no longer being loaded. This bug affects a
lot of libraries that
I use.

I have made a repo to reproduce the bug:
https://github.com/awb99/clojure-guix-broken

In this repo one can run clojur-X:curl on todays version of guix, and one
will
get this error: Execution error (ClassNotFoundException) at
java.net.URLClassLoader/findClass (REPL:-1). io.netty.channel.epoll.Epoll


Now it can be fixed with time machine:

guix time-machine --commit=98e4bfe96f2c99daa0b66b65c1d379bb385301a8 -- guix
shell --pure --development --check clojure-tools openjdk coreutils

Then in time-machine run again clojure-X:curl and the demo will work.

The demo can be tried out on  virtually any operating system and it will
work, just on guix it is currently broken.

Thanks.

--000000000000d6ad4d0622c00c7f
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi!<div><br></div><div>Something broke the clojure package=
. It was working some time ago, and now it is not.</div><div>What no longer=
 works is using JAR files from maven/clojars that contain CLASS FILES.</div=
><div>The content of class files is no longer being loaded. This bug affect=
s a lot of libraries that</div><div>I use.</div><div><br></div><div>I have =
made a repo to reproduce the bug:</div><div><a href=3D"https://github.com/a=
wb99/clojure-guix-broken">https://github.com/awb99/clojure-guix-broken</a><=
br></div><div><br></div><div>In this repo one can run clojur-X:curl on toda=
ys version of guix, and one will</div><div>get this error:=C2=A0<span style=
=3D"color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,&quot;=
Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-serif,&quot;Apple=
 Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px">Execution err=
or (ClassNotFoundException) at=C2=A0</span></div><div><span style=3D"color:=
rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&q=
uot;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emo=
ji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px">java.net.URLClassLoader=
/findClass (REPL:-1). io.netty.channel.epoll.Epoll</span></div><div><span s=
tyle=3D"color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,&q=
uot;Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-serif,&quot;A=
pple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px"><br></spa=
n></div><div><span style=3D"color:rgb(31,35,40);font-family:-apple-system,B=
linkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Aria=
l,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-=
size:16px"><br></span></div><div><span style=3D"color:rgb(31,35,40);font-fa=
mily:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&=
quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe =
UI Emoji&quot;;font-size:16px">Now it can be fixed with time machine:</span=
></div><div><span style=3D"color:rgb(31,35,40);font-family:-apple-system,Bl=
inkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Arial=
,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-s=
ize:16px"><br></span></div><div><span style=3D"color:rgb(31,35,40);font-fam=
ily:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&q=
uot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe U=
I Emoji&quot;;font-size:16px">guix time-machine --commit=3D98e4bfe96f2c99da=
a0b66b65c1d379bb385301a8 -- guix shell --pure --development --check clojure=
-tools openjdk coreutils</span><span style=3D"color:rgb(31,35,40);font-fami=
ly:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&qu=
ot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI=
 Emoji&quot;;font-size:16px"><br></span></div><div><span style=3D"color:rgb=
(31,35,40);font-family:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot=
;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&=
quot;,&quot;Segoe UI Emoji&quot;;font-size:16px"><br></span></div><div><spa=
n style=3D"color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont=
,&quot;Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-serif,&quo=
t;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16px">Then i=
n time-machine run again clojure-X:curl and the demo will work.</span></div=
><div><span style=3D"color:rgb(31,35,40);font-family:-apple-system,BlinkMac=
SystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans&quot;,Helvetica,Arial,sans-=
serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;font-size:16=
px"><br></span></div><div><font color=3D"#1f2328" face=3D"-apple-system, Bl=
inkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple =
Color Emoji, Segoe UI Emoji"><span style=3D"font-size:16px">The demo can be=
 tried out on=C2=A0 virtually any operating system and it will work, just o=
n guix it is currently broken.</span></font></div><div><font color=3D"#1f23=
28" face=3D"-apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helveti=
ca, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji"><span style=3D"fo=
nt-size:16px"><br></span></font></div><div><font color=3D"#1f2328" face=3D"=
-apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, s=
ans-serif, Apple Color Emoji, Segoe UI Emoji"><span style=3D"font-size:16px=
">Thanks.</span></font></div><div><span style=3D"color:rgb(31,35,40);font-f=
amily:-apple-system,BlinkMacSystemFont,&quot;Segoe UI&quot;,&quot;Noto Sans=
&quot;,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe=
 UI Emoji&quot;;font-size:16px"><br></span></div><div><br></div><div><br></=
div><div><br></div><div><br></div></div>

--000000000000d6ad4d0622c00c7f--




Acknowledgement sent to Andreas Bauer <andreas.wolfgang.bauer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#73432; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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