[MacPorts] #41004: Failed to build uhd on Mavericks
#41004: Failed to build uhd on Mavericks --------------------------------+-------------------------------- Reporter: carles.fernandez@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: uhd --------------------------------+-------------------------------- Installing the uhd port fails during the build stage on a fresh install of MacPorts 2.2.1 on OS X 10.9 $ sudo port install uhd[[BR]] ---> Computing dependencies for uhd[[BR]] ---> Fetching archive for uhd[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> Fetching distfiles for uhd[[BR]] ---> Verifying checksums for uhd[[BR]] ---> Extracting uhd[[BR]] ---> Configuring uhd[[BR]] ---> Building uhd[[BR]] Error: org.macports.build for port uhd returned: command execution failed[[BR]] Please see the log file for port uhd for details:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log[[BR]] To report a bug, follow the instructions in the guide:[[BR]] http://guide.macports.org/#project.tickets[[BR]] Error: Processing of port uhd failed[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/41004> MacPorts <http://www.macports.org/> Ports system for OS X
#41004: Failed to build uhd on Mavericks ---------------------------------+-------------------------------- Reporter: carles.fernandez@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | ---------------------------------+-------------------------------- Comment (by michaelld@…): So ... why did you -have- to update, Carles? :) Thanks for reporting the issue. I'll look into this issue ASAP, but be patient since I won't be updating my primary work computer to 10.9 until Qt4 works with it (getting closer, from what I hear) so I have to create an external 10.9 boot disk to handle this. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ---------------------------------+------------------------- Changes (by macsforever2000@…): * cc: michaelld@…, carles.fernandez@… (removed) * keywords: => mavericks * owner: macports-tickets@… => michaelld@… Old description:
Installing the uhd port fails during the build stage on a fresh install of MacPorts 2.2.1 on OS X 10.9
$ sudo port install uhd[[BR]] ---> Computing dependencies for uhd[[BR]] ---> Fetching archive for uhd[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> Fetching distfiles for uhd[[BR]] ---> Verifying checksums for uhd[[BR]] ---> Extracting uhd[[BR]] ---> Configuring uhd[[BR]] ---> Building uhd[[BR]] Error: org.macports.build for port uhd returned: command execution failed[[BR]] Please see the log file for port uhd for details:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log[[BR]] To report a bug, follow the instructions in the guide:[[BR]] http://guide.macports.org/#project.tickets[[BR]] Error: Processing of port uhd failed[[BR]]
New description: Installing the uhd port fails during the build stage on a fresh install of MacPorts 2.2.1 on OS X 10.9 {{{ $ sudo port install uhd[[BR]] ---> Computing dependencies for uhd[[BR]] ---> Fetching archive for uhd[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> Fetching distfiles for uhd[[BR]] ---> Verifying checksums for uhd[[BR]] ---> Extracting uhd[[BR]] ---> Configuring uhd[[BR]] ---> Building uhd[[BR]] Error: org.macports.build for port uhd returned: command execution failed[[BR]] Please see the log file for port uhd for details:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log[[BR]] To report a bug, follow the instructions in the guide:[[BR]] http://guide.macports.org/#project.tickets[[BR]] Error: Processing of port uhd failed[[BR]] }}} -- Comment: In the future, please use WikiFormatting. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): Hi Michael, obviously, it is GNU Radio what I have to update :) I've found problems with Qt4 (there is already a ticket for that, [http://trac.macports.org/ticket/40852 #40852]) and UHD, I see that you are aware of both problems and working on them. Thanks for everything! Best regards, Carles -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#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 ken@…): I got q4 working on Mavericks with the latest run of patches gnr- companion stop working after Mavericks :\ -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#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 | ---------------------------------+------------------------- Description changed by ryandesign@…: Old description:
Installing the uhd port fails during the build stage on a fresh install of MacPorts 2.2.1 on OS X 10.9
{{{ $ sudo port install uhd[[BR]] ---> Computing dependencies for uhd[[BR]] ---> Fetching archive for uhd[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> 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[[BR]] ---> Fetching distfiles for uhd[[BR]] ---> Verifying checksums for uhd[[BR]] ---> Extracting uhd[[BR]] ---> Configuring uhd[[BR]] ---> Building uhd[[BR]] Error: org.macports.build for port uhd returned: command execution failed[[BR]] Please see the log file for port uhd for details:[[BR]] /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_uhd/uhd/main.log[[BR]] To report a bug, follow the instructions in the guide:[[BR]] http://guide.macports.org/#project.tickets[[BR]] Error: Processing of port uhd failed[[BR]] }}}
New description: Installing the uhd port fails during the build stage on a fresh install of MacPorts 2.2.1 on OS X 10.9 {{{ $ 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://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://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://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 To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port uhd failed }}} -- -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#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 venkyne1984@…): Cc venkyne1984@gmail.com can you please put me in the loop? I too am facing issues while installing uhd for gnu radio. In case any of you have found a different way of getting gnu radio working on mavericks with hardware support please let me know. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#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 michaelld@…): Should be fixed in r112869, which should be live by 11:45 PM/US/ET ~30 minutes from now. You'll want to do: {{{ sudo port clean uhd uhd-devel sudo port selfupdate }}} before installing uhd or uhd-devel. The patches should work for both ports, and are only used if building for libc++, regardless of compiler. I'm going to leave this ticket open until I hear some positive feedback or a few weeks pass. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#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 larryv@…): Replying to [comment:8 venkyne1984@…]:
Cc venkyne1984@gmail.com
can you please put me in the loop?
You need to click the “CcMe!” button above to be Cc’d on tickets. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#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 ken@…): Ken$ sudo port install uhd Error: Port uhd not found ??? -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#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
#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 michaelld@…): There has been some work on the CMake PortGroup, which uhd uses for building, over the weekend. And, my fix from last night works with the MacPorts SVN trunk, not the release. I just committed r112886, which should work for everyone; it just patches this issue no matter the c++ runtime being used (libc++ or libstdc++). I will work on a more robust solution which just removes the issue altogether, but for now this should do. It should be live by about 8:20 AM/US/ET ("new" time), after which do: {{{ sudo port clean uhd uhd-devel sudo port selfupdate }}} and then install uhd or uhd-devel as you see fit. Hopefully the uhd port will be found now, too! I will be working on GNU Radio on 10.9 tomorrow, but as far as I hear it has no major issues. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#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@…): Now uhd-devel works fine. Thank you Michael for your time! -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#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 venkyne1984@…): Works for me as well, thanks Michael! On a related note, I continued installing gnu radio after uhd-devel, but am again facing an issue. I have raised a new ticket for that (https://trac.macports.org/ticket/41158) but was wondering if any of you (Carles?) faced a similar issue. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#41004: Failed to build uhd on Mavericks ---------------------------------+------------------------- Reporter: carles.fernandez@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks Port: uhd | ---------------------------------+------------------------- Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: Closing as fixed per above. -- Ticket URL: <https://trac.macports.org/ticket/41004#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts