# VTK 8.2 Build Fails During External Data File Download

**URL:** https://discourse.vtk.org/t/vtk-8-2-build-fails-during-external-data-file-download/1275
**Category:** Support
**Created:** [July 5, 2019, 1:26am UTC](https://discourse.vtk.org/t/vtk-8-2-build-fails-during-external-data-file-download/1275 "2019-07-05T01:26:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Rogermc](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@Rogermc](https://discourse.vtk.org/u/Rogermc)
#### Post date: [July 5, 2019, 1:26am UTC](https://discourse.vtk.org/t/vtk-8-2-build-fails-during-external-data-file-download/1275/1 "2019-07-05T01:26:13Z")

</div>

Mac Mini  
OSX 10.14.5  
XCode 10.2.1

My Xcode build of git cloned [https://gitlab.kitware.com/vtk/vtk](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](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](https://data.kitware.com/api/v1/file/hashsum/SHA512/4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488/download) (“Timeout was reached”)

[https://www.vtk.org/files/ExternalData/SHA512/4a87d62ac2b89cd1335f57e97010c717bbf70843f1c1314cc23e090240e92350d0cf89e99641ebfc018af86a7707bd973497484f27adf2b02f85b48254731488](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.

---

<div class="post-metadata">

### Author: ![Rogermc](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/r/838e76/32.png) [@Rogermc](https://discourse.vtk.org/u/Rogermc)
#### Post date: [July 6, 2019, 5:13am UTC](https://discourse.vtk.org/t/vtk-8-2-build-fails-during-external-data-file-download/1275/2 "2019-07-06T05:13:21Z")

</div>

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

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [July 8, 2019, 10:47am UTC](https://discourse.vtk.org/t/vtk-8-2-build-fails-during-external-data-file-download/1275/3 "2019-07-08T10:47:11Z")

</div>

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