Skip to content
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

applyPatches on a fork of a fork fails with java.util.zip.ZipException: invalid code lengths set #149

Open
Malfrador opened this issue Apr 13, 2022 · 1 comment

Comments

@Malfrador
Copy link
Member

When trying to use applyPatches to build a fork of a fork (Pufferfish in this case), paperweight fails with a java.util.zip.ZipException: invalid code lengths set.

My build.gradle.kts: https://pastes.dev/r8nL5VhW6X
Full log with --info --stacktrace: https://pastes.dev/zJxfUUBTSb
Running gradle with --debug was not possible due to gradle running out of memory (even though I gave it 16 GB using org.gradle.jvmargs= in gradle.properties

Gradle is running in WSL2 with openjdk 17.0.2. McDevImports.txt is empty and there are no patches currently.
Building Paper itself in the same environment works fine, as does building a direct fork of paper

The .zip and .jar files in .gradle\caches\paperweight\upstreams\paper\.gradle\caches\paperweight\taskCache seem to be valid according to 7zips "Test zip file" feature.

@AlexisBG06
Copy link

I have this issue too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants