unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: 67010@debbugs.gnu.org
Cc: "Efraim Flashner" <efraim@flashner.co.il>,
	"Björn Höfling" <bjoern.hoefling@bjoernhoefling.de>,
	"Julien Lepiller" <julien@lepiller.eu>
Subject: [bug#67010] [PATCH 1/2] gnu: icedtea-8: Fix building on powerpc-linux.
Date: Thu,  9 Nov 2023 08:41:08 +0200	[thread overview]
Message-ID: <54189ddc01c58bc613053c8df1eb02d6c28325fd.1699511272.git.efraim@flashner.co.il> (raw)
In-Reply-To: <cover.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(+)

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





  reply	other threads:[~2023-11-09  6:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09  6:37 [bug#67010] [PATCH 0/2] icedtea-8 powerpc-linux patches Efraim Flashner
2023-11-09  6:41 ` Efraim Flashner [this message]
2023-11-09  6:41 ` [bug#67010] [PATCH 2/2] gnu: icedtea-8: Don't build the docs Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54189ddc01c58bc613053c8df1eb02d6c28325fd.1699511272.git.efraim@flashner.co.il \
    --to=efraim@flashner.co.il \
    --cc=67010@debbugs.gnu.org \
    --cc=bjoern.hoefling@bjoernhoefling.de \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).