Skip to content

Instantly share code, notes, and snippets.

@neogenix
Created July 21, 2013 00:05
Show Gist options
  • Save neogenix/6046940 to your computer and use it in GitHub Desktop.
Save neogenix/6046940 to your computer and use it in GitHub Desktop.
RethinkDB Fails to build under 10.7.5
~ » cat ~/Library/Logs/Homebrew/rethinkdb/02.make xxx@uslt-205774
[1/300] DOWNLOAD protoc
[2/300] MKDIR build/release_clang_notcmalloc/proto
[3/300] MKDIR build/release_clang_notcmalloc/re2
[4/300] CP build/release_clang_notcmalloc/rethinkdb-gdb.py
[5/300] MKDIR build/release_clang_notcmalloc/rethinkdb_web_assets
[6/300] MKDIR build/release_clang_notcmalloc/protobuf-plugin-closure
[7/300] CP build/release_clang_notcmalloc/rethinkdb-export.py
[8/300] CP build/release_clang_notcmalloc/rethinkdb-import.py
[9/300] CP build/release_clang_notcmalloc/rethinkdb-dump.py
[10/300] CP build/release_clang_notcmalloc/rethinkdb-restore.py
[11/300] CP build/release_clang_notcmalloc/rethinkdb-export
[12/300] CP build/release_clang_notcmalloc/rethinkdb-import
[13/300] CP build/release_clang_notcmalloc/rethinkdb-dump
[14/300] CP build/release_clang_notcmalloc/rethinkdb-restore
[15/300] MAKE -C ./external/re2
[16/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/cluster-min.js
[17/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/cluster.css
[18/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/index.html
[19/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/js
[20/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/fonts
[21/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/images
[22/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/favicon.ico
[23/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/js/rethinkdb.js
[24/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/js/template.js
[25/300] CP build/release_clang_notcmalloc/rethinkdb_web_assets/js/reql_docs.json
[26/300] CP support/build/protobuf
[27/300] MAKE protoc
Failed to build re2:
brew: superenv removed: -O3 -Wno-sign-compare
In file included from util/arena.cc:5:
In file included from ./util/util.h:20:
In file included from /usr/bin/../lib/c++/v1/vector:261:
In file included from /usr/bin/../lib/c++/v1/__bit_reference:15:
In file included from /usr/bin/../lib/c++/v1/algorithm:591:
/usr/bin/../lib/c++/v1/type_traits:165:12: error: unknown type name '_LIBCPP_CONSTEXPR'
static _LIBCPP_CONSTEXPR const _Tp value = __v;
^
/usr/bin/../lib/c++/v1/type_traits:165:30: error: expected member name or ';' after declaration specifiers
static _LIBCPP_CONSTEXPR const _Tp value = __v;
~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/bin/../lib/c++/v1/type_traits:169:9: error: unknown type name '_LIBCPP_CONSTEXPR'
_LIBCPP_CONSTEXPR operator value_type() const {return value;}
^
/usr/bin/../lib/c++/v1/type_traits:169:63: error: use of undeclared identifier 'value'
_LIBCPP_CONSTEXPR operator value_type() const {return value;}
^
/usr/bin/../lib/c++/v1/type_traits:173:1: error: unknown type name '_LIBCPP_CONSTEXPR'
_LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
^
/usr/bin/../lib/c++/v1/type_traits:173:19: error: expected unqualified-id
_LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
^
/usr/bin/../lib/c++/v1/type_traits:730:2: error: is_base_of not implemented.
#error is_base_of not implemented.
^
/usr/bin/../lib/c++/v1/type_traits:400:56: error: no member named 'value' in 'std::__1::is_integral<void>'
: public integral_constant<bool, is_integral<_Tp>::value ||
~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:941:19: note: in instantiation of template class 'std::__1::is_arithmetic<void>' requested here
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
^
/usr/bin/../lib/c++/v1/type_traits:949:22: note: in instantiation of default argument for '__promote<type-parameter-0-0, void, void>' required here
typedef typename __promote<_A1>::type __type1;
^~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:949:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:949:42: error: expected ';' at end of declaration list
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:950:22: note: in instantiation of default argument for '__promote<type-parameter-0-1, void, void>' required here
typedef typename __promote<_A2>::type __type2;
^~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:950:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:950:42: error: expected ';' at end of declaration list
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:951:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:951:42: error: expected ';' at end of declaration list
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:953:22: error: use of undeclared identifier '__type1'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/__config:291:32: note: expanded from macro 'decltype'
#define decltype(x) __typeof__(x)
^
In file included from util/arena.cc:5:
In file included from ./util/util.h:20:
In file included from /usr/bin/../lib/c++/v1/vector:261:
In file included from /usr/bin/../lib/c++/v1/__bit_reference:15:
In file included from /usr/bin/../lib/c++/v1/algorithm:591:
/usr/bin/../lib/c++/v1/type_traits:953:34: error: use of undeclared identifier '__type2'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/__config:291:32: note: expanded from macro 'decltype'
#define decltype(x) __typeof__(x)
^
In file included from util/arena.cc:5:
In file included from ./util/util.h:20:
In file included from /usr/bin/../lib/c++/v1/vector:261:
In file included from /usr/bin/../lib/c++/v1/__bit_reference:15:
In file included from /usr/bin/../lib/c++/v1/algorithm:591:
/usr/bin/../lib/c++/v1/type_traits:953:46: error: use of undeclared identifier '__type3'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/__config:291:32: note: expanded from macro 'decltype'
#define decltype(x) __typeof__(x)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [obj/util/arena.o] Error 1
make[1]: *** [build/release_clang_notcmalloc/re2/.build] Error 1
make[1]: *** Waiting for unfinished jobs....
Error log: /private/tmp/rethinkdb-d8qK/rethinkdb-1.7.3/support/log/protoc.log
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:949:42: error: expected ';' at end of declaration list
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:950:22: note: in instantiation of default argument for '__promote<type-parameter-0-1, void, void>' required here
typedef typename __promote<_A2>::type __type2;
^~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:950:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:950:42: error: expected ';' at end of declaration list
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:951:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:951:42: error: expected ';' at end of declaration list
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:953:22: error: use of undeclared identifier '__type1'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/type_traits:953:34: error: use of undeclared identifier '__type2'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/type_traits:953:46: error: use of undeclared identifier '__type3'
typedef decltype(__type1() + __type2() + __type3()) type;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[4]: *** [main.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [support/usr/bin/protoc] Error 1
make: *** [make] Error 2
HOMEBREW_VERSION: 0.9.4
HEAD: 2752221693c49576bcdf5f482c1c3e6204899e2d
CPU: 8-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6.2
CLT: 1.0.0.9000000000.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.6.4 => /usr/X11
~ » brew doctor xxx@uslt-205774
Warning: Your Xcode (4.6.2) is outdated
Please install Xcode 4.6.3.
~ » HOMEBREW_MAKE_JOBS=1 VERBOSE=1 brew install rethinkdb xxx@uslt-205774
Warning: Your Xcode (4.6.2) is outdated
Please install Xcode 4.6.3.
==> Downloading http://download.rethinkdb.com/dist/rethinkdb-1.7.3.tgz
Already downloaded: /Users/xxx/Library/Caches/Homebrew/rethinkdb-1.7.3.tgz
tar xf /Users/xxx/Library/Caches/Homebrew/rethinkdb-1.7.3.tgz
==> ./configure --prefix=/usr/local/Cellar/rethinkdb/1.7.3 --fetch protobuf
./configure --prefix=/usr/local/Cellar/rethinkdb/1.7.3 --fetch protobuf
* Detecting system configuration
Bash: 3.2.48(1)-release
Operating System: Darwin
OS Version: Darwin 11.4.2 x86_64
Without tcmalloc: yes
Build client drivers: no
Architecture: x86_64
Use ccache: no
C++ Compiler: CLANG 4.1 (/usr/local/Library/ENV/4.3/c++)
stdlib: -lc++
Precompiled web assets: yes
Protobuf compiler: fetch
wget: no
curl: /usr/bin/curl
Protobuf library: fetch
v8: -lv8
Test protobuf: fetch
Installation prefix: /usr/local/Cellar/rethinkdb/1.7.3
Configuration prefix: /usr/local/Cellar/rethinkdb/1.7.3/etc
Runtime data prefix: /usr/local/Cellar/rethinkdb/1.7.3/var
* Wrote configuration to config.mk
==> make
make
/usr/bin/curl --silent http://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2 | ( \
cd ./support/src && \
tar -xjf - && \
rm -rf protobuf && \
mv protobuf-2.5.0 protobuf )
rm -rf support/build/protobuf
cp -pRP support/src/protobuf support/build/protobuf
( cd ./support/build/protobuf && \
CXX=clang++ CXXFLAGS='-std=c++11 -stdlib=libc++' LDFLAGS=-lc++ \
./configure --prefix=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr && \
MAKEFLAGS= make --no-print-directory PREFIX=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr prefix=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr DESTDIR=/ && \
MAKEFLAGS= make --no-print-directory install PREFIX=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr prefix=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr DESTDIR=/ ) \
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
checking target system type... x86_64-apple-darwin11.4.2
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... no
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... no
checking dependency style of clang++... gcc3
checking how to run the C++ preprocessor... clang++ -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking C++ compiler flags...... use user-supplied: -std=c++11 -stdlib=libc++
checking whether __SUNPRO_CC is declared... no
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin11.4.2 file names to x86_64-apple-darwin11.4.2 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.4.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common -DPIC
checking if cc PIC flag -fno-common -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working memcmp... yes
checking for working strtod... yes
checking for ftruncate... yes
checking for memset... yes
checking for mkdir... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
checking zlib version... ok (1.2.0.4 or later)
checking for library containing zlibVersion... -lz
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether to check for GCC pthread/shared inconsistencies... no
checking whether what we have so far is sufficient with -nostdlib... no
checking whether -lpthread saves the day... no
configure: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib
checking the location of hash_map...
configure: WARNING: could not find an STL hash_map
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating protobuf.pc
config.status: creating protobuf-lite.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in gtest (/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/build/protobuf/gtest)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/private/tmp/rethinkdb-RIc5/rethinkdb-1.7.3/support/usr' 'CC=cc' 'LDFLAGS=-lc++' 'CXX=clang++' 'CXXFLAGS=-std=c++11 -stdlib=libc++' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... no
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... no
checking dependency style of clang++... gcc3
checking build system type... x86_64-apple-darwin11.4.2
checking host system type... x86_64-apple-darwin11.4.2
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin11.4.2 file names to x86_64-apple-darwin11.4.2 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin11.4.2 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fno-common -DPIC
checking if cc PIC flag -fno-common -DPIC works... yes
checking if cc static flag -static works... no
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fno-common -DPIC
checking if clang++ PIC flag -fno-common -DPIC works... yes
checking if clang++ static flag -static works... no
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin11.4.2 dyld
checking how to hardcode library paths into programs... immediate
checking for python... /usr/bin/python
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking whether to check for GCC pthread/shared inconsistencies... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/gtest-config
config.status: creating build-aux/config.h
config.status: executing depfiles commands
config.status: executing libtool commands
/usr/bin/make all-recursive
Making all in .
make[4]: Nothing to be done for `all-am'.
Making all in src
clang++ -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare -std=c++11 -stdlib=libc++ -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o `test -f 'google/protobuf/compiler/main.cc' || echo './'`google/protobuf/compiler/main.cc
brew: superenv removed: -Wall -Wwrite-strings -Woverloaded-virtual -Wno-sign-compare
In file included from google/protobuf/compiler/main.cc:33:
In file included from ./google/protobuf/compiler/command_line_interface.h:41:
In file included from ./google/protobuf/stubs/common.h:41:
In file included from /usr/bin/../lib/c++/v1/string:434:
In file included from /usr/bin/../lib/c++/v1/algorithm:591:
/usr/bin/../lib/c++/v1/type_traits:165:12: error: unknown type name '_LIBCPP_CONSTEXPR'
static _LIBCPP_CONSTEXPR const _Tp value = __v;
^
/usr/bin/../lib/c++/v1/type_traits:165:30: error: expected member name or ';' after declaration specifiers
static _LIBCPP_CONSTEXPR const _Tp value = __v;
~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/bin/../lib/c++/v1/type_traits:169:9: error: unknown type name '_LIBCPP_CONSTEXPR'
_LIBCPP_CONSTEXPR operator value_type() const {return value;}
^
/usr/bin/../lib/c++/v1/type_traits:169:63: error: use of undeclared identifier 'value'
_LIBCPP_CONSTEXPR operator value_type() const {return value;}
^
/usr/bin/../lib/c++/v1/type_traits:173:1: error: unknown type name '_LIBCPP_CONSTEXPR'
_LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
^
/usr/bin/../lib/c++/v1/type_traits:173:19: error: expected unqualified-id
_LIBCPP_CONSTEXPR const _Tp integral_constant<_Tp, __v>::value;
^
/usr/bin/../lib/c++/v1/type_traits:730:2: error: is_base_of not implemented.
#error is_base_of not implemented.
^
/usr/bin/../lib/c++/v1/type_traits:400:56: error: no member named 'value' in 'std::__1::is_integral<void>'
: public integral_constant<bool, is_integral<_Tp>::value ||
~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:941:19: note: in instantiation of template class 'std::__1::is_arithmetic<void>' requested here
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
^
/usr/bin/../lib/c++/v1/type_traits:949:22: note: in instantiation of default argument for '__promote<type-parameter-0-0, void, void>' required here
typedef typename __promote<_A1>::type __type1;
^~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:949:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:949:42: error: expected ';' at end of declaration list
typedef typename __promote<_A1>::type __type1;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:950:22: note: in instantiation of default argument for '__promote<type-parameter-0-1, void, void>' required here
typedef typename __promote<_A2>::type __type2;
^~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/type_traits:950:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:950:42: error: expected ';' at end of declaration list
typedef typename __promote<_A2>::type __type2;
^
/usr/bin/../lib/c++/v1/type_traits:941:39: error: no member named 'value' in 'std::__1::is_arithmetic<void>'
(is_arithmetic<_A2>::value || is_void<_A2>::value) &&
~~~~~~~~~~~~~~~~~~~~^
/usr/bin/../lib/c++/v1/type_traits:951:38: error: expected a qualified name after 'typename'
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:951:42: error: expected ';' at end of declaration list
typedef typename __promote<_A3>::type __type3;
^
/usr/bin/../lib/c++/v1/type_traits:953:22: error: use of undeclared identifier '__type1'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/type_traits:953:34: error: use of undeclared identifier '__type2'
typedef decltype(__type1() + __type2() + __type3()) type;
^
/usr/bin/../lib/c++/v1/type_traits:953:46: error: use of undeclared identifier '__type3'
typedef decltype(__type1() + __type2() + __type3()) type;
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[4]: *** [main.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [support/usr/bin/protoc] Error 2
make: *** [make] Error 2
==> Configuration
HOMEBREW_VERSION: 0.9.4
HEAD: 2752221693c49576bcdf5f482c1c3e6204899e2d
CPU: 8-core 64-bit sandybridge
OS X: 10.7.5-x86_64
Xcode: 4.6.2
CLT: 1.0.0.9000000000.1.1249367152
LLVM-GCC: build 2336
Clang: 4.1 build 421
X11: 2.6.4 => /usr/X11
==> ENV
HOMEBREW_CC: clang
MAKEFLAGS: -j1
CMAKE_PREFIX_PATH: /usr/local
CMAKE_INCLUDE_PATH: /usr/include/libxml2:/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers/:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/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
HOMEBREW_MAKE_JOBS: 1
ACLOCAL_PATH: /usr/local/share/aclocal
OBJC: cc
PATH: /usr/local/Library/ENV/4.3:/usr/local/opt/v8/bin:/usr/bin:/bin:/usr/sbin:/sbin
Error: rethinkdb did not build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment