Closed
Bug 1919850
Opened 1 year ago
Closed 6 months ago
./gradlew :app:installFenixDebug fails Toolchain installation problem
Categories
(Firefox Build System :: Android Studio and Gradle Integration, defect)
Firefox Build System
Android Studio and Gradle Integration
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: tjr, Unassigned)
Details
I've mach bootstrapped and mach built, and I have an emulator running, then I try running ./gradlew :app:installFenixDebug from mobile/android/fenix and get the following error:
./gradlew :app:installFenixDebug
Starting a Gradle Daemon, 2 incompatible and 1 stopped Daemons could not be reused, use --status for details
mozconfig.gradle> Loading mach environment into a gradle extension property
mozconfig.gradle> Loading mach environment into a gradle extension property
mozconfig.gradle> Loading mach environment into a gradle extension property
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Settings file '/home/tom/Documents/moz/mozilla-unified-5/mobile/android/android-components/plugins/publicsuffixlist/settings.gradle' line: 27
* What went wrong:
Error resolving plugin [id: 'mozac.DependenciesPlugin']
> A problem occurred configuring project ':dependencies'.
> Failed to calculate the value of task ':dependencies:compileJava' property 'javaCompiler'.
> Toolchain installation '/usr/lib/jvm/java-21-openjdk-amd64' does not provide the required capabilities: [JAVA_COMPILER]
* 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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@c20891d of type BuildFlowService.Parameters
> A problem occurred configuring project ':dependencies'.
> Failed to calculate the value of task ':dependencies:compileJava' property 'javaCompiler'.
> Toolchain installation '/usr/lib/jvm/java-21-openjdk-amd64' does not provide the required capabilities: [JAVA_COMPILER]
* 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.
==============================================================================
BUILD FAILED in 6s
Comment 1•1 year ago
|
||
The severity field is not set for this bug.
:rsainani, could you have a look please?
For more information, please visit BugBot documentation.
Flags: needinfo?(rsainani)
Updated•1 year ago
|
Flags: needinfo?(rsainani)
Comment 2•6 months ago
|
||
hello, this sounds like an environment issue, i would recommend deleting .mozconfig, rebootstrapping, clobbering and building.
as this is an old env specific issue, i'm going to close this as it seems unlikely to still be an issue. but please reopen if required or reach out in #android-build-help
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•