Created attachment 835354 [details] build.log Description of problem: freeipa fails to build on ppc64, but completes on ppc(32). There are many stack overflow errors in the build log (attached) Version-Release number of selected component (if applicable): freeipa-3.3.3-2.fc20 How reproducible: always Steps to Reproduce: 1. ppc-koji build --scratch f20 freeipa-3.3.3-2.fc20.src.rpm 2. 3. Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1568529
Created attachment 835355 [details] root.log
Petr1, any idea about this bug? This is in the rhino part.
Default Java Stack size is not large enough on some archs/configuration. This is most likely the case. We should fix it by this patch which I've created in July: https://www.redhat.com/archives/freeipa-devel/2013-July/msg00393.html
Fixed upstream: commit e1a7c33cced24eecfeba2fd1152e5cabe3f42d23 Author: Martin Kosek <mkosek> Date: Fri Dec 13 15:26:03 2013 +0100 Increase Java stack size on PPC platforms Wit the default stack size, rhino segfaulted on PPC platforms. https://bugzilla.redhat.com/show_bug.cgi?id=1040576 commit 737922c563e684edb451f6541665d0ce842e207e Author: Petr Vobornik <pvoborni> Date: Fri Dec 13 15:25:00 2013 +0100 Increase stack size for Web UI builder Web UI build fails on some architectures or configuration due to StackOverflow. This patch increases the stack size to solve it. 512k is usually enough but we encountered fail on ppc64 even with 2m, therefore the 8m. The build is single threaded so it shouldn't waste much memory.
freeipa-3.3.3-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/freeipa-3.3.3-3.fc20
Package freeipa-3.3.3-3.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeipa-3.3.3-3.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23354/freeipa-3.3.3-3.fc20 then log in and leave karma (feedback).
same problem exists on s390/s390x arches
Do you have any logs or advise how to improve the situation? I tested the latest srpm and the build worked: $ ppc-koji build --scratch f20 freeipa-3.3.3-3.fc20.src.rpm Uploading srpm: freeipa-3.3.3-3.fc20.src.rpm [====================================] 100% 00:00:17 4.42 MiB 255.18 KiB/sec Created task: 1600018 Task info: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1600018 Watching tasks (this may be safely interrupted)... ... 1600018 build (f20, freeipa-3.3.3-3.fc20.src.rpm) completed successfully
(In reply to Martin Kosek from comment #8) > Do you have any logs or advise how to improve the situation? I tested the > latest srpm and the build worked: > > $ ppc-koji build --scratch f20 freeipa-3.3.3-3.fc20.src.rpm > Uploading srpm: freeipa-3.3.3-3.fc20.src.rpm > [====================================] 100% 00:00:17 4.42 MiB 255.18 > KiB/sec > Created task: 1600018 > Task info: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1600018 > Watching tasks (this may be safely interrupted)... > ... > 1600018 build (f20, freeipa-3.3.3-3.fc20.src.rpm) completed successfully I mean the snippet bellow is required, not sure how it will behave on aarch64 @@ -366,7 +366,7 @@ done # Fedora spec file only: END %build -%ifarch ppc %{power64} +%ifarch ppc %{power64} s390 s390x # UI compilation segfaulted on ppc platforms when stack was lower (#1040576) export JAVA_STACK_SIZE="8m" %endif
scratch build with fix applied - http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1317666 without the fix - http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=1316165 please apply and build the fix in both master and f20 branches
Makes sense (I wonder why I read "s390" as "ppc"). I will apply this fix and build again.
Package freeipa-3.3.3-4.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeipa-3.3.3-4.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-23354/freeipa-3.3.3-4.fc20 then log in and leave karma (feedback).
freeipa-3.3.3-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.