Skip to content

Instantly share code, notes, and snippets.

@myfavouritekk
Created September 28, 2016 06:21
Show Gist options
  • Save myfavouritekk/88aba49a187a886b4868e4fb654ee6c8 to your computer and use it in GitHub Desktop.
Save myfavouritekk/88aba49a187a886b4868e4fb654ee6c8 to your computer and use it in GitHub Desktop.
opencv (homebrew/science/opencv) on macOS 10.12 - Homebrew build logs
Homebrew build logs for homebrew/science/opencv on macOS 10.12
Build date: 2016-09-28 14:20:18
HOMEBREW_VERSION: 1.0.5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: a5565d8fd600bc2883ed76ca8708d08588d1ef3f
Last commit: 22 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cbb00afd9012f979bc9cb080d408ef48a277f7d3
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.10.0 => /usr/local/bin/git
Perl: /usr/local/bin/perl => /usr/local/Cellar/perl/5.24.0_1/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1/bin/ruby
Java: 1.8.0_65, 1.8.0_40
macOS: 10.12-x86_64
Xcode: 8.0
CLT: 8.0.0.0.1.1472435881
X11: 2.7.9 => /opt/X11
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link <formula>` will cause other formulae to detect them during
the `./configure` step. This may cause problems when compiling those
other formulae.
Binaries provided by keg-only formulae may override system binaries
with other strange results.
You may wish to `brew unlink` these brews:
readline
Formula: opencv
Tap: homebrew/science
Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-science/opencv.rb
2016-09-28 14:20:17 +0800
cmake
..
-DCMAKE_C_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_CXX_FLAGS_RELEASE=-DNDEBUG
-DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/opencv/2.4.13_3
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_FRAMEWORK=LAST
-DCMAKE_VERBOSE_MAKEFILE=ON
-Wno-dev
-DCMAKE_OSX_DEPLOYMENT_TARGET=
-DBUILD_ZLIB=OFF
-DBUILD_TIFF=OFF
-DBUILD_PNG=OFF
-DBUILD_OPENEXR=OFF
-DBUILD_JASPER=OFF
-DBUILD_JPEG=OFF
-DJPEG_INCLUDE_DIR=/usr/local/opt/jpeg/include
-DJPEG_LIBRARY=/usr/local/opt/jpeg/lib/libjpeg.dylib
-DBUILD_opencv_python=ON
-DBUILD_opencv_java=OFF
-DWITH_OPENEXR=ON
-DWITH_EIGEN=ON
-DWITH_TBB=OFF
-DWITH_FFMPEG=OFF
-DWITH_QUICKTIME=OFF
-DWITH_1394=OFF
-DWITH_OPENGL=OFF
-DWITH_JASPER=OFF
-DWITH_QT=OFF
-DWITH_GSTREAMER=OFF
-DWITH_XIMEA=OFF
-DWITH_VTK=OFF
-DPYTHON_LIBRARY=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
-DPYTHON_INCLUDE_DIR=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-DCMAKE_PREFIX_PATH=/System/Library/Frameworks/Python.framework/Versions/2.7
-DWITH_CUDA=ON
-DCMAKE_CXX_FLAGS=-stdlib=libc++
-DCUDA_GENERATION=Kepler
-DENABLE_SSSE3=ON
-DENABLE_SSE41=ON
-DENABLE_SSE42=ON
-DENABLE_AVX=ON
-- The CXX compiler identification is AppleClang 7.3.0.7030031
-- The C compiler identification is AppleClang 7.3.0.7030031
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++
-- Check for working CXX compiler: /usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -- broken
CMake Error at /usr/local/Cellar/cmake/3.6.2/share/cmake/Modules/CMakeTestCXXCompiler.cmake:54 (message):
The C++ compiler "/usr/local/Homebrew/Library/Homebrew/shims/super/clang++"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeTmp
Run Build Command:"/usr/local/Homebrew/Library/Homebrew/shims/super/gmake"
"cmTC_8aad0/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f
CMakeFiles/cmTC_8aad0.dir/build.make CMakeFiles/cmTC_8aad0.dir/build
Building CXX object CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -stdlib=libc++
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-o CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -c
/tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_8aad0
/usr/local/Cellar/cmake/3.6.2/bin/cmake -E cmake_link_script
CMakeFiles/cmTC_8aad0.dir/link.txt --verbose=1
/usr/local/Homebrew/Library/Homebrew/shims/super/clang++ -stdlib=libc++
-isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
-Wl,-search_paths_first -Wl,-headerpad_max_install_names
CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -o cmTC_8aad0
ld: unexpected token: !tapi-tbd-v2 file
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libc++.tbd'
for architecture x86_64
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
make[1]: *** [cmTC_8aad0] Error 1
make: *** [cmTC_8aad0/fast] Error 2
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:68 (project)
-- Configuring incomplete, errors occurred!
See also "/tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeOutput.log".
See also "/tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeError.log".
HOMEBREW_VERSION: 1.0.5
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: a5565d8fd600bc2883ed76ca8708d08588d1ef3f
Last commit: 22 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: cbb00afd9012f979bc9cb080d408ef48a277f7d3
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: octa-core 64-bit ivybridge
Homebrew Ruby: 2.0.0-p648
GCC-4.2: build 0
Clang: 7.3 build 703
Git: 2.8.4 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Perl: /usr/bin/perl
Python: /usr/bin/python
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_65, 1.8.0_40
macOS: 10.12-x86_64
Xcode: 8.0
CLT: 8.0.0.0.1.1472435881
X11: 2.7.9 => /opt/X11
HOMEBREW_CC: clang
HOMEBREW_CXX: clang++
CFLAGS: -F/Library/Frameworks
SDKROOT: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
MAKEFLAGS: -j8
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
MACOSX_DEPLOYMENT_TARGET: 10.12
PKG_CONFIG_PATH: /usr/local/opt/libpng/lib/pkgconfig:/usr/local/opt/libtiff/lib/pkgconfig:/usr/local/opt/ilmbase/lib/pkgconfig:/usr/local/opt/openexr/lib/pkgconfig:/usr/local/opt/eigen/share/pkgconfig
PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/10.12
ACLOCAL_PATH: /usr/local/share/aclocal
PATH: /Developer/NVIDIA/CUDA-7.5/bin:/usr/local/Homebrew/Library/Homebrew/shims/super:/usr/local/opt/cmake/bin:/usr/local/opt/jpeg/bin:/usr/local/opt/libpng/bin:/usr/local/opt/libtiff/bin:/usr/local/opt/openexr/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/numpy/bin:/usr/bin:/bin:/usr/sbin:/sbin
clang++ called with: -stdlib=libc++ CMakeCXXCompilerId.cpp
superenv added: -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang++ -stdlib=libc++ CMakeCXXCompilerId.cpp -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang++ called with: -stdlib=libc++ -c CMakeCXXCompilerId.cpp
superenv added: -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang++ -stdlib=libc++ -c CMakeCXXCompilerId.cpp -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
clang called with: -F/Library/Frameworks CMakeCCompilerId.c
superenv added: -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
superenv executed: clang -F/Library/Frameworks CMakeCCompilerId.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
clang called with: -F/Library/Frameworks -c CMakeCCompilerId.c
superenv added: -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang -F/Library/Frameworks -c CMakeCCompilerId.c -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
clang++ called with: -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -o CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -c /tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
superenv removed: -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
superenv executed: clang++ -pipe -w -Os -march=native -stdlib=libc++ -o CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -c /tmp/opencv-20160928-15407-1bqj0hl/opencv-2.4.13/macbuild/CMakeFiles/CMakeTmp/testCXXCompiler.cxx -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers
clang++ called with: -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -o cmTC_8aad0
superenv removed: -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk
superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
superenv executed: clang++ -pipe -w -Os -march=native -stdlib=libc++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTC_8aad0.dir/testCXXCompiler.cxx.o -o cmTC_8aad0 -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries -Wl,-headerpad_max_install_names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment