Baselines not extracting on linux
I'm using Ubuntu 18.04 64-bit, cmake version 3.10.2, openjdk version "1.8.0_171". I'm trying to build pulse with the scenarios and baselines, using the cmake command:
cmake -DCMAKE_BUILD_TYPE:STRING=Release -DPULSE_DOWNLOAD_BASELINES:BOOL=ON ../engine
The engine itself builds correctly, but cmake fails to extract the scenarios:
Unzipping scenarios/anesthesiamachine/EndotrachealTubeLeakVaried.zip CMake Error: Problem with archive_write_header(): Can't replace existing directory with non-directory CMake Error: Current file: scenarios/anesthesiamachine/ CMake Error: Problem extracting tar: /home/jmano/physiology/builds/Pulse/verification/scenarios/anesthesiamachine/EndotrachealTubeLeakVaried.zip verification/CMakeFiles/UpdateVerification.dir/build.make:57: recipe for target 'UpdateVerification' failed make[6]: *** [UpdateVerification] Error 1 CMakeFiles/Makefile2:870: recipe for target 'verification/CMakeFiles/UpdateVerification.dir/all' failed make[5]: *** [verification/CMakeFiles/UpdateVerification.dir/all] Error 2 CMakeFiles/Makefile2:877: recipe for target 'verification/CMakeFiles/UpdateVerification.dir/rule' failed make[4]: *** [verification/CMakeFiles/UpdateVerification.dir/rule] Error 2 Makefile:405: recipe for target 'UpdateVerification' failed make[3]: *** [UpdateVerification] Error 2 [100%] Built target PulseData
My gut feeling it that cmake itself doesn't like that the various scenario zip files share the same nested directory structure internally, but I'm at a loss as to why nobody else has seen this issue.