ANTsX / ANTsRCore

Rcpp bindings for the C++ ANTs library used by the ANTsR package
9 stars 9 forks source link

Precise vs. Trusty Travis #24

Closed muschellij2 closed 5 years ago

muschellij2 commented 7 years ago

For at least a month I've been trying to figure out why my builds have been failing for ANTsRCore vs. stnava/ANTsRCore. It turns out that my builds were upgrading to Linux Trusty but @stnava on Travis kept using precise. I don't know why the Ubuntu version made such a difference, but could have been the clang compiler.

For your builds, it has:

LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix

I was getting errors with clang such as

clang++ -std=gnu++11 -I/home/travis/R-bin/lib/R/include -DNDEBUG -I/home/travis/R/Library/ITKR/libs/include/ITK-4.12/ -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Examples/include/   -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Utilities -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Examples/ -I../inst/include/  -I/home/travis/build/muschellij2/ANTsRCore.Rcheck/00_pkg_src/ANTsRCore/src/ants/Tensor/  -I"/home/travis/R/Library/Rcpp/include" -I"/home/travis/R/Library/ITKR/include" -I/home/travis/R-bin/include   -fpic  -g -O2 -c iMathInterface.cpp -o iMathInterface.o
clang: error: unable to execute command: Killed
clang: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 3.5.0 (tags/RELEASE_350/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang: note: diagnostic msg: 
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: /tmp/iMathInterface-176f0f.cpp
clang: note: diagnostic msg: /tmp/iMathInterface-176f0f.sh
clang: note: diagnostic msg: 

from https://travis-ci.org/muschellij2/ANTsRCore/jobs/262035390.

I am going to close the previous PR and then push my new one after the checks are done.

muschellij2 commented 5 years ago

No longer using precise on Travis as they have moved away from that.