GNU bug report logs - #70886
Packaging a gradle application

Previous Next

Package: guix;

Reported by: Noé Lopez <noe <at> xn--no-cja.eu>

Date: Sun, 12 May 2024 01:03:01 UTC

Severity: normal

To reply to this bug, email your comments to 70886 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#70886; Package guix. (Sun, 12 May 2024 01:03:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Noé Lopez <noe <at> xn--no-cja.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 12 May 2024 01:03:02 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: bug-guix <at> gnu.org
Subject: Packaging a gradle application
Date: Sat, 11 May 2024 14:53:39 +0200
Hi Guix,

Today I thought I'd try to package Mindustry, a libre game I like made
in Java. It uses the gradle build system, and I couldn't find any
trace of gradle in the guix sources or mailing lists.

I only found some gradle packages being built with the ant-build-sytem,
so I tried that for a few hours but I can only get so far as Mindustry
uses some very specific gradle settings that I don't really know how to
replicate with the ant build system, because it is not very flexible.

Is there something stopping us from using gradle to build packages or
has it just not been done before ?

Thanks in advance
Noé Lopez




Information forwarded to bug-guix <at> gnu.org:
bug#70886; Package guix. (Sun, 12 May 2024 18:58:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 70886 <at> debbugs.gnu.org
Cc: julien <at> lepiller.eu
Subject: Packaging a gradle application
Date: Sun, 12 May 2024 20:57:12 +0200
Hi Noé,

Regarding Gradle, IIRC, the main hinderance to get that into Guix is the
extremely costly bootstrap process through which its building blocks (in
particular recent Kotlin versions) can be built. 

The work on this is mainly done by Julien Lepiller in channel
guix-android :
https://framagit.org/tyreunom/guix-android/-/blob/master/android/packages/kotlin.scm

He managed to get kotlin v1.0.0 to work but there was another
hurdle IIRC, I can't tell you more, but maybe Julien can.

There's still quite some work to do before we're able to write and use a
gradle-build-system. If you have a lot of computer power, don't hesitate
to take a look there.

There's also more info disseminated in the mailing list.

-- 
Best regards,
Nicolas Graves




Information forwarded to bug-guix <at> gnu.org:
bug#70886; Package guix. (Sun, 12 May 2024 19:14:02 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 70886 <at> debbugs.gnu.org
Subject: Re: Packaging a gradle application
Date: Sun, 12 May 2024 21:13:31 +0200
After 1.0.0, I'm able to build one more version, but it is not built properly, as it's not able to build ittelf or any other version. There's probably something wrong with one of the dependencies, but it's hard to say what and which one exactly.

One way to test would be to rebuild with the shipped jar dependencies and see if we can get further, then figure out which is responsible for the issue. It's very time consumming though.

Le 12 mai 2024 20:57:12 GMT+02:00, Nicolas Graves <ngraves <at> ngraves.fr> a écrit :
>
>Hi Noé,
>
>Regarding Gradle, IIRC, the main hinderance to get that into Guix is the
>extremely costly bootstrap process through which its building blocks (in
>particular recent Kotlin versions) can be built. 
>
>The work on this is mainly done by Julien Lepiller in channel
>guix-android :
>https://framagit.org/tyreunom/guix-android/-/blob/master/android/packages/kotlin.scm
>
>He managed to get kotlin v1.0.0 to work but there was another
>hurdle IIRC, I can't tell you more, but maybe Julien can.
>
>There's still quite some work to do before we're able to write and use a
>gradle-build-system. If you have a lot of computer power, don't hesitate
>to take a look there.
>
>There's also more info disseminated in the mailing list.
>




Information forwarded to bug-guix <at> gnu.org:
bug#70886; Package guix. (Mon, 13 May 2024 21:13:01 GMT) Full text and rfc822 format available.

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

From: Noé Lopez <noe <at> xn--no-cja.eu>
To: 70886 <at> debbugs.gnu.org
Subject: Packaging a gradle application
Date: Mon, 13 May 2024 23:09:46 +0200
Thank you both for your answers. I will try out the channel and see if I
can figure something out :)

I don’t have that much computing power with my little i3, I'm sure it
will manage lol. I suppose once kotlin is built I won't have to build it
again, unless it is itself packaged with gradle 😵‍💫. I'll keep you
updated once I make some progress, in the meanwhile we can probably
close this issue.

All the best,
Noé




This bug report was last modified 18 days ago.

Previous Next


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