Closed psibre closed 5 years ago
Also, on OSX 10.14 Mojave, this can happen:
> Task :praat
Checksumming Protective Master Boot Record (MBR: 0)…
Protective Master Boot Record (MBR: : checksum failed with error 9.
calculated CRC32 $00000000, expected CRC32 $708B4783
hdiutil: attach failed - Bad file descriptor
> Task :praat FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':praat'.
> Process 'command 'hdiutil'' 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 get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 41s
Original error also observed on OSX 10.11 El Capitan (though rarely).
On MacOSX 10.12 Sierra, if multiple Gradle projects using this plugin are built in parallel, a race condition can appear where the Praat binary cannot be extracted and the build fails: