Unable to expand TAR only on MacOS


(Marian Beshay) #1

Gradle 2.3
JVM: 1.8.0_91 (Oracle Corporation 25.91-b14)
OS: Mac OS X 10.12.6 x86_64

  • What went wrong:
    Unable to expand TAR '/Users/…/.gradle/caches/…install-lastSuccessful.tgz’
    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.

Could not copy tar entry /Users/…/.gradle/caches/…/install-lastSuccessful.tgz!include/EXTERN.h to ‘/Users/…/project/build/connect/tmp/expandedArchives/install-lastSuccessful.tgz_9r1up0h9dbd9tvcgcrhefiggw/include/EXTERN.h’.