I managed to solve the issue with the Java stack size for the s390x
builder. The new koji scratch build succeeded, and now the review
should be quick and easy:
https://bugzilla.redhat.com/show_bug.cgi?id=1803528
Iñaki
On Tue, 18 Feb 2020 at 20:23, Iñaki Ucar <iucar(a)fedoraproject.org> wrote:
On Tue, 18 Feb 2020 at 08:39, Iñaki Ucar <iucar(a)fedoraproject.org> wrote:
>
> On Tue, 18 Feb 2020 at 01:11, Jerry James <loganjerry(a)gmail.com> wrote:
> >
> > On Sun, Feb 16, 2020 at 10:06 AM Iñaki Ucar <iucar(a)fedoraproject.org>
wrote:
> > > If anyone is interested in pushing this forward, I can review
> > > something in exchange. Note that the koji scratch build fails on s390x
> > > due to a Java stack overflow. Does anyone know what's the default in
> > > that arch and how to increase it?
> >
> > You can find the default like this:
> >
> > java -XX:+PrintFlagsFinal
> >
> > Then look for ThreadStackSize in the output. It is 1024 on my x86_64
> > machine with Java 8, and 1536 on an s390x machine where I have an
> > account. Pass -Xss to java or -J-Xss to javac to increase it.
>
> Thanks, Jerry. Is there an environment variable to do that? In this
> package there is an "ant" invocation buried in the cmake-based build
> system, so I tried
>
> %ifarch s390 s390x
> export _JAVA_OPTIONS="-Xss16M"
> %endif
>
> with no luck. The compilation still fails with a Java stack overflow,
> so I suppose that this env variable is not being used.
I tried also exporting ANT_OPTS="-Xss..." with no luck either. I'm
getting out of ideas.
And still the package needs a reviewer. :) :)
Iñaki
--
Iñaki Úcar