VTK 8.2 Build Fails During External Data File Download

(Roger Mc Murtrie) #1

Mac Mini
OSX 10.14.5
XCode 10.2.1

My Xcode build of git cloned https://gitlab.kitware.com/vtk/vtk fails at:

Generating /Applications_Packages/VTK/vtk-build/ExternalData/Testing/Data/MotionFX/2_gears/Big_Gear_scale.stl

/Applications_2/CMake.app/Contents/bin/cmake -Drelative_top=/Applications_Packages/VTK/vtk-build -Dfile=/Applications_Packages/VTK/vtk-build/ExternalData/Testing/Data/MotionFX/2_gears/Big_Gear_scale.stl -Dname=/Applications_Packages/VTK/vtk/Testing/Data/MotionFX/2_gears/Big_Gear_scale.stl -Dexts=.sha512 -DExternalData_ACTION=fetch -DExternalData_CONFIG=/Applications_Packages/VTK/vtk-build/VTKData_config.cmake -P /Applications_2/CMake.app/Contents/share/cmake-3.14/Modules/ExternalData.cmake

– Fetching “https://data.kitware.com/api/v1/file/hashsum/SHA512/4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488/download

This download fails at – [download 62% complete] when trying to download /ExternalData/Testing/Data/MotionFX/2_gears/Big_Gear_scale.stl-hash-stamp
with error message:
CMake Error at /Applications_2/CMake.app/Contents/share/cmake-3.14/Modules/ExternalData.cmake:1121 (message):
Object
SHA512=4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488
not found at:

https://data.kitware.com/api/v1/file/hashsum/SHA512/4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488/download (“Timeout was reached”)

https://www.vtk.org/files/ExternalData/SHA512/4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488 (“Timeout was reached”)

make: *** [/Applications_Packages/VTK/vtk-build/ExternalData/Testing/Data/MotionFX/2_gears/Big_Gear_scale.stl-hash-stamp] Error 1

Attempt to download Big_Gear_scale.stl directly also fails with Network Connection Was Lost after 6.4 MB of 11.2 MB have been received.

(Roger Mc Murtrie) #2

Fixed, but I don’t know why.
Build worked today after git pull which updated vtkDICOM.remote.cmake.

(Ben Boeckel) #3

I suspect it was a spurious network issue since it got 62%, but then failed on a timeout, rather than something related to vtkDICOM.