GNU bug report logs - #67010
[PATCH 0/2] icedtea-8 powerpc-linux patches

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Thu, 9 Nov 2023 06:40:01 UTC

Severity: normal

Tags: patch

Full log


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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: 67010 <at> debbugs.gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.
Date: Thu,  9 Nov 2023 08:41:08 +0200
* gnu/packages/java.scm (icedtea-8)[arguments]: When building for
powerpc-linux add a configure-flag to skip the java flight recorder.

Change-Id: I3b9e137c82766507c46ba7a54dff64c3c50c3685
---

I wasn't able to find a way to add this without changing the hash for
the other architectures. Also, I think this is also true for armhf, but
currently jamvm doesn't build for that architecture so I couldn't test
it.

 gnu/packages/java.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index ac427b8eaa..99c8839803 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -738,6 +738,10 @@ (define-public icedtea-8
                    "--enable-nss"
                    ,(string-append "--with-parallel-jobs="
                                    (number->string (parallel-job-count)))
+                   ;; Java Flight Recorder isn't supported on some architectures.
+                   ,@(if ,(target-ppc32?)
+                       `("--enable-jfr=no")
+                       '())
                    "--disable-downloading"
                    "--disable-system-pcsc"
                    "--disable-system-sctp"
-- 
Efraim Flashner   <efraim <at> flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted





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

Previous Next


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