From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 6MLnKwmp/2bL7AAAqHPOHw:P1 (envelope-from ) for ; Fri, 04 Oct 2024 08:36:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 6MLnKwmp/2bL7AAAqHPOHw (envelope-from ) for ; Fri, 04 Oct 2024 10:36:25 +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=sOVf9CER; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=huyiu73a; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1728030985; 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: content-transfer-encoding:content-transfer-encoding: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=8EXebh0GfmHo1ULkX5gs7QX5icEFloe/9YG5gL+9prw=; b=TKUvwczouMcPa/9zCTUDnO9+CqGCfyYDU+7OfEKxcbhtb7NmX1t4iTPqHsxBa/Y9wRaAFu g16gFoVvHlaDlcHcfVx+ocGnITN8m8Y3fCdnKjEUZwXFsKgPH7IpuULvPoxybiWXEroEr6 +8RFwlK8StYghZdzb9K/iIlyxzFf4ZzG1wyWydn96i1O6i0FPzmXa85Omq263SOCJ4yZhc hRG1aRI2jUAaziS7wWDWc4kHS3ovu61Aerprso2fMe6jcpGEYbYGqGBeQlg/fW6tn4tWlg /VSwowd+OIKXPrnaZw+IuWBSGUQhgdmGYEXe3xxvlbLDE9HAYLdJr27wmjt0Zw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1728030985; a=rsa-sha256; cv=none; b=n7220XdfmnbiV6/rhis6iIKBsB5e+LnXh/G8TJNINoZMRbFJJ+By8YvV7t1RJ6bgp8qLah UDE4MWHsUIS6izXa5tCIiMa+Q3EWOrZw4v4eduvuTbsdt2b6DtQHlB8H9Bup9jhsdXWC2v G/Zhb71BotWSf3vBo9OFQlUjoLA7wF8X7ZfmSfC/qxaCQzXrUPV2OaCiGq5EUaEeRjT+0s AUCVVx5wfaRd1TiTLeUdQvlnWe6HdxIZGwXPZR145e7N2e+enMUnlvZ7uOkHZUOpmm6Xcd dwi4Ek85OstG8ddG+CrfooIWCpvKI93BfbANuAkJL8urfFCqjYIBmYODELO0hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=sOVf9CER; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=huyiu73a; 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"; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none) 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 2B6B77B024 for ; Fri, 04 Oct 2024 10:36:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1swdn7-0000zN-TM; Fri, 04 Oct 2024 04:36:01 -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 1swdn6-0000z6-DC for bug-guix@gnu.org; Fri, 04 Oct 2024 04:36: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 1swdn6-0005ur-4N for bug-guix@gnu.org; Fri, 04 Oct 2024 04:36:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=8EXebh0GfmHo1ULkX5gs7QX5icEFloe/9YG5gL+9prw=; b=sOVf9CERo9NYEu7uLqKS2LJ69nROABvUUo0jXNVwPo9cBbQUHNRgd52ycvu1dPM7NLidxqLanHS/atcxwg66/4VqUXrX6yCeHEQ4iE9f/tulqoNCuBU3w4emRCMjBgP4IMZWl7eRrTPTZkc0rUK8RS3I4yp3L3OJtROgl3hksiaR607OZGntRr4nC/Xx9FJSrMOFiHDYzHJHuMmedwq926r9TUJh1TX/6KC/V2bkPhM0E3HFjI+bpyx5cqE6JqMEw24yJVWnhPs6q4auIX3An4ZmxNAH3ytJ2T1YQlF2PEyV4WwJeO7zeK9HYo5uQevzHuuIfXwPREJIhTbShvR4xQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1swdn8-0006t5-09 for bug-guix@gnu.org; Fri, 04 Oct 2024 04:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73432: clojure package is broken Resent-From: Kristiyan Kanchev Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Oct 2024 08:36:01 +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: Roman Scherer , Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Rostislav Svoboda , 73432@debbugs.gnu.org, Andreas Bauer Received: via spool by 73432-submit@debbugs.gnu.org id=B73432.172803090625907 (code B ref 73432); Fri, 04 Oct 2024 08:36:01 +0000 Received: (at 73432) by debbugs.gnu.org; 4 Oct 2024 08:35:06 +0000 Received: from localhost ([127.0.0.1]:34372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1swdmD-0006jl-EN for submit@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 ) id 1swdmB-0006jc-9A for 73432@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@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@gmail.com> Date: Fri, 4 Oct 2024 11:33:54 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird References: <87bk01thf0.fsf@gnu.org> <864j5ts0yn.fsf@burningswell.com> <86zfnlqm3e.fsf@burningswell.com> Content-Language: en-US From: Kristiyan Kanchev In-Reply-To: <86zfnlqm3e.fsf@burningswell.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: 1.14 X-Spam-Score: 1.14 X-Migadu-Queue-Id: 2B6B77B024 X-Migadu-Scanner: mx13.migadu.com X-TUID: 4IDMjigfA0I7 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 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 writes: >> >>> Hi Andreas and Kristiyan, >>> >>> Cc’ing 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=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 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’.