Skip to content

Instantly share code, notes, and snippets.

@ilovezfs
Created September 3, 2016 16:41
Show Gist options
  • Save ilovezfs/43068bcbd2aaf678017fbf88f7f62d5c to your computer and use it in GitHub Desktop.
Save ilovezfs/43068bcbd2aaf678017fbf88f7f62d5c to your computer and use it in GitHub Desktop.
cereal build failure <= macOS 10.9
==> Checking out branch develop
git checkout -f develop --
Already on 'develop'
Your branch is up-to-date with 'origin/develop'.
==> cmake .. -DCMAKE_C_FLAGS_RELEASE=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/cereal/HEAD-1e5e648 -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
-- The C compiler identification is AppleClang 5.1.0.5030040
-- The CXX compiler identification is AppleClang 5.1.0.5030040
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:48 (find_package)
CMake Warning at /usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:743 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:842 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/Cellar/cmake/3.6.1/share/cmake/Modules/FindBoost.cmake:1395 (_Boost_MISSING_DEPENDENCIES)
CMakeLists.txt:48 (find_package)
-- Could NOT find Boost
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/cereal-20160903-81215-l0wzgn/build
==> make
/usr/local/Cellar/cmake/3.6.1/bin/cmake -H/tmp/cereal-20160903-81215-l0wzgn -B/tmp/cereal-20160903-81215-l0wzgn/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.6.1/bin/cmake -E cmake_progress_start /tmp/cereal-20160903-81215-l0wzgn/build/CMakeFiles /tmp/cereal-20160903-81215-l0wzgn/build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make -f sandbox/CMakeFiles/sandbox.dir/build.make sandbox/CMakeFiles/sandbox.dir/depend
cd /tmp/cereal-20160903-81215-l0wzgn/build && /usr/local/Cellar/cmake/3.6.1/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/cereal-20160903-81215-l0wzgn /tmp/cereal-20160903-81215-l0wzgn/sandbox /tmp/cereal-20160903-81215-l0wzgn/build /tmp/cereal-20160903-81215-l0wzgn/build/sandbox /tmp/cereal-20160903-81215-l0wzgn/build/sandbox/CMakeFiles/sandbox.dir/DependInfo.cmake --color=
Scanning dependencies of target sandbox
make -f sandbox/CMakeFiles/sandbox.dir/build.make sandbox/CMakeFiles/sandbox.dir/build
[ 9%] Building CXX object sandbox/CMakeFiles/sandbox.dir/sandbox.cpp.o
cd /tmp/cereal-20160903-81215-l0wzgn/build/sandbox && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -std=c++11 -stdlib=libc++ -I/tmp/cereal-20160903-81215-l0wzgn/./include -I/tmp/cereal-20160903-81215-l0wzgn/sandbox/sandbox_shared_lib -Wall -Werror -g -Wextra -Wshadow -pedantic -Os -w -pipe -march=native -mmacosx-version-min=10.8 -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.8 -std=gnu++11 -o CMakeFiles/sandbox.dir/sandbox.cpp.o -c /tmp/cereal-20160903-81215-l0wzgn/sandbox/sandbox.cpp
In file included from /tmp/cereal-20160903-81215-l0wzgn/sandbox/sandbox.cpp:35:
In file included from /tmp/cereal-20160903-81215-l0wzgn/./include/cereal/types/memory.hpp:422:
In file included from /tmp/cereal-20160903-81215-l0wzgn/./include/cereal/types/polymorphic.hpp:39:
/tmp/cereal-20160903-81215-l0wzgn/./include/cereal/details/polymorphic_impl.hpp:227:61: error: chosen constructor is explicit in copy-initialization
auto & derivedMap = baseMap.insert( lb, {baseKey, {}} )->second;
^~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/map:838:14: note: constructor declared here
explicit map(const key_compare& __comp = key_compare())
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/utility:262:37: note: passing argument to parameter '__y' here
pair(const _T1& __x, const _T2& __y)
^
1 error generated.
make[2]: *** [sandbox/CMakeFiles/sandbox.dir/sandbox.cpp.o] Error 1
make[1]: *** [sandbox/CMakeFiles/sandbox.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment