GNU bug report logs - #62171
[PATCH 0/2] Fix source build of OpenJDK 9 and 10

Previous Next

Package: guix-patches;

Reported by: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Date: Mon, 13 Mar 2023 22:50:01 UTC

Severity: normal

Tags: patch

Done: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 62171 in the body.
You can then email your comments to 62171 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#62171; Package guix-patches. (Mon, 13 Mar 2023 22:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 13 Mar 2023 22:50:01 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: <guix-patches <at> gnu.org>
Subject: [PATCH 0/2] Fix source build of OpenJDK 9 and 10
Date: Mon, 13 Mar 2023 23:49:35 +0100
[Message part 1 (text/plain, inline)]
This fixes  62071.

Björn Höfling (2):
  gnu: openjdk9: Build from hg.
  gnu: openjdk10: Build from hg.

 gnu/packages/java.scm | 41 +++++++++++++++++++----------------------
 1 file changed, 19 insertions(+), 22 deletions(-)


base-commit: 5312d798ac36a72d8a977325a7c6ff7647be670a
-- 
2.39.1
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62171; Package guix-patches. (Mon, 13 Mar 2023 22:53:01 GMT) Full text and rfc822 format available.

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

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: 62171 <at> debbugs.gnu.org
Cc: Julien Lepiller <julien <at> lepiller.eu>
Subject: [PATCH 1/2] gnu: openjdk9: Build from hg.
Date: Mon, 13 Mar 2023 23:52:30 +0100
[Message part 1 (text/plain, inline)]
* gnu/packages/java.scm (openjdk9)[source]: Use HG-DOWNLOAD.
[homepage]: Update.

This fixes <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62071>
for OpenJDK 9.
---
 gnu/packages/java.scm | 21 ++++++++++-----------
 1 file changed, 10 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 388e9d127f..dff513913c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -852,18 +852,17 @@ (define-public openjdk9
     (name "openjdk")
     (version "9.181")
     (source (origin
-              (method url-fetch)
-              (uri
"https://hg.openjdk.java.net/jdk/jdk/archive/3cc80be736f2.tar.bz2")
-              (file-name (string-append name "-" version ".tar.bz2"))
+              (method hg-fetch)
+              (uri (hg-reference (url "https://hg.openjdk.org/jdk/jdk")
+                                 (changeset "jdk-9+181")))
+              (file-name (hg-file-name name version))
+              (modules '((guix build utils)))
+              (snippet `(begin
+                          (for-each delete-file
+                                    (find-files "."
".*.(bin|exe|jar)$")) #t)) (sha256
                (base32
-
"01ihmyf7k5z17wbr7xig7y40l9f01d5zjgkcmawn1102hw5kchpq"))
-              (modules '((guix build utils)))
-              (snippet
-               `(begin
-                  (for-each delete-file
-                            (find-files "." ".*.(bin|exe|jar)$"))
-                  #t))))
+
"1v92nzdqx07c35x945awzir4yk0fk22vky6fpp8mq9js930sxsz0"))))
(build-system gnu-build-system) (outputs '("out" "jdk" "doc"))
     (arguments
@@ -1024,7 +1023,7 @@ (define (icedtea-or-openjdk? path)
        ("unzip" ,unzip)
        ("which" ,which)
        ("zip" ,zip)))
-    (home-page "https://openjdk.java.net/projects/jdk9/")
+    (home-page "https://openjdk.org/projects/jdk9/")
     (synopsis "Java development kit")
     (description
      "This package provides the Java development kit OpenJDK.")
-- 
2.39.1

[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#62171; Package guix-patches. (Tue, 14 Mar 2023 07:03:01 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>,
 62171 <at> debbugs.gnu.org
Subject: Re: [bug#62171] [PATCH 0/2] Fix source build of OpenJDK 9 and 10
Date: Tue, 14 Mar 2023 08:02:26 +0100
Both LGTM. The snippet doesn't need to end with #t anymore. Also not sure if it's my mail client or the patch, but there's a newline missing at the end of the snippets, before sha256.

Le 13 mars 2023 23:49:35 GMT+01:00, "Björn Höfling" <bjoern.hoefling <at> bjoernhoefling.de> a écrit :
>This fixes  62071.
>
>Björn Höfling (2):
>  gnu: openjdk9: Build from hg.
>  gnu: openjdk10: Build from hg.
>
> gnu/packages/java.scm | 41 +++++++++++++++++++----------------------
> 1 file changed, 19 insertions(+), 22 deletions(-)
>
>
>base-commit: 5312d798ac36a72d8a977325a7c6ff7647be670a




Reply sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
You have taken responsibility. (Thu, 16 Mar 2023 09:11:01 GMT) Full text and rfc822 format available.

Notification sent to Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>:
bug acknowledged by developer. (Thu, 16 Mar 2023 09:11:02 GMT) Full text and rfc822 format available.

Message #16 received at 62171-done <at> debbugs.gnu.org (full text, mbox):

From: Björn Höfling <bjoern.hoefling <at> bjoernhoefling.de>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 62171-done <at> debbugs.gnu.org
Subject: Re: [bug#62171] [PATCH 0/2] Fix source build of OpenJDK 9 and 10
Date: Thu, 16 Mar 2023 10:10:42 +0100
[Message part 1 (text/plain, inline)]

On Tue, 14 Mar 2023 08:02:26 +0100
Julien Lepiller <julien <at> lepiller.eu> wrote:

> Both LGTM. The snippet doesn't need to end with #t anymore. Also not
> sure if it's my mail client or the patch, but there's a newline
> missing at the end of the snippets, before sha256.

Good hint: That newline was left out only in the email. I need to
re-check my client's configuration next time.

Thanks for the review,

with your changes pushed as

7636c49b45adb9870cf416c64bde032ec858a820

Björn
[Message part 2 (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Apr 2023 11:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 4 days ago.

Previous Next


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