Opened 11 years ago

Closed 11 years ago

#42403 closed defect (invalid)

uhd build failure

Reported by: mf2k (Frank Schima) Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: uhd uhd-devel

Description

Apparently it is having a problem with boost:

:info:build /usr/bin/clang++  -pipe -Os -isystem/opt/local/include -arch x86_64 -stdlib=libc++  -DNDEBUG -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names  -Wl,-headerpad_max_install_names -arch x86_64 -compatibility_version 3.0.0 -current_version 3.6.0 -o libuhd.003.006.dylib -install_name /opt/local/lib/libuhd.003.dylib CMakeFiles/uhd.dir/types/device_addr.cpp.o CMakeFiles/uhd.dir/types/mac_addr.cpp.o CMakeFiles/uhd.dir/types/ranges.cpp.o CMakeFiles/uhd.dir/types/sensors.cpp.o CMakeFiles/uhd.dir/types/serial.cpp.o CMakeFiles/uhd.dir/types/time_spec.cpp.o CMakeFiles/uhd.dir/types/tune.cpp.o CMakeFiles/uhd.dir/types/types.cpp.o CMakeFiles/uhd.dir/types/wb_iface.cpp.o CMakeFiles/uhd.dir/convert/convert_orc.c.o CMakeFiles/uhd.dir/convert/convert_with_orc.cpp.o CMakeFiles/uhd.dir/convert/sse2_sc16_to_fc64.cpp.o CMakeFiles/uhd.dir/convert/sse2_sc16_to_fc32.cpp.o CMakeFiles/uhd.dir/convert/sse2_sc8_to_fc64.cpp.o CMakeFiles/uhd.dir/convert/sse2_sc8_to_fc32.cpp.o CMakeFiles/uhd.dir/convert/sse2_fc64_to_sc16.cpp.o CMakeFiles/uhd.dir/convert/sse2_fc32_to_sc16.cpp.o CMakeFiles/uhd.dir/convert/sse2_fc64_to_sc8.cpp.o CMakeFiles/uhd.dir/convert/sse2_fc32_to_sc8.cpp.o CMakeFiles/uhd.dir/convert/convert_general.cpp.o CMakeFiles/uhd.dir/convert/convert_with_tables.cpp.o CMakeFiles/uhd.dir/convert/convert_impl.cpp.o CMakeFiles/uhd.dir/convert/convert_item32.cpp.o CMakeFiles/uhd.dir/convert/convert_pack_sc12.cpp.o CMakeFiles/uhd.dir/convert/convert_unpack_sc12.cpp.o CMakeFiles/uhd.dir/convert/convert_fc32_item32.cpp.o CMakeFiles/uhd.dir/transport/libusb1_control.cpp.o CMakeFiles/uhd.dir/transport/libusb1_zero_copy.cpp.o CMakeFiles/uhd.dir/transport/libusb1_base.cpp.o CMakeFiles/uhd.dir/transport/udp_zero_copy.cpp.o CMakeFiles/uhd.dir/transport/vrt_if_packet.cpp.o CMakeFiles/uhd.dir/transport/buffer_pool.cpp.o CMakeFiles/uhd.dir/transport/if_addrs.cpp.o CMakeFiles/uhd.dir/transport/udp_simple.cpp.o CMakeFiles/uhd.dir/usrp/dboard_base.cpp.o CMakeFiles/uhd.dir/usrp/dboard_eeprom.cpp.o CMakeFiles/uhd.dir/usrp/dboard_id.cpp.o CMakeFiles/uhd.dir/usrp/dboard_iface.cpp.o CMakeFiles/uhd.dir/usrp/dboard_manager.cpp.o CMakeFiles/uhd.dir/usrp/gps_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/mboard_eeprom.cpp.o CMakeFiles/uhd.dir/usrp/multi_usrp.cpp.o CMakeFiles/uhd.dir/usrp/subdev_spec.cpp.o CMakeFiles/uhd.dir/usrp/cores/gpio_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/i2c_core_100.cpp.o CMakeFiles/uhd.dir/usrp/cores/i2c_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/spi_core_100.cpp.o CMakeFiles/uhd.dir/usrp/cores/time64_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/tx_dsp_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/rx_frontend_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/tx_frontend_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/user_settings_core_200.cpp.o CMakeFiles/uhd.dir/usrp/cores/rx_vita_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/tx_vita_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/time_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/spi_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/i2c_core_100_wb32.cpp.o CMakeFiles/uhd.dir/usrp/cores/rx_dsp_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/tx_dsp_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/cores/radio_ctrl_core_3000.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_basic_and_lf.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_rfx.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_xcvr2450.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_sbx_common.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_sbx_version3.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_sbx_version4.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_cbx.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_wbx_common.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_wbx_version2.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_wbx_version3.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_wbx_version4.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_wbx_simple.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_dbsrx.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_unknown.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_tvrx.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_dbsrx2.cpp.o CMakeFiles/uhd.dir/usrp/dboard/db_tvrx2.cpp.o CMakeFiles/uhd.dir/usrp/common/fx2_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/common/adf4001_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/common/ad9361_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/common/apply_corrections.cpp.o CMakeFiles/uhd.dir/usrp/common/validate_subdev_spec.cpp.o CMakeFiles/uhd.dir/usrp/common/recv_packet_demuxer.cpp.o CMakeFiles/uhd.dir/usrp/common/fifo_ctrl_excelsior.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/codec_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/dboard_iface.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/io_impl.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/soft_time_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/usrp1_iface.cpp.o CMakeFiles/uhd.dir/usrp/usrp1/usrp1_impl.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/clock_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/codec_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/dboard_iface.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/io_impl.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/usrp2_iface.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/usrp2_impl.cpp.o CMakeFiles/uhd.dir/usrp/usrp2/usrp2_fifo_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/b100/b100_impl.cpp.o CMakeFiles/uhd.dir/usrp/b100/clock_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/b100/codec_ctrl.cpp.o CMakeFiles/uhd.dir/usrp/b100/dboard_iface.cpp.o CMakeFiles/uhd.dir/usrp/b100/io_impl.cpp.o CMakeFiles/uhd.dir/usrp/b100/usb_zero_copy_wrapper.cpp.o CMakeFiles/uhd.dir/usrp/b200/b200_impl.cpp.o CMakeFiles/uhd.dir/usrp/b200/b200_iface.cpp.o CMakeFiles/uhd.dir/usrp/b200/b200_io_impl.cpp.o CMakeFiles/uhd.dir/usrp/b200/b200_uart.cpp.o CMakeFiles/uhd.dir/utils/csv.cpp.o CMakeFiles/uhd.dir/utils/gain_group.cpp.o CMakeFiles/uhd.dir/utils/images.cpp.o CMakeFiles/uhd.dir/utils/load_modules.cpp.o CMakeFiles/uhd.dir/utils/log.cpp.o CMakeFiles/uhd.dir/utils/msg.cpp.o CMakeFiles/uhd.dir/utils/paths.cpp.o CMakeFiles/uhd.dir/utils/static.cpp.o CMakeFiles/uhd.dir/utils/tasks.cpp.o CMakeFiles/uhd.dir/utils/thread_priority.cpp.o CMakeFiles/uhd.dir/deprecated.cpp.o CMakeFiles/uhd.dir/device.cpp.o CMakeFiles/uhd.dir/stream.cpp.o CMakeFiles/uhd.dir/exception.cpp.o CMakeFiles/uhd.dir/property_tree.cpp.o CMakeFiles/uhd.dir/version.cpp.o /opt/local/lib/libboost_date_time-mt.dylib /opt/local/lib/libboost_filesystem-mt.dylib /opt/local/lib/libboost_program_options-mt.dylib /opt/local/lib/libboost_regex-mt.dylib /opt/local/lib/libboost_system-mt.dylib /opt/local/lib/libboost_thread-mt.dylib /opt/local/lib/libboost_unit_test_framework-mt.dylib /opt/local/lib/liborc-0.4.dylib /opt/local/lib/libusb-1.0.dylib -lpthread 
:info:build Undefined symbols for architecture x86_64:
:info:build   "boost::match_results<char const*, std::__1::allocator<boost::sub_match<char const*> > >::maybe_assign(boost::match_results<char const*, std::__1::allocator<boost::sub_match<char const*> > > const&)", referenced from:
:info:build       boost::re_detail::perl_matcher<char const*, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_prefix() in device_addr.cpp.o
:info:build       boost::re_detail::perl_matcher<char const*, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::match_match() in device_addr.cpp.o
:info:build   "boost::re_detail::perl_matcher<char const*, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)", referenced from:
:info:build       boost::re_detail::perl_matcher<char const*, std::__1::allocator<boost::sub_match<char const*> >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::perl_matcher(char const*, char const*, boost::match_results<char const*, std::__1::allocator<boost::sub_match<char const*> > >&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags, char const*) in device_addr.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64

Attachments (1)

main.log (350.3 KB) - added by mf2k (Frank Schima) 11 years ago.

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 11 years ago by michaelld (Michael Dickens)

Hmmm ... "sudo port build uhd" works for me on 10.9 no issues. I'm wondering if you're mixing and matching libc++ and libstdc++ ... that's my first belief when I see an error having symbols including "std::__1::" not being found. If I do "otool -L /opt/local/lib/libboost_thread-mt.dylib", I see "/usr/lib/libc++.1.dylib" ... I wonder what you get?

comment:2 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
$ port installed boost
The following ports are currently installed:
  boost @1.55.0_1+gcc48+no_single+no_static+python27 (active)

$ otool -L /opt/local/lib/libboost_thread-mt.dylib
/opt/local/lib/libboost_thread-mt.dylib:
	/opt/local/lib/libboost_thread-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libboost_system-mt.dylib (compatibility version 0.0.0, current version 0.0.0)
	/opt/local/lib/libgcc/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.18.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
	/opt/local/lib/libgcc/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)

So it's because I have +gcc48 in my variants.conf file. I have had that setting for a long time. Something must have changed in boost recently to cause this. Maybe gcc variants were added?

Thanks for noticing that. I'll close this as invalid.

Note: See TracTickets for help on using tickets.