-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create native debug build in Gradle #19079
Comments
/cc @evanchooly, @glefloch, @quarkusio/devtools |
I was not able to reproduce this with a new project downloaded from code.quarkus.io |
Which means? |
That you'll need to attach a sample project and provide more information for us |
I just tried to download a new project from code.quarkus.io. Here the problem happens too.
|
I can't reproduce it. Maybe @glefloch can or has an idea about what might be going on |
I can reproduce the error when adding the @geoand should it be generated by the |
The fact that the .debug file is not found can, according to the documentation, also be due to the fact that "objcopy" is not installed or not in the PATH. I have encountered this error before. |
I'll take a look |
I was able to reproduce it and I'll come up with a fix soon |
#19087 takes care of the issue |
Ensure that building native image doesn't fail when objcopy is missing
Fixes: quarkusio#19079 (cherry picked from commit 0e46d69)
Describe the bug
I wanted to create a native debug build in Gradle. I attached the following arguments to the 'build' task:
-Dquarkus.package.type=native -Dquarkus.native.debug.enabled=true
However, the following exception happens at the end of the build:
Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
Darwin hostname 20.6.0 Darwin Kernel Version 20.6.0: Wed Jun 23 00:26:31 PDT 2021; root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64
Output of
java -version
openjdk version "11.0.12" 2021-07-20 OpenJDK Runtime Environment GraalVM CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08) OpenJDK 64-Bit Server VM GraalVM CE 21.2.0 (build 11.0.12+6-jvmci-21.2-b08, mixed mode, sharing)
GraalVM version (if different from Java)
No response
Quarkus version or git rev
2.0.3.Final
Build tool (ie. output of
mvnw --version
orgradlew --version
)------------------------------------------------------------ Gradle 7.1.1 ------------------------------------------------------------ Build time: 2021-07-02 12:16:43 UTC Revision: 774525a055494e0ece39f522ac7ad17498ce032c Kotlin: 1.4.31 Groovy: 3.0.7 Ant: Apache Ant(TM) version 1.10.9 compiled on September 27 2020 JVM: 11.0.12 (GraalVM Community 11.0.12+6-jvmci-21.2-b08) OS: Mac OS X 11.5 x86_64
Additional information
No response
The text was updated successfully, but these errors were encountered: