Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ants: bump version and fix sandboxed build #29538

Merged
merged 1 commit into from Sep 21, 2017

Conversation

bcdarwin
Copy link
Member

@bcdarwin bcdarwin commented Sep 18, 2017

Motivation for this change
  • fix sandboxed build failure;
  • bump version

for 17.09 release (#28643)

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • [NA] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • [NA] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@fpletz fpletz added this to the 17.09 milestone Sep 18, 2017
@fpletz
Copy link
Member

fpletz commented Sep 19, 2017

Fails to build for me:

[ 98%] Linking CXX executable CompositeTransformUtilTestDriver
[ 98%] Built target CompositeTransformUtilTestDriver
Scanning dependencies of target ANTSFetchData
[ 98%] Generating /tmp/nix-build-ANTs-2.2.0.drv-0/ANTs-37ad4e20be3a5ecd26c2e4e41b49e778a0246c3d-src/build/ExternalData/TestData/Data/r16slice.nii.gz
-- Fetching "file:////tmp/nix-build-ANTs-2.2.0.drv-0/ANTs-37ad4e20be3a5ecd26c2e4e41b49e778a0246c3d-src/.ExternalData/MD5/37aaa33029410941bf4affff0479fa18"
-- Fetching "http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18"
-- Fetching "http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18&algorithm=MD5"
-- Fetching "http://www.itk.org/files/ExternalData/MD5/37aaa33029410941bf4affff0479fa18"
CMake Error at /tmp/nix-build-ANTs-2.2.0.drv-0/ANTs-37ad4e20be3a5ecd26c2e4e41b49e778a0246c3d-src/CMake/ExternalData.cmake:743 (message):
  Object MD5=37aaa33029410941bf4affff0479fa18 not found at:

    file:////tmp/nix-build-ANTs-2.2.0.drv-0/ANTs-37ad4e20be3a5ecd26c2e4e41b49e778a0246c3d-src/.ExternalData/MD5/37aaa33029410941bf4affff0479fa18 ("Couldn't read a file:// file")
    http://slicer.kitware.com/midas3/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18 ("Couldn't resolve host name")
    http://midas3.kitware.com/midas/api/rest?method=midas.bitstream.download&checksum=37aaa33029410941bf4affff0479fa18&algorithm=MD5 ("Couldn't resolve host name")
    http://www.itk.org/files/ExternalData/MD5/37aaa33029410941bf4affff0479fa18 ("Couldn't resolve host name")
Call Stack (most recent call first):
  /tmp/nix-build-ANTs-2.2.0.drv-0/ANTs-37ad4e20be3a5ecd26c2e4e41b49e778a0246c3d-src/CMake/ExternalData.cmake:765 (_ExternalData_download_object)


make[2]: *** [Examples/TestSuite/CMakeFiles/ANTSFetchData.dir/build.make:68: ExternalData/TestData/Data/r16slice.nii.gz.md5-stamp] Error 1
make[1]: *** [CMakeFiles/Makefile2:9377: Examples/TestSuite/CMakeFiles/ANTSFetchData.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
builder for ‘/nix/store/29vmlr8fp39l9z9w0cn6d2np5ikki2j7-ANTs-2.2.0.drv’ failed with exit code 2
error: build of ‘/nix/store/29vmlr8fp39l9z9w0cn6d2np5ikki2j7-ANTs-2.2.0.drv’ failed

@bcdarwin
Copy link
Member Author

@fpletz Should be fixed now, sorry.

@joachifm joachifm merged commit 44d2eaa into NixOS:master Sep 21, 2017
@bcdarwin bcdarwin deleted the update-and-fix-ANTS branch September 21, 2017 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants