#41004: Failed to build uhd on Mavericks ---------------------------------+------------------------- Reporter: carles.fernandez@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: uhd | ---------------------------------+------------------------- Comment (by carles.fernandez@…): {{{ $ sudo port selfupdate $ sudo port upgrade outdated $ sudo port clean uhd $ sudo port install uhd ---> Computing dependencies for uhd ---> Fetching archive for uhd ---> Attempting to fetch uhd- release_003_005_004_0+docs+examples+full+libusb+manual+python27+test.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/uhd ---> Attempting to fetch uhd- release_003_005_004_0+docs+examples+full+libusb+manual+python27+test.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/uhd ---> Attempting to fetch uhd- release_003_005_004_0+docs+examples+full+libusb+manual+python27+test.darwin_13.x86_64.tbz2 from http://packages.macports.org/uhd ---> Fetching distfiles for uhd ---> Verifying checksums for uhd ---> Extracting uhd ---> Configuring uhd ---> Building uhd Error: org.macports.build for port uhd returned: command execution failed Please see the log file for port uhd for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log }}} Checking the log: {{{ :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work /uhd-release_003_005_004/host/lib/usrp/dboard_id.cpp:19: :info:build /opt/local/include/boost/lexical_cast.hpp:2347:34: error: excess elements in scalar initializer :info:build interpreter_type interpreter(buf, buf + stream_trait::len_t::value + 1); :info:build ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/include/boost/lexical_cast.hpp:2519:29: note: in instantiation of member function 'boost::detail::lexical_cast_do_cast<to_hex<unsigned short>, std::__1::basic_string<char> >::lexical_cast_impl' requested here :info:build return caster_type::lexical_cast_impl(arg); :info:build ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/work /uhd-release_003_005_004/host/lib/usrp/dboard_id.cpp:54:41: note: in instantiation of function template specialization 'boost::lexical_cast<to_hex<unsigned short>, std::__1::basic_string<char>
' requested here :info:build return dboard_id_t::from_uint16(boost::lexical_cast<to_hex<boost::uint16_t> (string)); :info:build ^ :info:build 2 errors generated. }}}
It seems that the patch has not been applied ... :-( When applied manually to the source, I can build uhd using cmake ../ -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X