这是indexloc提供的服务,不要输入任何密码
Skip to content

ghidra-11.4.2 fails to build at createPythonTypeStubs with gradle-9. ':8051:compileClasspath' was attempted without an exclusive lock. This is unsafe and not allowed. #8621

@jospezial

Description

@jospezial

Describe the bug

<==-----------> 15% EXECUTING [7m 26s]
> IDLE
> IDLE
Note: /var/tmp/portage/dev-util/ghidra-11.4.2-r1/work/ghidra-Ghidra_11.4.2_build/Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/macho/relocation/AARCH64_MachoRelocationHandler.java uses or overrides a deprecated API that is marked for removal.
2025-11-11T22:38:09.205+0100 [ERROR] [system.err] Note: Recompile with -Xlint:removal for details.
2025-11-11T22:38:09.549+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-11-11T22:38:09.549+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2025-11-11T22:38:09.549+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-11-11T22:38:09.549+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2025-11-11T22:38:09.549+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ':createPythonTypeStubs'.
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Resolution of the configuration ':8051:compileClasspath' was attempted without an exclusive lock. This is unsafe and not allowed.
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > For more information, please refer to https://docs.gradle.org/9.1.0/userguide/viewing_debugging_dependencies.html#sub:resolving-unsafe-configuration-resolution-errors in the Gradle documentation.
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace.
2025-11-11T22:38:09.550+0100 [ERROR] [org.gradle.internal.buildevents.BuildE2025-11-11T22:38:09.535+0100 [WARN] [org.gradle.problems.internal.impl.DefaultProblemsReportCreator] 
[Incubating] Problems report is available at: file:///var/tmp/portage/dev-util/ghidra-11.4.2-r1/work/ghidra-Ghidra_11.4.2_build/build/reports/problems/problems-report.html
2025-11-11T22:38:09.550+0100 [WARN] [org.gradle.internal.featurelifecycle.LoggingDeprecatedFeatureHandler] 
Deprecated Gradle features were used in this build, making it incompatible with Gradle 10.

build.log

To Reproduce
Steps to reproduce the behavior:
emerge ghidra-11.4.2-r1.ebuild from pentoo-overlay on Gentoo with gradle-bin-9.*

build works with gradle-bin-8.14.3

Environment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions