From: Julien Lepiller <julien@lepiller.eu>
To: "Dr. Arne Babenhauserheide" <arne_bab@web.de>
Cc: 51693@debbugs.gnu.org
Subject: bug#51693: [patch] Add Java 17
Date: Mon, 15 Nov 2021 13:59:12 +0100 [thread overview]
Message-ID: <20211115135912.708ef981@tachikoma.lepiller.eu> (raw)
In-Reply-To: <87zgq61hmw.fsf@web.de>
Hi, I think you fixed openjdk16 instead of openjdk17, this makes the
patch a bit confusing to read.
Le Sun, 14 Nov 2021 21:59:44 +0100,
"Dr. Arne Babenhauserheide" <arne_bab@web.de> a écrit :
> Julien Lepiller <julien@lepiller.eu> writes:
>
> > Le Mon, 08 Nov 2021 21:32:16 +0100,
> > "Dr. Arne Babenhauserheide" <arne_bab@web.de> a écrit :
> >
> >> the attached patch adds openjdk@17
> >>
> >> Take care with updating packages depending on this, because the
> >> changes to the module system can cause runtime failures.
>
> > sorry for the delay.
>
> No problems — thank you for checking my patch!
>
> > I tried your patch, but the build fails for me
> > because it goes "out of file descriptors" and "unix resources".
> > Does it work for you?
>
> It works for me, yes.
>
> ./pre-inst-env guix environment --ad-hoc openjdk@17:jdk -- java
> -version …
> openjdk version "17.0.1" 2021-10-19
> OpenJDK Runtime Environment (build 17.0.1+0-adhoc..source)
> OpenJDK 64-Bit Server VM (build 17.0.1+0-adhoc..source, mixed mode,
> sharing)
>
> > I tried with various levels of parallelism, but it did not
> > change anything.
> >
> > also about your patch, could you replace (invoke "chmod" "u+w" file)
> > with a call to make-writable?
>
> Do you mean `make-file-writable` ? I switched to that now.
>
> > It's available by default in the build
> > environment, it comes from (guix build utils). I wonder also why you
> > inherit arguments from openjdk15 instead of openjdk16?
>
> That was a mistake — thank you!
>
> I attached a new patch.
>
next prev parent reply other threads:[~2021-11-15 13:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-08 20:32 bug#51693: [patch] Add Java 17 Dr. Arne Babenhauserheide
2021-11-14 15:54 ` Julien Lepiller
2021-11-14 20:59 ` Dr. Arne Babenhauserheide
2021-11-15 12:59 ` Julien Lepiller [this message]
2021-11-15 14:00 ` Dr. Arne Babenhauserheide
2021-12-02 22:58 ` Ricardo Wurmus
2021-12-03 7:49 ` Dr. Arne Babenhauserheide
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211115135912.708ef981@tachikoma.lepiller.eu \
--to=julien@lepiller.eu \
--cc=51693@debbugs.gnu.org \
--cc=arne_bab@web.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.