Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719958 - dev-java/openjfx-11.0.7_p1 gradle fails during build
Summary: dev-java/openjfx-11.0.7_p1 gradle fails during build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-28 19:54 UTC by Iade Gesso
Modified: 2020-04-29 21:05 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge info.txt,11.03 KB, text/plain)
2020-04-28 19:56 UTC, Iade Gesso
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Iade Gesso 2020-04-28 19:54:57 UTC
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...
Comment 1 Iade Gesso 2020-04-28 19:56:17 UTC
Created attachment 635096 [details]
emerge --info
Comment 2 Georgy Yakovlev archtester gentoo-dev 2020-04-28 23:34:41 UTC
what is your TERM value?

I think I should just set TERM=xterm in the ebuild.

try runnin export TERM=xterm
and emerge again.
Comment 3 Iade Gesso 2020-04-29 07:31:51 UTC
(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
Comment 4 Larry the Git Cow gentoo-dev 2020-04-29 21:05:33 UTC
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(-)