Skip to content

Mandrel 25+17 fails to build due to missing module org.graalvm.nativeimage.shaded.capnproto #838

@jerboaa

Description

@jerboaa

Description

Recent builds of GraalVM for JDK 25 fail with the following error:

Error occurred during initialization of boot layer
java.lang.module.FindException: Module org.graalvm.nativeimage.shaded.capnproto not found, required by org.graalvm.nativeimage.builder
Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Failed, exit code: 1
	at OperatingSystem.exec(build.java:1878)
	at build.buildAgents(build.java:306)
	at build.main(build.java:249)
Caused by: java.lang.RuntimeException: Failed, exit code: 1
	at OperatingSystem.exec(build.java:1867)
	at build.buildAgents(build.java:306)
	at build.main(build.java:249)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.execute(SourceLauncher.java:254)
	at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.run(SourceLauncher.java:138)
	at jdk.compiler/com.sun.tools.javac.launcher.SourceLauncher.main(SourceLauncher.java:76)

This is using JDK 25+18 and Graal master at revision 6da4e92

Upstream GraalVM uses JDK 25+17 still it seems. The fix might be to remove the dependency or do a similar fix to #834

Metadata

Metadata

Assignees

Labels

affects/25.0Mandrel 25.0bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions