Summary: | sys-apps/baselayout-java: JAVAC env variable clashes with Android build system | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Einar Reitan <john.einar> |
Component: | Current packages | Assignee: | Java team <java> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | gabemarcano, kaikaikai, tanekliang, xavier.miller |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
John Einar Reitan
2018-02-08 07:29:18 UTC
Created attachment 518544 [details]
emerge --info
the LEX environment variable is also problematic. If I unset JAVAC unset JAVA_HOME unset JDK_HOME unset LEX the build scripts run fine Guess Gentoo should have established a common prefix to avoid such clashes. JAVAC is now unset by soong upstream: https://android.googlesource.com/platform/build/soong/+/7b067fb75 Please confirm this fixes the issue for you. This does not fix the issue for me alone, as I also have to unset LEX for the build process to continue. (In reply to Xavier Miller from comment #2) > the LEX environment variable is also problematic. > > If I > > unset JAVAC > unset JAVA_HOME > unset JDK_HOME > unset LEX > > > the build scripts run fine I tried to compile LineageOS 20.0 and had a similar problem. This solution worked for me |