Opened 11 years ago
Last modified 10 years ago
#41172 closed defect
Thrift fails to build under MacOSX 10.9 mavericks — at Initial Version
Reported by: | vanjab@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | |
Port: | thrift |
Description
Assuming some change in compiler behavior related to namespaces.
#> sudo /opt/local/bin/port install thrift
....
:debug:main OS darwin/13.0.0 (Mac OS X 10.9) arch i386
:debug:main compiler clang 500.2.79 not blacklisted because it doesn't match {clang < 421}
....
:info:build make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_thrift/thrift/work/thrift-0.9.0/lib/cpp'
:info:build /bin/sh ../../libtool --tag=CXX --mode=compile /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -I./src/thrift -I/opt/local/include -Wall -Os -arch x86_64 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c -o ThreadManager.lo test -f 'src/thrift/concurrency/ThreadManager.cpp' || echo './'
src/thrift/concurrency/ThreadManager.cpp
:info:build libtool: compile: /usr/bin/clang++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/local/include -I./src -I./src/thrift -I/opt/local/include -Wall -Os -arch x86_64 -MT ThreadManager.lo -MD -MP -MF .deps/ThreadManager.Tpo -c src/thrift/concurrency/ThreadManager.cpp -fno-common -DPIC -o .libs/ThreadManager.o
:info:build In file included from src/thrift/concurrency/ThreadManager.cpp:24:
:info:build In file included from src/thrift/concurrency/ThreadManager.h:24:
:info:build ./src/thrift/cxxfunctional.h:93:18: error: no member named 'bind' in namespace 'std'
:info:build using ::std::bind;
:info:build ~
:info:build src/thrift/concurrency/ThreadManager.cpp:571:8: warning: private field 'firstTime_' is not used [-Wunused-private-field]
:info:build bool firstTime_;
:info:build
:info:build 1 warning and 1 error generated.