Tests fail on conda-forge
https://github.com/conda-forge/bob.io.base-feedstock/pull/14 ping @bob
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -Wno-strict-aliasing -DBOB_EXT_MODULE_PREFIX="bob.io.base" -DBOB_EXT_MODULE_NAME="_test" -DBOB_EXT_ENTRY_NAME=init_test -DBOB_EXT_MODULE_VERSION="2.0.11" -DHAVE_BOOST=1 -DBOOST_VERSION="1.61.0" -DHAVE_BLITZ=1 -DBLITZ_VERSION="0.10" -DHAVE_HDF5=1 -DHDF5_VERSION="1.8.16" -DPY_ARRAY_UNIQUE_SYMBOL=BOB_NUMPY_C_API -DNO_IMPORT_ARRAY=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include -I/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/blitz/include -I/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/extension/include -I/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include -I/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/include/python2.7 -c bob/io/base/test.cpp -o build/temp.linux-x86_64-2.7/bob/io/base/test.o -std=c++0x -isystem /opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/numpy/core/include -isystem /opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/include
In file included from /feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/blitz_array.h:20:0,
from /feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/File.h:16,
from /feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/api.h:19,
from bob/io/base/test.cpp:8:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In instantiation of ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<float>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:36:42: required from ‘blitz::Array<T_numtype, 1> bob::core::array::cast(const blitz::Array<T_numtype1, 1>&) [with T = short unsigned int; U = std::complex<float>]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/array_utils.h:117:76: required from ‘blitz::Array<T, N> bob::io::base::array::cast(const bob::io::base::array::interface&) [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/blitz_array.h:247:53: required from ‘blitz::Array<T, N> bob::io::base::array::blitz_array::cast() const [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/File.h:106:30: required from ‘blitz::Array<T, N> bob::io::base::File::cast(size_t) [with T = short unsigned int; int N = 1; size_t = long unsigned int]’
bob/io/base/test.cpp:46:65: required from here
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:23:30: error: invalid static_cast from type ‘const std::complex<float>’ to type ‘short unsigned int’
return static_cast<T>(u);
^
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In instantiation of ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<double>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:36:42: required from ‘blitz::Array<T_numtype, 1> bob::core::array::cast(const blitz::Array<T_numtype1, 1>&) [with T = short unsigned int; U = std::complex<double>]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/array_utils.h:119:77: required from ‘blitz::Array<T, N> bob::io::base::array::cast(const bob::io::base::array::interface&) [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/blitz_array.h:247:53: required from ‘blitz::Array<T, N> bob::io::base::array::blitz_array::cast() const [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/File.h:106:30: required from ‘blitz::Array<T, N> bob::io::base::File::cast(size_t) [with T = short unsigned int; int N = 1; size_t = long unsigned int]’
bob/io/base/test.cpp:46:65: required from here
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:23:30: error: invalid static_cast from type ‘const std::complex<double>’ to type ‘short unsigned int’
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In instantiation of ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<long double>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:36:42: required from ‘blitz::Array<T_numtype, 1> bob::core::array::cast(const blitz::Array<T_numtype1, 1>&) [with T = short unsigned int; U = std::complex<long double>]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/array_utils.h:121:82: required from ‘blitz::Array<T, N> bob::io::base::array::cast(const bob::io::base::array::interface&) [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/blitz_array.h:247:53: required from ‘blitz::Array<T, N> bob::io::base::array::blitz_array::cast() const [with T = short unsigned int; int N = 1]’
/feedstock_root/build_artefacts/work/bob.io.base-2.0.11/bob/io/base/include/bob.io.base/File.h:106:30: required from ‘blitz::Array<T, N> bob::io::base::File::cast(size_t) [with T = short unsigned int; int N = 1; size_t = long unsigned int]’
bob/io/base/test.cpp:46:65: required from here
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:23:30: error: invalid static_cast from type ‘const std::complex<long double>’ to type ‘short unsigned int’
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In function ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<float>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:24:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In function ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<double>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:24:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h: In function ‘T bob::core::array::scalar_cast(const U&) [with T = short unsigned int; U = std::complex<long double>]’:
/opt/conda/envs/_build_placehold_placehold_placehold_placehold_placehold_placeho/lib/python2.7/site-packages/bob/core/include/bob.core/cast.h:24:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
error: command 'gcc' failed with exit status 1