From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2GpxBSPJ/2a2KQEA62LTzQ:P1 (envelope-from ) for ; Fri, 04 Oct 2024 10:53:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2GpxBSPJ/2a2KQEA62LTzQ (envelope-from ) for ; Fri, 04 Oct 2024 12:53:23 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=V7tCUZ1Y; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=1aU5koQe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728039203; a=rsa-sha256; cv=none; b=UITzKYtG3v62LQT2yTUZApLllJ35NTqeOvjhD0kCM4AeODXEbeGWUPlv0DOIlbve6DCqE7 Ef2XU0f4ydFehZx2yLe6lmMMHIp9STsW4jrxIUPwHZWgTzkEE5n2zEJPc6BYYXYUk6lJdG PcbsWiuwFOK98iXYaUh3GLTON+WlI+NmKmYarcxmPI5fWNi5hEy1TKQ8gzW0802+qUrVss BVdzrWUZdNQYWWSJLZZdGIQcAwmItBREDzVaxEtFsCuywvCZrezspzcbC/Hw7tFsWfFgqQ HoSR6An87c1Y3tNvtXId2uJ8KfNLUegclzvLqN+ceG7SN/fec9I6vRRPgXSEmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=V7tCUZ1Y; dkim=fail ("headers rsa verify failed") header.d=burningswell-com.20230601.gappssmtp.com header.s=20230601 header.b=1aU5koQe; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728039203; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=d42qUlCGzt1WbllIxw2kpoHuErZltbvLLOv07upprdA=; b=pHymhFBzjEi2aqZ5ZRKq4fzpHz2LbfMzBNITOqlKzTA0yhEqzbP16J5O9iPNr8Liuzi6eX YbLhwn7EI71rz/7F4Cd6HhkvuKwZKnBPIWfSa7ZaWrix6kFfJADuM7gFemhrA5oSvcIdQn oHpFt9/1VNOcGVkJdLz235vIiFYkrDvU7n8YlnGJ8jMntiFLRmfUm6c7mMDLv4xG8nXZ4d rJ8/Bq6eAo+a63hns2mOMv3zmEJgc44EL9H1isPe0pl6O90VQwoIZewznUoG5xhB6F7Cqn YkVYt38x+BZ/KCtuPUMRypTOMqhybmz41MegzzQf2IgY7XhtmFEGa3w4+5c4Ng== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7C509151C for ; Fri, 04 Oct 2024 12:53:22 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swfvl-0004wZ-2z; Fri, 04 Oct 2024 06:53:05 -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 ) id 1swfvg-0004wC-P3 for bug-guix@gnu.org; Fri, 04 Oct 2024 06:53:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1swfvg-000340-GR for bug-guix@gnu.org; Fri, 04 Oct 2024 06:53:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=d42qUlCGzt1WbllIxw2kpoHuErZltbvLLOv07upprdA=; b=V7tCUZ1YrFA53oDSHqOv2EOQifx48vUJ1ppHmNL2c02YXz8eCnoLwVU6oy3j+Rqa7PKe3XMLE3MtDpvgO5o87jtjhveN8UOmlCKDQv/OFX5gtv462mN28tcIqspQfBVEXtgY80h+tA+81KhO+gnSt/BoAkCWt5QJbYZ9FEEO6DKmUAPoRrLiYrkedphc8ZOAFGbeUOY6QDOSsqbQ7DBL6M4i2B7EPHV4OcEky4Z4ZSJ6bawFd28dAEQIqls4aZyySb80YYAAT9uRrlE77QIPS/y+7XajW5m+cerhj0/KLfBCc5ehG54wDBn+9vR35sYouxrzLmn0cMvbSpM2lqw+UQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swfvi-0005co-GW for bug-guix@gnu.org; Fri, 04 Oct 2024 06:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73432: clojure package is broken Resent-From: Roman Scherer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Oct 2024 10:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73432 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Kristiyan Kanchev Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Rostislav Svoboda , 73432@debbugs.gnu.org, Andreas Bauer Received: via spool by 73432-submit@debbugs.gnu.org id=B73432.172803913821556 (code B ref 73432); Fri, 04 Oct 2024 10:53:02 +0000 Received: (at 73432) by debbugs.gnu.org; 4 Oct 2024 10:52:18 +0000 Received: from localhost ([127.0.0.1]:34463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swfuw-0005bX-Tk for submit@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 ) id 1swfuu-0005bP-Gt for 73432@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@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 In-Reply-To: <9173f3ce-ba91-42c5-8755-3c9288d7dd71@gmail.com> (Kristiyan Kanchev's message of "Fri, 4 Oct 2024 11:33:54 +0300") References: <87bk01thf0.fsf@gnu.org> <864j5ts0yn.fsf@burningswell.com> <86zfnlqm3e.fsf@burningswell.com> <9173f3ce-ba91-42c5-8755-3c9288d7dd71@gmail.com> Date: Fri, 04 Oct 2024 12:51:02 +0200 Message-ID: <87jzeorvjd.fsf@burningswell.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.65 X-Spam-Score: -2.65 X-Migadu-Queue-Id: 7C509151C X-Migadu-Scanner: mx12.migadu.com X-TUID: djK6GJD1KaeR --=-=-= 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 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 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 writes: >>> >>>> Hi Andreas and Kristiyan, >>>> >>>> Cc=E2=80=99ing Roman and Rostislav who are among the recent committers= for this >>>> file. >>>> >>>> Andreas Bauer 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 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----- --=-=-=--