GNU bug report logs - #64670
[PATCH 0/1] Fixing failing builds of openjdk on aarch64

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Tim Johann <t1m@HIDDEN>; Keywords: patch; dated Sun, 16 Jul 2023 20:37:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 64670 <at> debbugs.gnu.org:


Received: (at 64670) by debbugs.gnu.org; 11 Aug 2023 11:18:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Aug 11 07:18:35 2023
Received: from localhost ([127.0.0.1]:45058 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qUQA7-0001FM-8E
	for submit <at> debbugs.gnu.org; Fri, 11 Aug 2023 07:18:35 -0400
Received: from ms-10.1blu.de ([178.254.4.101]:44892)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <t1m@HIDDEN>) id 1qUQA3-0001F2-Td
 for 64670 <at> debbugs.gnu.org; Fri, 11 Aug 2023 07:18:33 -0400
Received: from [176.199.211.189] (helo=dolos)
 by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>) id 1qUQA2-0006DS-FI
 for 64670 <at> debbugs.gnu.org; Fri, 11 Aug 2023 13:18:30 +0200
From: Tim Johann <t1m@HIDDEN>
To: 64670 <at> debbugs.gnu.org
Subject: referenced patch does not apply to openjdk10
Date: Fri, 11 Aug 2023 12:56:30 +0200
User-agent: mu4e 1.10.5; emacs 29.0.92
Message-ID: <871qg9aku1.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Con-Id: 303810
X-Con-U: 0-timjohann
X-Originating-IP: 176.199.211.189
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64670
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: multipart/alternative; boundary="==-=-="

--==-=-=
Content-Type: text/plain
Content-Disposition: inline

Hello again,

said issue is merged (<https://issues.guix.gnu.org/63327>) now.

Unfortunately, it does not affect openjdk10, since it uses a different file system organisation than the former version.

I already suggested this solution to bug#63069 (<https://issues.guix.gnu.org/63069>) where a fix along the lines of separate patch files was proposed as a better alternative to issue #63327.

Still keeping this open until a patch for openjdk10 has been merged, too, which I would love to see soon.

Cheers

Tim

--==-=-=
Content-Type: text/html
Content-Disposition: inline

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- 2023-08-11 Fri 13:18 --><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="generator" content="Org Mode"/></head><body>
<div style="font-family:&quot;Arial&quot;;font-size:10pt;line-height:11pt;" id="content">
<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Hello again,<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
said issue is merged (<a style="color:#0071c5;" href="https://issues.guix.gnu.org/63327">https://issues.guix.gnu.org/63327</a>) now.<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Unfortunately, it does not affect openjdk10, since it uses a different file system organisation than the former version.<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
I already suggested this solution to bug#63069 (<a style="color:#0071c5;" href="https://issues.guix.gnu.org/63069">https://issues.guix.gnu.org/63069</a>) where a fix along the lines of separate patch files was proposed as a better alternative to issue #63327.<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Still keeping this open until a patch for openjdk10 has been merged, too, which I would love to see soon.<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Cheers<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Tim<br/></p>
</div>
</body></html>
--==-=-=--

--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#64670; Package guix-patches. Full text available.

Message received at 64670 <at> debbugs.gnu.org:


Received: (at 64670) by debbugs.gnu.org; 17 Jul 2023 15:45:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jul 17 11:45:24 2023
Received: from localhost ([127.0.0.1]:50793 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qLQPc-0000h6-3h
	for submit <at> debbugs.gnu.org; Mon, 17 Jul 2023 11:45:24 -0400
Received: from ms-10.1blu.de ([178.254.4.101]:50114)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <t1m@HIDDEN>) id 1qLQPX-0000gr-6h
 for 64670 <at> debbugs.gnu.org; Mon, 17 Jul 2023 11:45:22 -0400
Received: from [129.206.148.250] (helo=dolos)
 by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>) id 1qLQPV-0000SJ-A1
 for 64670 <at> debbugs.gnu.org; Mon, 17 Jul 2023 17:45:17 +0200
From: Tim Johann <t1m@HIDDEN>
To: 64670 <at> debbugs.gnu.org
Subject: This seems to be a duplicate issue to the on by Christopher Baines.
Date: Mon, 17 Jul 2023 17:41:34 +0200
User-agent: mu4e 1.10.3; emacs 30.0.50
Message-ID: <87v8eir183.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Con-Id: 303810
X-Con-U: 0-timjohann
X-Originating-IP: 129.206.148.250
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64670
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: multipart/alternative; boundary="==-=-="

--==-=-=
Content-Type: text/plain
Content-Disposition: inline

Hello,

I just found a kinda duplicate of this from May 06:
<https://issues.guix.gnu.org/63327>

So, why isn't this already pushed?

I'll keep this one open until one of our patches is applied.


Cheers

Tim

--==-=-=
Content-Type: text/html
Content-Disposition: inline

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!-- 2023-07-17 Mon 17:45 --><meta http-equiv="Content-Type" content="text/html;charset=utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><meta name="generator" content="Org Mode"/></head><body>
<div style="font-family:&quot;Arial&quot;;font-size:10pt;line-height:11pt;" id="content">
<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Hello,<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
I just found a kinda duplicate of this from May 06:<br/><a style="color:#0071c5;" href="https://issues.guix.gnu.org/63327">https://issues.guix.gnu.org/63327</a><br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
So, why isn't this already pushed?<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
I'll keep this one open until one of our patches is applied.<br/></p>


<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Cheers<br/></p>

<p style="text-decoration:none;margin-bottom:0px;margin-top:10px;line-height:11pt;font-size:10pt;font-family:&quot;Arial&quot;;">
Tim<br/></p>
</div>
</body></html>
--==-=-=--

--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#64670; Package guix-patches. Full text available.

Message received at 64670 <at> debbugs.gnu.org:


Received: (at 64670) by debbugs.gnu.org; 16 Jul 2023 21:16:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 16 17:16:37 2023
Received: from localhost ([127.0.0.1]:48694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qL96a-00052r-JM
	for submit <at> debbugs.gnu.org; Sun, 16 Jul 2023 17:16:37 -0400
Received: from ms-10.1blu.de ([178.254.4.101]:54706)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <t1m@HIDDEN>) id 1qL96Y-00052h-2s
 for 64670 <at> debbugs.gnu.org; Sun, 16 Jul 2023 17:16:36 -0400
Received: from [176.199.211.189] (helo=dolos.fritz.box)
 by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>)
 id 1qL96W-0001RZ-Mq; Sun, 16 Jul 2023 23:16:32 +0200
From: Tim Johann <t1m@HIDDEN>
To: 64670 <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: openjdk: patches for aarch64 build
 (openjdk9|openjdk10).
Date: Sun, 16 Jul 2023 23:16:29 +0200
Message-ID: <20230716211629.181979-1-t1m@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Con-Id: 303810
X-Con-U: 0-t1m
X-Originating-IP: 176.199.211.189
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 64670
Cc: Tim Johann <t1m@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

OpenJDK source code prior to version 11 have a duplicate 'using' statement
in hotspot's interp_masm_aarch64.hpp, which let's compilation of
openjdk@HIDDEN fail on aarch64, and in consequence all openjdk versions,
since each version larger than major 9 depends on the next lower major
version of openjdk.

This patch will make openjdk available on aarch64, again.

* gnu/packages/java.scm (openjdk9|openjdk10)[source](patches): adding patches
to remove duplicate 'using' statements causing build to fail on aarch64.
* gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch,
gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch: New files
---
 gnu/packages/java.scm                             |  6 ++++--
 .../openjdk-10-duplicate-using-declaration.patch  | 15 +++++++++++++++
 .../openjdk-9-duplicate-using-declaration.patch   | 15 +++++++++++++++
 3 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch
 create mode 100644 gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 5a6288581e..69c4e604a8 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -873,7 +873,8 @@ (define-public openjdk9
                (base32
                 "1v92nzdqx07c35x945awzir4yk0fk22vky6fpp8mq9js930sxsz0"))
               (patches (search-patches "openjdk-9-pointer-comparison.patch"
-                                       "openjdk-9-setsignalhandler.patch"))))
+                                       "openjdk-9-setsignalhandler.patch"
+                                       "openjdk-9-duplicate-using-declaration.patch"))))
     (build-system gnu-build-system)
     (outputs '("out" "jdk" "doc"))
     (arguments
@@ -1060,7 +1061,8 @@ (define-public openjdk10
               (patches (search-patches
                         "openjdk-10-idlj-reproducibility.patch"
                         "openjdk-10-pointer-comparison.patch"
-                        "openjdk-10-setsignalhandler.patch"))))
+                        "openjdk-10-setsignalhandler.patch"
+                        "openjdk-10-duplicate-using-declaration.patch"))))
     (arguments
      (substitute-keyword-arguments (package-arguments openjdk9)
        ((#:phases phases)
diff --git a/gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch b/gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch
new file mode 100644
index 0000000000..48cded60e3
--- /dev/null
+++ b/gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch
@@ -0,0 +1,15 @@
+Patch from changeset of openjdk11:
+https://hg.openjdk.org/jdk-updates/jdk11u/rev/15cc1c8a6371
+
+diff -u -r openjdk-10.alt/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp openjdk-10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp
+--- openjdk-10.alt/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp	2023-07-16 14:33:27.570165136 +0200
++++ openjdk-10/src/hotspot/cpu/aarch64/interp_masm_aarch64.hpp	2023-07-16 14:34:55.325163199 +0200
+@@ -39,8 +39,6 @@
+  protected:
+ 
+  protected:
+-  using MacroAssembler::call_VM_leaf_base;
+-
+   // Interpreter specific version of call_VM_base
+   using MacroAssembler::call_VM_leaf_base;
+ 
diff --git a/gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch b/gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch
new file mode 100644
index 0000000000..3fa933ad36
--- /dev/null
+++ b/gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch
@@ -0,0 +1,15 @@
+Patch from changeset of openjdk11:
+https://hg.openjdk.org/jdk-updates/jdk11u/rev/15cc1c8a6371
+
+diff -u -r openjdk-9.alt/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.hpp openjdk-9/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.hpp
+--- openjdk-9.alt/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.hpp	2023-07-15 19:03:09.063790084 +0200
++++ openjdk-9/hotspot/src/cpu/aarch64/vm/interp_masm_aarch64.hpp	2023-07-15 19:01:12.289447197 +0200
+@@ -39,8 +39,6 @@
+  protected:
+ 
+  protected:
+-  using MacroAssembler::call_VM_leaf_base;
+-
+   // Interpreter specific version of call_VM_base
+   using MacroAssembler::call_VM_leaf_base;
+ 
-- 
2.41.0





Information forwarded to guix-patches@HIDDEN:
bug#64670; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Jul 2023 20:36:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jul 16 16:36:11 2023
Received: from localhost ([127.0.0.1]:48670 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qL8TS-00040C-Sa
	for submit <at> debbugs.gnu.org; Sun, 16 Jul 2023 16:36:11 -0400
Received: from lists.gnu.org ([2001:470:142::17]:47528)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <t1m@HIDDEN>) id 1qL8TO-0003zd-Hc
 for submit <at> debbugs.gnu.org; Sun, 16 Jul 2023 16:36:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>) id 1qL8TJ-0000zR-07
 for guix-patches@HIDDEN; Sun, 16 Jul 2023 16:36:01 -0400
Received: from ms-10.1blu.de ([178.254.4.101])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>) id 1qL8TH-0003Ws-4N
 for guix-patches@HIDDEN; Sun, 16 Jul 2023 16:36:00 -0400
Received: from [176.199.211.189] (helo=dolos.fritz.box)
 by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <t1m@HIDDEN>)
 id 1qL8TD-0004X8-0f; Sun, 16 Jul 2023 22:35:55 +0200
From: Tim Johann <t1m@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/1] Fixing failing builds of openjdk on aarch64
Date: Sun, 16 Jul 2023 22:35:51 +0200
Message-ID: <20230716203552.180767-1-t1m@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Con-Id: 303810
X-Con-U: 0-t1m
X-Originating-IP: 176.199.211.189
Received-SPF: pass client-ip=178.254.4.101; envelope-from=t1m@HIDDEN;
 helo=ms-10.1blu.de
X-Spam_score_int: -28
X-Spam_score: -2.9
X-Spam_bar: --
X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_MSPIKE_H5=-1,
 RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
Cc: Tim Johann <t1m@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

When I wanted to install Clojure on my Raspberry Pis, I was stumped to see
that there was no installable version of openjdk available on aarch64.  Seeing
the build fail, I saw that this was a very simple issue fixed in openjdk11
(cf.: [1] and [2]).  So, I created a patch and applied it to openjdk9 and
openjdk10, after which I was able to build openjdk@HIDDEN, openjdk@HIDDEN, and
openjdk@HIDDEN successfully on one of my RPis.  I hope that subsequently all
versions of openjdk can be built on aarch64.

[1]  https://bugs.openjdk.org/browse/JDK-8237885
[2] https://hg.openjdk.org/jdk-updates/jdk11u/rev/15cc1c8a6371).

Tim Johann (1):
  gnu: openjdk: patches for aarch64 build (openjdk9|openjdk10).

 gnu/packages/java.scm                             |  6 ++++--
 .../openjdk-10-duplicate-using-declaration.patch  | 15 +++++++++++++++
 .../openjdk-9-duplicate-using-declaration.patch   | 15 +++++++++++++++
 3 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 gnu/packages/patches/openjdk-10-duplicate-using-declaration.patch
 create mode 100644 gnu/packages/patches/openjdk-9-duplicate-using-declaration.patch


base-commit: 796c823a0d1d0aec9f4af908eca462e58e5675b5
-- 
2.41.0





Acknowledgement sent to Tim Johann <t1m@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#64670; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 11 Aug 2023 11:30:02 UTC

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