Every time I try to emerge dev-java/openjfx-11.0.7_p1 I get a build error due to a fail in the gradle call: emerge -q1 openjfx >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-java/openjfx-11.0.7_p1::gentoo >>> Failed to emerge dev-java/openjfx-11.0.7_p1, Log file: >>> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/build.log' * Package: dev-java/openjfx-11.0.7_p1 * Repository: gentoo * Maintainer: gyakovlev@gentoo.org java@gentoo.org * USE: abi_x86_64 amd64 cpu_flags_x86_sse2 elibc_glibc kernel_linux media userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/lucene-sandbox-7.1.0.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/lucene-sandbox-7.1.0.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/lucene-grouping-7.1.0.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/lucene-grouping-7.1.0.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/lucene-queryparser-7.1.0.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/lucene-queryparser-7.1.0.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/lucene-queries-7.1.0.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/lucene-queries-7.1.0.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/lucene-core-7.1.0.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/lucene-core-7.1.0.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/gunit-3.5.2.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/gunit-3.5.2.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/antlr4-4.7.2-complete.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/antlr4-4.7.2-complete.jar' '/tmp/portage/dev-java/openjfx-11.0.7_p1/distdir/ST4-4.0.8.jar' -> '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/jars/ST4-4.0.8.jar' * Applying disable-buildSrc-tests.patch ... [ ok ] * Applying glibc-compatibility.patch ... [ ok ] * Applying respect-user-cflags.patch ... [ ok ] * Applying use-system-swt-jar.patch ... [ ok ] * Applying wno-error.patch ... [ ok ] * gradle --info --stacktrace --no-build-cache --no-daemon --offline --gradle-user-home /tmp/portage/dev-java/openjfx-11.0.7_p1/temp/gradle_user_home --project-cache-dir /tmp/portage/dev-java/openjfx-11.0.7_p1/temp/gradle_project_cache zips --exclude-task javadoc Initialized native services in: /tmp/portage/dev-java/openjfx-11.0.7_p1/temp/gradle_user_home/native FAILURE: Build failed with an exception. * What went wrong: Could not open terminal for stdout: could not get termcap entry * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org * ERROR: dev-java/openjfx-11.0.7_p1::gentoo failed (compile phase): * gradle failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 4295: Called egradle 'zips' '--exclude-task' 'javadoc' * environment, line 993: Called die * The specific snippet of code: * "${gradle}" "${gradle_args[@]}" ${@} || die "gradle failed" * * If you need support, post the output of `emerge --info '=dev-java/openjfx-11.0.7_p1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-java/openjfx-11.0.7_p1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-11.0.7_p10" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =openjfx-11.0.7_p1 * The complete build log is located at '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/dev-java/openjfx-11.0.7_p1/temp/environment'. * Working directory: '/tmp/portage/dev-java/openjfx-11.0.7_p1/work/rt-11.0.7+1' * S: '/tmp/portage/dev-java/openjfx-11.0.7_p1/work/rt-11.0.7+1' Reproducible: Always Steps to Reproduce: 1. emerge -q1 openjfx Actual Results: Build fails... Expected Results: Build success...
Created attachment 635096 [details] emerge --info
what is your TERM value? I think I should just set TERM=xterm in the ebuild. try runnin export TERM=xterm and emerge again.
(In reply to Georgy Yakovlev from comment #2) > what is your TERM value? > > I think I should just set TERM=xterm in the ebuild. > > try runnin export TERM=xterm > and emerge again. Yes, I can confirm. Executing 'export TERM=xterm' before emerge fixes the issue. Thanks, Iade
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3613d5eee1cdaa0c8465a924818bb1348d39918 commit a3613d5eee1cdaa0c8465a924818bb1348d39918 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2020-04-29 21:00:40 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2020-04-29 21:05:01 +0000 dev-java/openjfx: fix build with uncommon TERM, add -fcommon Closes: https://bugs.gentoo.org/719606 Closes: https://bugs.gentoo.org/719958 Closes: https://bugs.gentoo.org/688894 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> dev-java/openjfx/openjfx-11.0.7_p1.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)