[MacPorts] #62274: thrift @0.13.0 build fails

MacPorts noreply at macports.org
Fri Feb 12 19:08:18 UTC 2021


#62274: thrift @0.13.0 build fails
----------------------+--------------------
  Reporter:  fgunbin  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:           |
----------------------+--------------------
Description changed by fgunbin:

Old description:

> I'm getting this build error on macOS 11.2.1
>
> Also I see here https://ports.macports.org/port/thrift/builds that build
> status is red for 11_x86_64.
>
> :info:build /bin/sh ../../libtool  --tag=CXX   --mode=link
> /usr/bin/clang++ -std=c++11 -Wall -Wextra -pedantic -pipe -Os
> -stdlib=libc++
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
> -release 0.13.0 -L/opt/local/lib -L/opt/local/lib
> -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch
> x86_64 -o libthriftnb.la -rpath /opt/local/lib src/thrift/server
> /libthriftnb_la-TNonblockingServer.lo src/thrift/async/libthriftnb_la-
> TEvhttpServer.lo src/thrift/async/libthriftnb_la-TEvhttpClientChannel.lo
> -lpthread
> :info:build libtool: link: /usr/bin/clang++ -dynamiclib  -o
> .libs/libthriftnb-0.13.0.dylib  src/thrift/server/.libs/libthriftnb_la-
> TNonblockingServer.o src/thrift/async/.libs/libthriftnb_la-
> TEvhttpServer.o src/thrift/async/.libs/libthriftnb_la-
> TEvhttpClientChannel.o   -L/opt/local/lib -lpthread  -Os -stdlib=libc++
> -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot
> -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
> -install_name  /opt/local/lib/libthriftnb-0.13.0.dylib
> -Wl,-single_module
> :info:build Undefined symbols for architecture x86_64:
> :info:build
> "apache::thrift::concurrency::Thread::threadMain(std::__1::shared_ptr<apache::thrift::concurrency::Thread>)",
> referenced from:
> :info:build       apache::thrift::concurrency::Thread::start() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "apache::thrift::GlobalOutput", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::workSocket() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::transition() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::handleEvent(int, short) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::serverOverloaded() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::registerEvents(event_base*)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       ...
> :info:build   "apache::thrift::TOutput::perror(char const*, int)",
> referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::handleEvent(int, short) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::~TNonblockingIOThread() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::createNotificationPipe() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::notifyHandler(int, short,
> void*) in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::setCurrentThreadHighPriority(bool)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::cleanupEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       ...
> :info:build   "apache::thrift::TOutput::printf(char const*, ...)",
> referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::workSocket() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::transition() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::handleEvent(int, short) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::serverOverloaded() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::registerEvents(event_base*)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       apache::thrift::server::TNonblockingServer::serve() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       ...
> :info:build
> "apache::thrift::transport::TMemoryBuffer::wroteBytes(unsigned int)",
> referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::transition() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> "apache::thrift::transport::TMemoryBuffer::ensureCanWrite(unsigned int)",
> referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::transition() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> "apache::thrift::concurrency::ThreadFactory::newThread(std::__1::shared_ptr<apache::thrift::concurrency::Runnable>)
> const", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::registerEvents(event_base*)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> "apache::thrift::concurrency::Monitor::wait(std::__1::chrono::duration<long
> long, std::__1::ratio<1l, 1000l> > const&) const", referenced from:
> :info:build       apache::thrift::concurrency::Thread::start() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "apache::thrift::concurrency::Monitor::mutex() const",
> referenced from:
> :info:build       apache::thrift::concurrency::Thread::start() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       apache::thrift::concurrency::Thread::getState() const
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::concurrency::Thread::setState(apache::thrift::concurrency::Thread::STATE)
> in libthriftnb_la-TNonblockingServer.o
> :info:build   "apache::thrift::concurrency::Monitor::notify() const",
> referenced from:
> :info:build
> apache::thrift::concurrency::Thread::setState(apache::thrift::concurrency::Thread::STATE)
> in libthriftnb_la-TNonblockingServer.o
> :info:build   "apache::thrift::transport::TSocket::getSocketInfo()
> const", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::workSocket() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "typeinfo for apache::thrift::async::TAsyncChannel",
> referenced from:
> :info:build       typeinfo for
> apache::thrift::async::TEvhttpClientChannel in libthriftnb_la-
> TEvhttpClientChannel.o
> :info:build   "typeinfo for
> apache::thrift::transport::TTransportException", referenced from:
> :info:build
> apache::thrift::transport::TNonblockingServerTransport::accept() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TNonblockingServer.o
> :info:build       GCC_except_table4 in libthriftnb_la-
> TNonblockingServer.o
> :info:build       GCC_except_table7 in libthriftnb_la-
> TNonblockingServer.o
> :info:build       GCC_except_table75 in libthriftnb_la-
> TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build       ...
> :info:build   "vtable for apache::thrift::concurrency::Mutex", referenced
> from:
> :info:build
> apache::thrift::server::TNonblockingServer::~TNonblockingServer() in
> libthriftnb_la-TNonblockingServer.o
> :info:build       apache::thrift::concurrency::Mutex::~Mutex() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   NOTE: a missing vtable usually means the first non-inline
> virtual member function has no definition.
> :info:build   "vtable for apache::thrift::transport::TMemoryBuffer",
> referenced from:
> :info:build
> apache::thrift::transport::TMemoryBuffer::resetBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::resetBuffer(unsigned int) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::TConnection(std::__1::shared_ptr<apache::thrift::transport::TSocket>,
> apache::thrift::server::TNonblockingIOThread*) in libthriftnb_la-
> TNonblockingServer.o
> :info:build
> apache::thrift::async::TEvhttpServer::RequestContext::RequestContext(evhttp_request*)
> in libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::resetBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build       ...
> :info:build   NOTE: a missing vtable usually means the first non-inline
> virtual member function has no definition.
> :info:build   "vtable for
> apache::thrift::transport::TTransportException", referenced from:
> :info:build
> apache::thrift::transport::TNonblockingServerTransport::accept() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::transport::TMemoryBuffer::TMemoryBuffer(unsigned char*,
> unsigned int, apache::thrift::transport::TMemoryBuffer::MemoryPolicy) in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build   NOTE: a missing vtable usually means the first non-inline
> virtual member function has no definition.
> :info:build   "_evbuffer_add", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*,
> bool) in libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::async::TEvhttpClientChannel::sendAndRecvMessage(std::__1::function<void
> ()> const&, apache::thrift::transport::TMemoryBuffer*,
> apache::thrift::transport::TMemoryBuffer*) in libthriftnb_la-
> TEvhttpClientChannel.o
> :info:build   "_evbuffer_free", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*,
> bool) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evbuffer_get_length", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::RequestContext::RequestContext(evhttp_request*)
> in libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::async::TEvhttpClientChannel::finish(evhttp_request*) in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build   "_evbuffer_new", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*,
> bool) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evbuffer_pullup", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::RequestContext::RequestContext(evhttp_request*)
> in libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::async::TEvhttpClientChannel::finish(evhttp_request*) in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build   "_event_add", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_base_dispatch", referenced from:
> :info:build       apache::thrift::async::TEvhttpServer::serve() in
> libthriftnb_la-TEvhttpServer.o
> :info:build   "_event_base_free", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::~TNonblockingIOThread() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build       apache::thrift::async::TEvhttpServer::~TEvhttpServer()
> in libthriftnb_la-TEvhttpServer.o
> :info:build   "_event_base_get_method", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_base_loop", referenced from:
> :info:build       apache::thrift::server::TNonblockingIOThread::run() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_base_loopbreak", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::breakLoop(bool) in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_base_new", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_event_base_set", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_del", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::cleanupEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_get_version", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_event_set", referenced from:
> :info:build
> apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
> in libthriftnb_la-TNonblockingServer.o
> :info:build
> apache::thrift::server::TNonblockingIOThread::registerEvents() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_evhttp_add_header", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*,
> bool) in libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::async::TEvhttpClientChannel::sendAndRecvMessage(std::__1::function<void
> ()> const&, apache::thrift::transport::TMemoryBuffer*,
> apache::thrift::transport::TMemoryBuffer*) in libthriftnb_la-
> TEvhttpClientChannel.o
> :info:build   "_evhttp_bind_socket", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evhttp_connection_base_new", referenced from:
> :info:build
> apache::thrift::async::TEvhttpClientChannel::TEvhttpClientChannel(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&, char const*, int, event_base*,
> evdns_base*) in libthriftnb_la-TEvhttpClientChannel.o
> :info:build   "_evhttp_connection_free", referenced from:
> :info:build
> apache::thrift::async::TEvhttpClientChannel::~TEvhttpClientChannel() in
> libthriftnb_la-TEvhttpClientChannel.o
> :info:build   "_evhttp_free", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build       apache::thrift::async::TEvhttpServer::~TEvhttpServer()
> in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evhttp_make_request", referenced from:
> :info:build
> apache::thrift::async::TEvhttpClientChannel::sendAndRecvMessage(std::__1::function<void
> ()> const&, apache::thrift::transport::TMemoryBuffer*,
> apache::thrift::transport::TMemoryBuffer*) in libthriftnb_la-
> TEvhttpClientChannel.o
> :info:build   "_evhttp_new", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evhttp_request_new", referenced from:
> :info:build
> apache::thrift::async::TEvhttpClientChannel::sendAndRecvMessage(std::__1::function<void
> ()> const&, apache::thrift::transport::TMemoryBuffer*,
> apache::thrift::transport::TMemoryBuffer*) in libthriftnb_la-
> TEvhttpClientChannel.o
> :info:build   "_evhttp_send_reply", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::request(evhttp_request*, void*) in
> libthriftnb_la-TEvhttpServer.o
> :info:build
> apache::thrift::async::TEvhttpServer::complete(apache::thrift::async::TEvhttpServer::RequestContext*,
> bool) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evhttp_set_cb", referenced from:
> :info:build
> apache::thrift::async::TEvhttpServer::TEvhttpServer(std::__1::shared_ptr<apache::thrift::async::TAsyncBufferProcessor>,
> int) in libthriftnb_la-TEvhttpServer.o
> :info:build   "_evutil_make_socket_closeonexec", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::createNotificationPipe() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_evutil_make_socket_nonblocking", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::createNotificationPipe() in
> libthriftnb_la-TNonblockingServer.o
> :info:build   "_evutil_socketpair", referenced from:
> :info:build
> apache::thrift::server::TNonblockingIOThread::createNotificationPipe() in
> libthriftnb_la-TNonblockingServer.o
> :info:build ld: symbol(s) not found for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v
> to see invocation)
> :info:build make[4]: *** [libthriftnb.la] Error 1
> :info:build make[4]: *** Waiting for unfinished jobs....
> :info:build libtool: compile:  /usr/bin/clang++ -std=c++11
> -DHAVE_CONFIG_H -I/opt/local/include -I./src -D__STDC_FORMAT_MACROS
> -D__STDC_LIMIT_MACROS -I/opt/local/include -DBOOST_TEST_DYN_LINK
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -Wall
> -Wextra -pedantic -pipe -Os -stdlib=libc++
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64
> -MT src/thrift/server/TThreadedServer.lo -MD -MP -MF
> src/thrift/server/.deps/TThreadedServer.Tpo -c
> src/thrift/server/TThreadedServer.cpp -o
> src/thrift/server/TThreadedServer.o >/dev/null 2>&1
> :info:build make[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0/lib/cpp'
> :info:build make[3]: *** [all-recursive] Error 1
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0/lib/cpp'
> :info:build make[2]: *** [all-recursive] Error 1
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0/lib'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0'
> :info:build Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/work/thrift-0.13.0"
> && /usr/bin/make -j4 -w all
> :info:build Exit code: 2
> :error:build Failed to build thrift: command execution failed
> :debug:build Error code: CHILDSTATUS 26566 2
> :debug:build Backtrace: command execution failed
> :debug:build     while executing
> :debug:build "system {*}$notty {*}$nice $fullcmdstring"
> :debug:build     invoked from within
> :debug:build "command_exec build"
> :debug:build     (procedure "portbuild::build_main" line 8)
> :debug:build     invoked from within
> :debug:build "$procedure $targetname"
> :error:build See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_thrift/thrift/main.log
> for details.

New description:

 I'm getting this build error on macOS 11.2.1

 Also I see here https://ports.macports.org/port/thrift/builds that build
 status is red for 11_x86_64.

 :info:build Undefined symbols for architecture x86_64:
 :info:build
 "apache::thrift::concurrency::Thread::threadMain(std::__1::shared_ptr<apache::thrift::concurrency::Thread>)",
 referenced from:
 :info:build       apache::thrift::concurrency::Thread::start() in
 libthriftnb_la-TNonblockingServer.o

 :info:build   "apache::thrift::GlobalOutput", referenced from:
 :info:build
 apache::thrift::server::TNonblockingServer::TConnection::workSocket() in
 libthriftnb_la-TNonblockingServer.o
 :info:build
 apache::thrift::server::TNonblockingServer::TConnection::transition() in
 libthriftnb_la-TNonblockingServer.o
 :info:build
 apache::thrift::server::TNonblockingServer::TConnection::setFlags(short)
 in libthriftnb_la-TNonblockingServer.o
 :info:build
 apache::thrift::server::TNonblockingServer::handleEvent(int, short) in
 libthriftnb_la-TNonblockingServer.o
 ..

--

-- 
Ticket URL: <https://trac.macports.org/ticket/62274#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list