Opened 13 months ago
Last modified 13 months ago
#68517 new defect
thrift fails to build on 10.6.8 / i386+x86_64
Reported by: | barracuda156 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | snowleopard | Cc: | |
Port: | thrift |
Description
:info:build Undefined symbols for architecture i386: :info:build "boost::test_tools::tt_detail::report_assertion(boost::test_tools::assertion_result const&, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, unsigned long, ...)", referenced from: :info:build checkNoEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkNewConnEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkCloseEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int) in ProcessorTest.o :info:build checkCallHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build bool boost::test_tools::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(boost::test_tools::tt_detail::equal_impl_frwd, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in ProcessorTest.o :info:build checkCallPostHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build void testOnewayCall<TThreadedServerTraits, TemplatedTraits>() in ProcessorTest.o :info:build ... :info:build "boost::unit_test::framework::master_test_suite()", referenced from: :info:build init_unit_test_suite() in ProcessorTest.o :info:build "boost::unit_test::decorator::collector_t::instance()", referenced from: :info:build __GLOBAL__sub_I_ProcessorTest.cpp in ProcessorTest.o :info:build "boost::unit_test::unit_test_log_t::instance()", referenced from: :info:build __GLOBAL__sub_I_ProcessorTest.cpp in ProcessorTest.o :info:build "boost::unit_test::ut_detail::auto_test_unit_registrar::auto_test_unit_registrar(boost::unit_test::test_case*, boost::unit_test::decorator::collector_t&, unsigned long)", referenced from: :info:build __GLOBAL__sub_I_ProcessorTest.cpp in ProcessorTest.o :info:build "boost::unit_test::unit_test_main(bool (*)(), int, char**)", referenced from: :info:build _main in ProcessorTest.o :info:build "boost::unit_test::unit_test_log_t::set_checkpoint(boost::unit_test::basic_cstring<char const>, unsigned long, boost::unit_test::basic_cstring<char const>)", referenced from: :info:build checkNoEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkNewConnEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkCloseEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int) in ProcessorTest.o :info:build checkCallHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build checkCallPostHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build TThreadedServer_Templated_basicService_invoker() in ProcessorTest.o :info:build TThreadedServer_Templated_inheritedService_invoker() in ProcessorTest.o :info:build ... :info:build "boost::test_tools::tt_detail::print_log_value<char const*>::operator()(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, char const*)", referenced from: :info:build boost::unit_test::lazy_ostream_impl<boost::unit_test::lazy_ostream, boost::test_tools::tt_detail::print_helper_t<char const*>, boost::test_tools::tt_detail::print_helper_t<char const*> const&>::operator()(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const in ProcessorTest.o :info:build "boost::test_tools::tt_detail::equal_impl(char const*, char const*)", referenced from: :info:build checkNoEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkNewConnEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkCloseEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int) in ProcessorTest.o :info:build checkCallHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build checkCallPostHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build void testOnewayCall<TThreadedServerTraits, TemplatedTraits>() in ProcessorTest.o :info:build void testExpectedError<TThreadedServerTraits, TemplatedTraits>() in ProcessorTest.o :info:build ... :info:build "boost::unit_test::lazy_ostream::inst", referenced from: :info:build checkNoEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkNewConnEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&) in ProcessorTest.o :info:build checkCloseEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int) in ProcessorTest.o :info:build checkCallHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build bool boost::test_tools::tt_detail::check_frwd<boost::test_tools::tt_detail::equal_impl_frwd, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(boost::test_tools::tt_detail::equal_impl_frwd, boost::unit_test::lazy_ostream const&, boost::unit_test::basic_cstring<char const>, unsigned long, boost::test_tools::tt_detail::tool_level, boost::test_tools::tt_detail::check_type, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char const*) in ProcessorTest.o :info:build checkCallPostHandlerEvents(std::__1::shared_ptr<apache::thrift::test::EventLog> const&, unsigned int, unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in ProcessorTest.o :info:build void testOnewayCall<TThreadedServerTraits, TemplatedTraits>() in ProcessorTest.o :info:build ... :info:build "boost::unit_test::ut_detail::normalize_test_case_name(boost::unit_test::basic_cstring<char const>)", referenced from: :info:build boost::unit_test::make_test_case(boost::function<void ()()> const&, boost::unit_test::basic_cstring<char const>, boost::unit_test::basic_cstring<char const>, unsigned long) in ProcessorTest.o :info:build "boost::unit_test::test_case::test_case(boost::unit_test::basic_cstring<char const>, boost::unit_test::basic_cstring<char const>, unsigned long, boost::function<void ()()> const&)", referenced from: :info:build boost::unit_test::make_test_case(boost::function<void ()()> const&, boost::unit_test::basic_cstring<char const>, boost::unit_test::basic_cstring<char const>, unsigned long) in ProcessorTest.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[5]: *** [processor_test] Error 1 :info:build make[5]: 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.19.0/lib/cpp/test' :info:build make[4]: *** [all] Error 2
Attachments (1)
Change History (3)
Changed 13 months ago by barracuda156
Attachment: | thrift.txt added |
---|
comment:1 follow-up: 2 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 13 months ago by barracuda156
Replying to ryandesign:
It doesn't look like anything specific to Snow Leopard. The log says:
:info:build ld: warning: ignoring file /opt/local/libexec/boost/1.81/lib/libboost_unit_test_framework-mt.dylib, file was built for unsupported file format which is not the architecture being linked (i386)So you're trying to install thrift universal but boost181 has not been built universal.
According to what I see, boost181
is built as +universal
(i386 x86_64).
- S. I have certainly not done any experiments for Intel builds of Boost with Clangs. So it should have been built from whatever Macports currently has in the portfile.
Note: See
TracTickets for help on using
tickets.
It doesn't look like anything specific to Snow Leopard. The log says:
So you're trying to install thrift universal but boost181 has not been built universal.