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

Gradle 8.0-rc-1: Unable to expand TAR '....tar.gz' #28

Closed
dubinsky opened this issue Jan 2, 2023 · 1 comment
Closed

Gradle 8.0-rc-1: Unable to expand TAR '....tar.gz' #28

dubinsky opened this issue Jan 2, 2023 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@dubinsky
Copy link

dubinsky commented Jan 2, 2023

I am seeing a failure with Gradle 8.0-rc-1:

$ ./gradlew installSass --stacktrace
...
> Task installSass FAILED
...
> Unable to expand TAR '.../.gradle/sass/archive/dart-sass-1.57.1-linux-x64.tar.gz'
    The tar might be corrupted or it is compressed in an unexpected way.
    By default the tar tree tries to guess the compression based on the file extension.
    If you need to specify the compression explicitly please refer to the DSL reference.
...
Caused by: java.io.IOException: Not a TAR archive
        at org.gradle.api.internal.file.archive.TarFileTree.checkFormat(TarFileTree.java:178)
        at org.gradle.api.internal.file.archive.TarFileTree.visitImpl(TarFileTree.java:103)
        at org.gradle.api.internal.file.archive.TarFileTree.lambda$visit$0(TarFileTree.java:88)
        ... 63 more
@EtienneMiret
Copy link
Owner

I can confirm this. However, everything is fine with Gradle 8.0 and 8.1.1. I guess this was a bug in Gradle 8.0-rc-1 itself, but I won’t spend time investigate.

@EtienneMiret EtienneMiret added bug Something isn't working wontfix This will not be worked on labels Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants