GuanceCloud / dd-trace-java

Datadog APM client for Java
https://docs.datadoghq.com/tracing/languages/java
Apache License 2.0
9 stars 3 forks source link

AArch64平台下安装不成功的问题 #62

Closed kyriertan closed 4 months ago

kyriertan commented 9 months ago

进入项目目录,使用 sudo ./gradlew build构建包,出现如下错误: [tanr@localhost dd-trace-java-master]$ sudo ./gradlew build

Configure project : Failed to open repository, trying to work without it org.eclipse.jgit.errors.RepositoryNotFoundException: repository not found: /home/tanr/dev_space/dd_trace_java/guancecloud/dd-trace-java-master Couldn't perform is legacy DefTagname Repository command on uninitialized repository Could not resolve current position on uninitialized repository, returning default Could not resolve current position on uninitialized repository, returning default Couldn't perform check uncommitted changes command on uninitialized repository

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

2: Task failed with an exception.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD FAILED in 1m 50s 14 actionable tasks: 10 executed, 4 from cache

lrwh commented 9 months ago

主要问题是环境没有配置好,参考 ddtrace 系列篇之 dd-trace-java 项目编译