[PATCH 0/2] icedtea-8 powerpc-linux patches

  • Open
  • quality assurance status badge
Details
One participant
  • Efraim Flashner
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal

Debbugs page

Efraim Flashner wrote 1 years ago
(address . guix-patches@gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
cover.1699511272.git.efraim@flashner.co.il
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@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
Efraim Flashner wrote 1 years ago
[PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.
(address . 67010@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
54189ddc01c58bc613053c8df1eb02d6c28325fd.1699511272.git.efraim@flashner.co.il
* 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(+)

Toggle diff (19 lines)
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@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
Efraim Flashner wrote 1 years ago
[PATCH 2/2] gnu: icedtea-8: Don't build the docs.
(address . 67010@debbugs.gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
1661b7ddd619905b5b876a29aa031ea2b6e45e33.1699511272.git.efraim@flashner.co.il
* 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(+)

Toggle diff (16 lines)
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@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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67010@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67010
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help