Nightlies MacOS SegFault
With this MR bob.devtools!203 (merged) the Seg.fault was solved for individual packages. However, the problem still remains with nightly builds.
https://gitlab.idiap.ch/bob/nightlies/-/jobs/221664
Looking at the logs there are still some references pointing to 10.9 sdk
.
creating build/temp.macosx-10.9-x86_64-3.7/bob/blitz
x86_64-apple-darwin13.4.0-clang -fno-strict-aliasing -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O3 -Wall -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O3 -pipe -fdebug-prefix-map=${SRC_DIR}=/usr/local/src/conda/${PKG_NAME}-${PKG_VERSION} -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -flto -Wl,-export_dynamic -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O3 -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/bob.blitz-2.0.23b0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -isystem $PREFIX/include -Wno-strict-aliasing -DBOB_EXT_MODULE_PREFIX="bob.blitz" -DBOB_EXT_MODULE_NAME="version" -DBOB_EXT_ENTRY_NAME=PyInit_version -DBOB_EXT_MODULE_VERSION="2.0.23b0" -DHAVE_BOOST=1 -DHAVE_BLITZ=1 -DPY_ARRAY_UNIQUE_SYMBOL=BOB_BLITZ_NUMPY_C_API -DNO_IMPORT_ARRAY=1 -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -I/Users/gitlab/builds/b6d3167a/0/bob/nightlies/src/bob/bob.blitz/bob/blitz/include -I$PREFIX/lib/python3.7/site-packages/bob/extension/include -I$PREFIX/include/python3.7m -c bob/blitz/version.cpp -o build/temp.macosx-10.9-x86_64-3.7/bob/blitz/version.o -mmacosx-version-min=10.10 -isysroot /opt/MacOSX10.10.sdk -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -std=c++14 -fmessage-length=0 -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/bob.blitz-2.0.23b0 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -Wno-#warnings -pthread -isystem $PREFIX/lib/python3.7/site-packages/numpy/core/include -isystem $PREFIX/include
or
+CPPFLAGS=-D_FORTIFY_SOURCE=2 -mmacosx-version-min=10.9 -isystem $PREFIX/include
I don't know if these lines have a major impact. However, I don't know where the 10.9 come from.