From ed08e3296dad4b31507287e22675f47a7bafa564 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Mon, 10 Jul 2017 12:30:58 +0300 Subject: [PATCH] Increase Java stack size to 16m ppc64-le builds fail with a crash when running Rhino to compile js code. In past such failures were associated with inadequate Java stack size. Test this idea with a larger stack size. --- freeipa.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freeipa.spec b/freeipa.spec index c65b3cc..ac75f7e 100644 --- a/freeipa.spec +++ b/freeipa.spec @@ -857,7 +857,7 @@ cp -r %{_builddir}/freeipa-%{version} %{_builddir}/freeipa-%{version}-python3 %build # UI compilation segfaulted on some arches when the stack was lower (#1040576) -export JAVA_STACK_SIZE="8m" +export JAVA_STACK_SIZE="16m" # PATH is workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1005235 export PATH=/usr/bin:/usr/sbin:$PATH export PYTHON=%{__python2} @@ -1617,6 +1617,7 @@ fi %changelog * Mon Jul 10 2017 Alexander Bokovoy - 4.5.2-3 - Fix build with Samba 4.7.0-RC1 +- Increase java stack for rhino calls to get around crashes on ppc64-le * Tue Jun 20 2017 Tomas Krizek - 4.5.2-2 - Patch: Fix IP address checks