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

To reply to this bug, email your comments to 67010 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 bjoern.hoefling <at> bjoernhoefling.de, julien <at> lepiller.eu, guix-patches <at> gnu.org:
bug#67010; Package guix-patches. (Thu, 09 Nov 2023 06:40:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Efraim Flashner <efraim <at> flashner.co.il>:
New bug report received and forwarded. Copy sent to bjoern.hoefling <at> bjoernhoefling.de, julien <at> lepiller.eu, guix-patches <at> gnu.org. (Thu, 09 Nov 2023 06:40:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: guix-patches <at> gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH 0/2] icedtea-8 powerpc-linux patches
Date: Thu,  9 Nov 2023 08:37:59 +0200
I successfully built icedtea-8 on powerpc-linux with the first patch.
After seeing that building the docs took more than 15 hours I tested the
second patch on x86_64 and it built without any issues. For comparison,
the docs part of the 'build phase on my x86_64 machine took 52 seconds.

Efraim Flashner (2):
  gnu: icedtea-8: Fix building on powerpc-linux.
  gnu: icedtea-8: Don't build the docs.

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


base-commit: b0bfddd7f937fcefdaeb1de4ccafd415c1df4122
-- 
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





Information forwarded to bjoern.hoefling <at> bjoernhoefling.de, julien <at> lepiller.eu, guix-patches <at> gnu.org:
bug#67010; Package guix-patches. (Thu, 09 Nov 2023 06:44:01 GMT) Full text and rfc822 format available.

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





Information forwarded to bjoern.hoefling <at> bjoernhoefling.de, julien <at> lepiller.eu, guix-patches <at> gnu.org:
bug#67010; Package guix-patches. (Thu, 09 Nov 2023 06:44:02 GMT) Full text and rfc822 format available.

Message #11 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 2/2] gnu: icedtea-8: Don't build the docs.
Date: Thu,  9 Nov 2023 08:41:09 +0200
* gnu/packages/java.scm (icedtea-8)[arguments]: Add a configure-flag to
skip building the docs.

Change-Id: I4a8cfb869cf38bc879ea72a85e0e783a4a759500
---
 gnu/packages/java.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 99c8839803..70afcc29e4 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -742,6 +742,7 @@ (define-public icedtea-8
                    ,@(if ,(target-ppc32?)
                        `("--enable-jfr=no")
                        '())
+                   "--disable-docs"     ; This phase can take hours on slow machines.
                    "--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 177 days ago.

Previous Next


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