Homebrew formula failing for x64 / Mavericks

Issue #40 invalid
Andrew Pennebaker created an issue

Trace:

$ brew install vera++
==> Downloading https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1.tar.gz
######################################################################## 100.0%
==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/vera++/1.2.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIN
==> make install
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/vera++] Error 1
make[1]: *** [src/CMakeFiles/vera.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

System:

$ specs brew os
Specs:

specs 0.7
https://github.com/mcandre/specs#readme

brew --version
0.9.5

system_profiler SPSoftwareDataType | grep 'System Version'
      System Version: OS X 10.9 (13A603)

Comments (8)

  1. Gaëtan Lehmann

    Thanks for the report. Unfortunately we don't have a Maverick host to debug that problem. Could you either post the output of the linker, or even better, run a

    ctest -D Experimental
    

    in the build tree, so the result can appear on the vera dashboard?

    Thanks,

    Gaëtan

  2. Andrew Pennebaker reporter

    Fuller trace:

    $ brew install -v vera++
    ==> Downloading https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1.tar.gz
    Already downloaded: /Library/Caches/Homebrew/vera++-1.2.1.tar.gz
    tar xf /Library/Caches/Homebrew/vera++-1.2.1.tar.gz
    ==> cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/Cellar/vera++/1.2.1 -DCMAKE_BUILD_TYPE=None -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_VERBOSE_MAKEFILE=ON -Wno-dev
    -- The C compiler identification is Clang 5.0.0
    -- The CXX compiler identification is Clang 5.0.0
    -- Check for working C compiler: /usr/local/Library/ENV/4.3/clang
    -- Check for working C compiler: /usr/local/Library/ENV/4.3/clang -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++
    -- Check for working CXX compiler: /usr/local/Library/ENV/4.3/clang++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Found Tclsh: /usr/bin/tclsh (found version "8.5") 
    -- Found TCL: /usr/lib/libtcl.dylib  
    -- Found TCLTK: /usr/lib/libtcl.dylib  
    -- Found TK: /usr/lib/libtk.dylib  
    -- Boost version: 1.54.0
    -- Found the following Boost libraries:
    --   program_options
    --   system
    --   wave
    CMake Warning at doc/CMakeLists.txt:4 (message):
      The documentation won't be built because pandoc was not found.
    
    
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /tmp/vera++-Kcwc/vera++-1.2.1
    ==> make install
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -H/tmp/vera++-Kcwc/vera++-1.2.1 -B/tmp/vera++-Kcwc/vera++-1.2.1 --check-build-system CMakeFiles/Makefile.cmake 0
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_start /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles/progress.marks
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/vera.dir/build.make src/CMakeFiles/vera.dir/depend
    cd /tmp/vera++-Kcwc/vera++-1.2.1 && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_depends "Unix Makefiles" /tmp/vera++-Kcwc/vera++-1.2.1 /tmp/vera++-Kcwc/vera++-1.2.1/src /tmp/vera++-Kcwc/vera++-1.2.1 /tmp/vera++-Kcwc/vera++-1.2.1/src /tmp/vera++-Kcwc/vera++-1.2.1/src/CMakeFiles/vera.dir/DependInfo.cmake --color=
    Scanning dependencies of target vera
    /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/vera.dir/build.make src/CMakeFiles/vera.dir/build
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 11
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 12
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 13
    [  5%] [ 10%] /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 14
    [ 15%] [ 20%] Building CXX object src/CMakeFiles/vera.dir/boost_main.cpp.o
    Building CXX object src/CMakeFiles/vera.dir/legacy_main.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/boost_main.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/boost_main.cpp
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/legacy_main.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/legacy_main.cpp
    Building CXX object src/CMakeFiles/vera.dir/main.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/main.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/main.cpp
    Building CXX object src/CMakeFiles/vera.dir/plugins/cpptcl-1.1.4/cpptcl.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/cpptcl-1.1.4/cpptcl.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/cpptcl-1.1.4/cpptcl.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 15
    [ 25%] Building CXX object src/CMakeFiles/vera.dir/plugins/Exclusions.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Exclusions.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Exclusions.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 16
    [ 30%] Building CXX object src/CMakeFiles/vera.dir/plugins/Interpreter.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Interpreter.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Interpreter.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 17
    [ 35%] Building CXX object src/CMakeFiles/vera.dir/plugins/Parameters.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Parameters.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Parameters.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 18
    [ 40%] Building CXX object src/CMakeFiles/vera.dir/plugins/Profiles.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Profiles.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Profiles.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 19
    [ 45%] Building CXX object src/CMakeFiles/vera.dir/plugins/Reports.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Reports.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Reports.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 20
    [ 50%] Building CXX object src/CMakeFiles/vera.dir/plugins/RootDirectory.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/RootDirectory.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/RootDirectory.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 21
    [ 55%] Building CXX object src/CMakeFiles/vera.dir/plugins/Rules.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Rules.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Rules.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 22
    [ 60%] Building CXX object src/CMakeFiles/vera.dir/plugins/Transformations.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/plugins/Transformations.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/plugins/Transformations.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 23
    [ 65%] Building CXX object src/CMakeFiles/vera.dir/structures/SourceFiles.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/structures/SourceFiles.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/structures/SourceFiles.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 24
    [ 70%] /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_progress_report /tmp/vera++-Kcwc/vera++-1.2.1/CMakeFiles 25
    [ 75%] Building CXX object src/CMakeFiles/vera.dir/structures/SourceLines.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/structures/SourceLines.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/structures/SourceLines.cpp
    Building CXX object src/CMakeFiles/vera.dir/structures/Tokens.cpp.o
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Library/ENV/4.3/clang++    -isystem /System/Library/Frameworks/Tcl.framework/Headers -isystem /usr/local/include -I/tmp/vera++-Kcwc/vera++-1.2.1/src    -o CMakeFiles/vera.dir/structures/Tokens.cpp.o -c /tmp/vera++-Kcwc/vera++-1.2.1/src/structures/Tokens.cpp
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    Linking CXX executable vera++
    cd /tmp/vera++-Kcwc/vera++-1.2.1/src && /usr/local/Cellar/cmake/2.8.12/bin/cmake -E cmake_link_script CMakeFiles/vera.dir/link.txt --verbose=1
    /usr/local/Library/ENV/4.3/clang++    -Wl,-search_paths_first -Wl,-headerpad_max_install_names   CMakeFiles/vera.dir/boost_main.cpp.o CMakeFiles/vera.dir/legacy_main.cpp.o CMakeFiles/vera.dir/main.cpp.o CMakeFiles/vera.dir/plugins/cpptcl-1.1.4/cpptcl.cpp.o CMakeFiles/vera.dir/plugins/Exclusions.cpp.o CMakeFiles/vera.dir/plugins/Interpreter.cpp.o CMakeFiles/vera.dir/plugins/Parameters.cpp.o CMakeFiles/vera.dir/plugins/Profiles.cpp.o CMakeFiles/vera.dir/plugins/Reports.cpp.o CMakeFiles/vera.dir/plugins/RootDirectory.cpp.o CMakeFiles/vera.dir/plugins/Rules.cpp.o CMakeFiles/vera.dir/plugins/Transformations.cpp.o CMakeFiles/vera.dir/structures/SourceFiles.cpp.o CMakeFiles/vera.dir/structures/SourceLines.cpp.o CMakeFiles/vera.dir/structures/Tokens.cpp.o  -o vera++  /usr/lib/libtcl.dylib /usr/local/lib/libboost_program_options-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/lib/libboost_wave-mt.dylib 
    brew: superenv added: -pipe -w -Os -march=native -isystem/usr/local/include -isystem/usr/include/libxml2 -isystem/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers -isystem/System/Library/Frameworks/Python.framework/Versions/2.7/Headers -L/usr/local/lib -L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
    Undefined symbols for architecture x86_64:
      "boost::program_options::to_internal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
          std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > boost::program_options::to_internal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in boost_main.cpp.o
      "boost::program_options::options_description::options_description(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int)", referenced from:
          boost_main(int, char**) in boost_main.cpp.o
      "boost::program_options::invalid_option_value::invalid_option_value(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
          void boost::program_options::validate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*, int) in boost_main.cpp.o
      "boost::program_options::detail::cmdline::cmdline(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)", referenced from:
          boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*) in boost_main.cpp.o
      "boost::program_options::validate(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, int)", referenced from:
          void boost::program_options::validate<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >*, int) in boost_main.cpp.o
          boost::program_options::typed_value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char>::xparse(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) const in boost_main.cpp.o
      "boost::program_options::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, boost::program_options::options_description const&)", referenced from:
          boost_main(int, char**) in boost_main.cpp.o
      "boost::wave::cpplexer::new_lexer_gen<std::__1::__wrap_iter<char const*>, boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > >, boost::wave::cpplexer::lex_token<boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > > >::new_lexer(std::__1::__wrap_iter<char const*> const&, std::__1::__wrap_iter<char const*> const&, boost::wave::util::file_position<boost::wave::util::flex_string<char, std::__1::char_traits<char>, std::__1::allocator<char>, boost::wave::util::CowString<boost::wave::util::AllocatorStringStorage<char, std::__1::allocator<char> >, char*> > > const&, boost::wave::language_support)", referenced from:
          Vera::Structures::Tokens::parse(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in Tokens.cpp.o
      "boost::program_options::error_with_option_name::substitute_placeholders(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const", referenced from:
          vtable for boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::program_options::invalid_option_value> > in boost_main.cpp.o
          vtable for boost::exception_detail::error_info_injector<boost::program_options::invalid_option_value> in boost_main.cpp.o
          vtable for boost::program_options::invalid_option_value in boost_main.cpp.o
      "boost::program_options::value_semantic_codecvt_helper<char>::parse(boost::any&, std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&, bool) const", referenced from:
          vtable for boost::program_options::typed_value<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > >, char> in boost_main.cpp.o
          vtable for boost::program_options::typed_value<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, char> in boost_main.cpp.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [src/vera++] Error 1
    make[1]: *** [src/CMakeFiles/vera.dir/all] Error 2
    make: *** [all] Error 2
    ==> Configuration
    HOMEBREW_VERSION: 0.9.5
    HEAD: f7d458424b59d07b6aba5fc6c7d6cabd4589497a
    CPU: quad-core 64-bit haswell
    OS X: 10.9-x86_64
    Xcode: 5.0.1
    CLT: 5.0.1.0.1.1382131676
    X11: 2.7.4 => /opt/X11
    ==> ENV
    HOMEBREW_CC: clang
    HOMEBREW_CXX: clang++
    MAKEFLAGS: -j4
    CMAKE_PREFIX_PATH: /usr/local
    CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers:/System/Library/Frameworks/Python.framework/Versions/2.7/Headers
    CMAKE_LIBRARY_PATH: /System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries
    PKG_CONFIG_PATH: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig
    PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.9
    HOMEBREW_VERBOSE: 1
    ACLOCAL_PATH: /usr/local/share/aclocal
    PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/cmake/bin:/usr/bin:/bin:/usr/sbin:/sbin
    
    Error: vera++ did not build
    Logs:
         /Users/andrew/Library/Logs/Homebrew/vera++/01.cmake
         /Users/andrew/Library/Logs/Homebrew/vera++/02.make
         /Users/andrew/Library/Logs/Homebrew/vera++/CMakeCache.txt
    
  3. Gaëtan Lehmann

    I don't have much clue, but it seems there is a problem with your libboost_program_options-mt.dylib. Maybe it is not at the same version than the includes?

  4. Gaëtan Lehmann

    I now have mavericks installed on my mac, and can report that the homebrew package is fully functional.

    The problem initially reported is most likely caused by incompatibilities between libstdc++ and libc++. Possible ways to fix that are to fully reinstall the homebrew packages and to make sure to always use clang to build the packages.

  5. Log in to comment