[MacPorts] #42809: Fail to install gnuradio bacause of UHD on Marvericks
#42809: Fail to install gnuradio bacause of UHD on Marvericks ------------------------+-------------------------------- Reporter: harand20@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: gnuradio | Port: ------------------------+-------------------------------- New bee here. Sorry if it is duplicated. I just change my HDD to SSD and reinstall my system, yet When I typed sudo port install gnu radio +full and I cannot install UHD, thus it cannot install gnu radio. I searched on line and it seems quite similar to this ticket #41004.[https://trac.macports.org/ticket/41004]. Yet I found no result about it. I attached the log. Thanks for any help. -- Ticket URL: <https://trac.macports.org/ticket/42809> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => michaelld@… * keywords: gnuradio => * port: => uhd Old description:
New bee here. Sorry if it is duplicated. I just change my HDD to SSD and reinstall my system, yet When I typed sudo port install gnu radio +full and I cannot install UHD, thus it cannot install gnu radio. I searched on line and it seems quite similar to this ticket #41004.[https://trac.macports.org/ticket/41004]. Yet I found no result about it. I attached the log. Thanks for any help.
New description: New bee here. Sorry if it is duplicated. I just change my HDD to SSD and reinstall my system, yet When I typed `sudo port install gnuradio +full` and I cannot install UHD, thus it cannot install gnuradio. I searched on line and it seems quite similar to this ticket: #41004. Yet I found no result about it. I attached the log. Thanks for any help. -- Comment: The relevant error in the log seems to be: {{{ :info:build /opt/local/include/boost/atomic/detail/gcc-atomic.hpp:961:64: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') :info:build explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0) :info:build ^ ~ }}} #41004 was also an error about boost, but a different error, so this will probably require a different fix. -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by harand20@…): Replying to [comment:1 ryandesign@…]: Thank you for your help. Well Today I uninstalled '''Xcode 5.1 and command lint tool 5.1''' since it is the newest update released yesterday . When I installed UHD and gnuradio in HDD in the old day, I came across no problem. So I reinstalled Xcode and command line to''' 5.0.2''' and it works now. I guess the problem might be caused the update of Xcode and command line tool since yesterday(March 10). I hope this could give you guys some hint about how to solve this problem. I will not upgrade Xcode until this problem solved.
The relevant error in the log seems to be:
{{{ :info:build /opt/local/include/boost/atomic/detail/gcc- atomic.hpp:961:64: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') :info:build explicit base_atomic(value_type const& v) BOOST_NOEXCEPT : v_(0) :info:build ^ ~ }}}
#41004 was also an error about boost, but a different error, so this will probably require a different fix.
-- Ticket URL: <https://trac.macports.org/ticket/42809#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by michaelld@…): I just installed Xcode 5.1 (on 10.8); I'll try building UHD now & see if I get any errors. -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by michaelld@…): Yes; I get the same error. Looking into it. -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by harand20@…): Replying to [comment:4 michaelld@…]:
Yes; I get the same error. Looking into it.
My system is 10.9, however I guess the problem is not the system. BTW, if I have uhd and gnuradio on, dos it have any impact if I upgrade the xcode? Is it gonna function well ? -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by michaelld@…): It's a general problem with the new Xcode and Boost. UHD and GNU Radio make extensive use of Boost, and thus none of them compile using the new Xcode. If you already have these installed and you upgrade Xcode, everything should continue working. It's just that you won't be able to upgrade to newer versions until we figure out this issue and get it fixed. -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: uhd | -------------------------+------------------------- Comment (by michaelld@…): Actually, it looks like a fix was added to boost in r117769 ... so, do: {{{ sudo port selfupdate sudo port upgrade outdated }}} and you should be able to install GNU Radio (and UHD). BTW> You no longer need the +full variant; it is integrated into the default install. -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42809: uhd: error: no matching constructor for initialization of 'storage_type' (aka 'boost::atomics::detail::storage128_type') -------------------------+------------------------- Reporter: harand20@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: uhd | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: UHD works for me now with r117769, on both 10.8 and 10.9, when using Xcode 5.1. So, I'm closing this ticket as "works for me now" ;) -- Ticket URL: <https://trac.macports.org/ticket/42809#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts