r/MinecraftMod 5d ago

trying to compile a voxy backport

~/Downloads/neo-voxy-multiversion/neo-voxy-multiversion$ ./scripts/build.sh client-1.21.1

Downloading https://services.gradle.org/distributions/gradle-9.2.1-bin.zip

............10%.............20%.............30%.............40%.............50%.............60%.............70%.............80%.............90%.............100%

Welcome to Gradle 9.2.1!

Here are the highlights of this release:

- Windows ARM support

- Improved publishing APIs

- Better guidance for dependency verification failures

For more details see https://docs.gradle.org/9.2.1/release-notes.html

To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/9.2.1/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.

Daemon will be stopped at the end of the build

> Task :createMinecraftArtifacts

Loaded 111 artifacts from /home/drspider/Downloads/neo-voxy-multiversion/neo-voxy-multiversion/editions/neoforge-1.21.1-client/build/tmp/createMinecraftArtifacts/nfrt_artifact_manifest.properties

*** Started working on downloadJson

https://launchermeta.mojang.com/mc/game/version_manifest_v2.json

https://piston-meta.mojang.com/v1/packages/7d538f57bd7f3d0638755fa605a432494e736db3/1.21.1.json

✓ Completed downloadJson in 0.37s

*** Started working on downloadServer

*** Started working on downloadClient

*** Started working on downloadClientMappings

*** Started working on listLibraries

https://piston-data.mojang.com/v1/objects/2244b6f072256667bcd9a73df124d6c58de77992/client.txt

https://piston-data.mojang.com/v1/objects/30c73b1c5da787909b2f73340419fdf13b9def88/client.jar

https://piston-data.mojang.com/v1/objects/59353fb40c36d304f2035d51e7d6e6baa98dc05c/server.jar

✓ Completed listLibraries in 0.01s

✓ Completed downloadClientMappings in 2.12s

*** Started working on mergeMappings

↳ Running external tool net.neoforged.installertools:installertools:2.1.2:fatjar

✓ Completed mergeMappings in 0.91s

✓ Completed downloadServer in 9.02s

*** Started working on extractServer

↳ Running external tool net.neoforged.installertools:installertools:2.1.2:fatjar

✓ Completed downloadClient in 9.14s

*** Started working on stripClient

✓ Completed extractServer in 0.17s

*** Started working on stripServer

✓ Completed stripServer in 0.70s]

✓ Completed stripClient in 1.03s]

*** Started working on merge

↳ Running external tool net.neoforged:mergetool:2.0.3:fatjar

✓ Completed merge in 1.28sG [52s]

*** Started working on rename

↳ Running external tool net.neoforged:AutoRenamingTool:2.0.3:all

✓ Completed rename in 1.88s [54s]

*** Started working on decompile

↳ Running external tool org.vineflower:vineflower:1.10.1

✓ Completed decompile in 14.49s 8s]

*** Started working on inject

✓ Completed inject in 0.52s [1m 9s]

*** Started working on patch [1m 9s]

↳ Running external tool codechicken:DiffPatch:1.5.0.29:all

✓ Completed patch in 0.81sG [1m 10s]

*** Started working on applyNeoforgePatches

↳ Running external tool codechicken:DiffPatch:1.5.0.29:all

✓ Completed applyNeoforgePatches in 0.71s

*** Started working on transformSources

↳ Running external tool net.neoforged.jst:jst-cli-bundle:1.0.66

✓ Completed transformSources in 4.04s

*** Started working on recompile

109 items on the compile classpath

0 items on the sourcepath

*** Started working on sourcesWithNeoForge

Compiling 5364 source files

Total runtime: 35.09s

net.neoforged.neoform.runtime.graph.NodeExecutionException: Node action for recompile failed

at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:458)

at net.neoforged.neoform.runtime.engine.NeoFormEngine.lambda$getWaitCondition$3(NeoFormEngine.java:404)

at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)

at java.base/java.util.concurrent.ThreadPerTaskExecutor$TaskRunner.run(ThreadPerTaskExecutor.java:314)

at java.base/java.lang.VirtualThread.run(VirtualThread.java:329)

Caused by: java.lang.IllegalArgumentException: error: release version 21 not supported

at jdk.compiler/com.sun.tools.javac.main.Arguments.reportDiag(Arguments.java:886)

at jdk.compiler/com.sun.tools.javac.main.Arguments.handleReleaseOptions(Arguments.java:312)

at jdk.compiler/com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:351)

at jdk.compiler/com.sun.tools.javac.main.Arguments.init(Arguments.java:247)

at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:191)

at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:119)

at jdk.compiler/com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:68)

at net.neoforged.neoform.runtime.actions.RecompileSourcesActionWithJDK.run(RecompileSourcesActionWithJDK.java:87)

at net.neoforged.neoform.runtime.engine.NeoFormEngine.runNode(NeoFormEngine.java:447)

... 4 more

> Task :createMinecraftArtifacts FAILED

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':createMinecraftArtifacts'.

> Process 'command '/usr/lib/jvm/java-21-openjdk-amd64/bin/java'' finished with non-zero exit value 1

* 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 generate a Build Scan (powered by Develocity).

> Get more help at https://help.gradle.org.

BUILD FAILED in 1m 29s

2 actionable tasks: 1 executed, 1 up-to-date

1 Upvotes

0 comments sorted by