GNU bug report logs - #73432
clojure package is broken

Previous Next

Package: guix;

Reported by: Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>

Date: Mon, 23 Sep 2024 05:36:01 UTC

Severity: normal

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

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

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


Report forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Mon, 23 Sep 2024 05:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 23 Sep 2024 05:36:02 GMT) Full text and rfc822 format available.

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

From: Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: clojure package is broken
Date: Sun, 22 Sep 2024 21:21:33 -0500
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Thu, 26 Sep 2024 14:26:02 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: 73432 <at> debbugs.gnu.org
Subject: clojure package is broken
Date: Thu, 26 Sep 2024 16:50:42 +0300
[Message part 1 (text/plain, inline)]
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.
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Thu, 03 Oct 2024 14:02:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Kristiyan Kanchev <skrechy <at> gmail.com>, Andreas Bauer
 <andreas.wolfgang.bauer <at> gmail.com>
Cc: Roman Scherer <roman.scherer <at> burningswell.com>, 73432 <at> debbugs.gnu.org,
 Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Thu, 03 Oct 2024 16:00:51 +0200
Hi Andreas and Kristiyan,

Cc’ing Roman and Rostislav who are among the recent committers for this
file.

Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com> 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 <at> gmail.com> 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 <at> gnu.org:
bug#73432; Package guix. (Thu, 03 Oct 2024 14:43:01 GMT) Full text and rfc822 format available.

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

From: Roman Scherer <roman.scherer <at> burningswell.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>,
 Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Thu, 03 Oct 2024 16:41:36 +0200
[Message part 1 (text/plain, inline)]
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 <at> gnu.org> writes:

> Hi Andreas and Kristiyan,
>
> Cc’ing Roman and Rostislav who are among the recent committers for this
> file.
>
> Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com> 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 <at> gmail.com> 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’.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Thu, 03 Oct 2024 14:50:01 GMT) Full text and rfc822 format available.

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

From: Roman Scherer <roman.scherer <at> burningswell.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>,
 Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Thu, 03 Oct 2024 16:48:05 +0200
[Message part 1 (text/plain, inline)]
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 <at> burningswell.com> 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 <at> gnu.org> writes:
>
>> Hi Andreas and Kristiyan,
>>
>> Cc’ing Roman and Rostislav who are among the recent committers for this
>> file.
>>
>> Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com> 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 <at> gmail.com> 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’.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Fri, 04 Oct 2024 08:36:01 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: Roman Scherer <roman.scherer <at> burningswell.com>,
 Ludovic Courtès <ludo <at> gnu.org>
Cc: Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Fri, 4 Oct 2024 11:33:54 +0300
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 <at> burningswell.com> 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 <at> gnu.org> writes:
>>
>>> Hi Andreas and Kristiyan,
>>>
>>> Cc’ing Roman and Rostislav who are among the recent committers for this
>>> file.
>>>
>>> Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com> 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 <at> gmail.com> 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 <at> gnu.org:
bug#73432; Package guix. (Fri, 04 Oct 2024 10:53:02 GMT) Full text and rfc822 format available.

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

From: Roman Scherer <roman.scherer <at> burningswell.com>
To: Kristiyan Kanchev <skrechy <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>,
 Rostislav Svoboda <Rostislav.Svoboda <at> gmail.com>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Fri, 04 Oct 2024 12:51:02 +0200
[Message part 1 (text/plain, inline)]
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 <at> gmail.com> 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  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 <at> burningswell.com> 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 <at> gnu.org> writes:
>>>
>>>> Hi Andreas and Kristiyan,
>>>>
>>>> Cc’ing Roman and Rostislav who are among the recent committers for this
>>>> file.
>>>>
>>>> Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com> 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 <at> gmail.com> 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’.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Sun, 06 Oct 2024 13:00:02 GMT) Full text and rfc822 format available.

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

From: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>
To: Roman Scherer <roman.scherer <at> burningswell.com>,
 Kristiyan Kanchev <skrechy <at> gmail.com>, 
 Ludovic Courtès <ludo <at> gnu.org>, 73432 <at> debbugs.gnu.org, 
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>,
 Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: bug#73432: clojure package is broken
Date: Sun, 6 Oct 2024 14:57:19 +0200
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 <at> ecke ~/dev/guix$ guix shell --development guix gnupg direnv
help2man git glibc-locales glibc less --pure

bost <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 7ba907cf"]}

bost <at> ecke ~/dev/guix [env]$




Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Wed, 09 Oct 2024 12:18:02 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: Rostislav Svoboda <rostislav.svoboda <at> gmail.com>,
 Roman Scherer <roman.scherer <at> burningswell.com>,
 Ludovic Courtès <ludo <at> gnu.org>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>,
 Julien Lepiller <julien <at> lepiller.eu>
Subject: Re: bug#73432: clojure package is broken
Date: Wed, 9 Oct 2024 15:15:47 +0300
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 <at> ecke ~/dev/guix$ guix shell --development guix gnupg direnv
> help2man git glibc-locales glibc less --pure
>
> bost <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 7ba907cf"]}
>
> bost <at> ecke ~/dev/guix [env]$




Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Wed, 09 Oct 2024 12:20:02 GMT) Full text and rfc822 format available.

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

From: Roman Scherer <roman.scherer <at> burningswell.com>
To: Kristiyan Kanchev <skrechy <at> gmail.com>
Cc: Julien Lepiller <julien <at> lepiller.eu>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Rostislav Svoboda <rostislav.svoboda <at> gmail.com>, 73432 <at> debbugs.gnu.org,
 Andreas Bauer <andreas.wolfgang.bauer <at> gmail.com>
Subject: Re: bug#73432: clojure package is broken
Date: Wed, 09 Oct 2024 14:18:07 +0200
[Message part 1 (text/plain, inline)]
Nice Kristiyan, thanks for your work on this!

Kristiyan Kanchev <skrechy <at> gmail.com> 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 <at> ecke ~/dev/guix$ guix shell --development guix gnupg direnv
>> help2man git glibc-locales glibc less --pure
>>
>> bost <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 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 <at> 7ba907cf"]}
>>
>> bost <at> ecke ~/dev/guix [env]$
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#73432; Package guix. (Tue, 15 Oct 2024 07:37:01 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: 73432 <at> debbugs.gnu.org
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>
Subject: [PATCH 0/3] Fix clojure-tools-deps: wrong resolution of deps
Date: Tue, 15 Oct 2024 10:35:19 +0300
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 julien <at> lepiller.eu, bug-guix <at> gnu.org:
bug#73432; Package guix. (Tue, 15 Oct 2024 07:46:01 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: 73432 <at> debbugs.gnu.org
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>
Subject: [PATCH 1/3] gnu: Add maven-resolver-1.6
Date: Tue, 15 Oct 2024 10:43:14 +0300
* 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 <at> lepiller.eu, bug-guix <at> gnu.org:
bug#73432; Package guix. (Tue, 15 Oct 2024 07:46:02 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: 73432 <at> debbugs.gnu.org
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>
Subject: [PATCH 2/3] gnu: Add maven-3.8-core
Date: Tue, 15 Oct 2024 10:43:15 +0300
* 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 bug-guix <at> gnu.org:
bug#73432; Package guix. (Tue, 15 Oct 2024 07:46:02 GMT) Full text and rfc822 format available.

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

From: Kristiyan Kanchev <skrechy <at> gmail.com>
To: 73432 <at> debbugs.gnu.org
Cc: Kristiyan Kanchev <skrechy <at> gmail.com>
Subject: [PATCH 3/3] gnu: clojure-tools-deps: Fix wrong resolution of clojure
 deps
Date: Tue, 15 Oct 2024 10:43:16 +0300
* 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





This bug report was last modified 326 days ago.

Previous Next


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