[MacPorts] #41733: gnuradio @3.7.2.1 installation fails to complete
#41733: gnuradio @3.7.2.1 installation fails to complete -----------------------+-------------------------------- Reporter: guycole@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: gnuradio -----------------------+-------------------------------- Hello, I am attempting to install gnuradio on OS X 10.8.5 and XCode 5.0.2 Installation runs and then stops without complaint or completion. I notice there are many dot/doxygen processes started but not doing any work. The last few lines are below and I will attach the installation log. {{{ make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build' /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_gnuradio/gnuradio/work/build/CMakeFiles [100%] Built target _trellis_swig }}} Please advise how I might get gnuradio to complete installation. Thank you. -- Ticket URL: <https://trac.macports.org/ticket/41733> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Changes (by larryv@…): * owner: macports-tickets@… => michaelld@… * cc: michaelld (removed) Comment: Trac requires complete email addresses. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): Can you try the following and see if you get the same results: {{{ sudo port selfupdate sudo port -f deactivate gnuradio sudo port install gnuradio-devel }}} I saw this for a while with the devel branch, but it seems to have gone away in my testing, maybe in the last week. I had thought it was just an oddity of my system, but maybe it's more than that. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): I get the same behavior w/gnuradio-devel - the build just completed _trellis_swig, many dot/doxygen processes and no work. I will try to attach the log. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): Can you try the following: {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio-devel | sed -e "s@(active)@@g"` sudo port selfupdate sudo port install gnuradio-devel }}} and see if that works. The current gnuradio ports have a few issues I'm working on right now, and the above is one way around them. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Replying to [comment:4 michaelld@…]: Thank you for trying to solve my problem. I have made another attempt w/a fresh install of gnuradio-devel but there was no improvement (i.e. complete building trellis and then hang w/many dot/doxygen processes). Please let me know if there is anything else I could try.
Can you try the following: {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio-devel | sed -e "s@(active)@@g"` sudo port selfupdate sudo port install gnuradio-devel }}} and see if that works. The current gnuradio ports have a few issues I'm working on right now, and the above is one way around them.
-- Ticket URL: <https://trac.macports.org/ticket/41733#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): What I'm wondering is why the dot/doxygen issues have disappeared for me, but not for you. I'm running the same basic setup as you (10.8.5, Xcode 5.0.2); I ams using MacPorts from SVN trunk, which might be different than you. Otherwise, I'd guess we're about the same. Strange. I will think more and see what else comes to mind. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Replying to [comment:6 michaelld@…]: Unsure if this is relevant, I uninstalled macports and reinstalled over the weekend (so everything I have should be latest version).
What I'm wondering is why the dot/doxygen issues have disappeared for me, but not for you. I'm running the same basic setup as you (10.8.5, Xcode 5.0.2); I ams using MacPorts from SVN trunk, which might be different than you. Otherwise, I'd guess we're about the same. Strange. I will think more and see what else comes to mind.
-- Ticket URL: <https://trac.macports.org/ticket/41733#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): Did you install MacPorts from source or use a pre-built pkg binary? If from source, was is the tarball or SVN trunk? I'm not sure how relevant these are; I'm mostly being thorough / clear. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Replying to [comment:8 michaelld@…]: Everything (so far) from packages.
Did you install MacPorts from source or use a pre-built pkg binary? If from source, was is the tarball or SVN trunk? I'm not sure how relevant these are; I'm mostly being thorough / clear.
-- Ticket URL: <https://trac.macports.org/ticket/41733#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): I think it will go away shortly of its own accord -- I'm guessing this has to do with the version of MacPorts being used, but I can't say for sure; so, maybe at the next MacPorts release? Anyway, here's what I did to get around this issue, when I had it. {{{ sudo port clean gnuradio gnruadio-devel sudo port install gnuradio }}} and, then after a while, !^C (control-C; kill) the process. The dot/doxygen processes will slowly die off on their own. Next (at any time) do: {{{ sudo port install gnuradio }}} again and this time it should complete. If so, try out GNU Radio to make sure things work. I usually try the following: {{{ /opt/local/share/gnuradio/examples/audio/dial_tone.py }}} and if that produces a "dial tone", then do: {{{ cp /opt/local/share/gnuradio/examples/audio/dial_tone.grc ~/Desktop gnuradio-companion ~/Desktop/dial_tone.grc }}} and then click the gears ("Execute The Flow Graph") to verify that that works too. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by melnakeeb@…): I am using the same configuration OS X 10.8.5 , Xcode 5.0.2 , Macports 2.2.1 , gnuradio 3.7.2.1 it installs normally using macports but when I try /opt/local/share/gnuradio/examples/audio/dial_tone.py I get: Traceback (most recent call last): File "/opt/local/share/gnuradio/examples/audio/dial_tone.py", line 25, in <module> from gnuradio import audio File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/gnuradio/audio/__init__.py", line 36, in <module> from audio_swig import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/gnuradio/audio/audio_swig.py", line 28, in <module> _audio_swig = swig_import_helper() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/gnuradio/audio/audio_swig.py", line 24, in swig_import_helper _mod = imp.load_module('_audio_swig', fp, pathname, description) ImportError: dynamic module does not define init function (init_audio_swig) -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): @melnakeeb: You have a different problem than this ticket's; you should have opened a new ticket. That said ... can you try the following: {{{ sudo port -f deactivate `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port install gnuradio }}} and then try running the dial_tone.py example again. Hopefully it will work this time. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): Any word on whether this is still an issue? I had this issue for a while; doing a "selfupdate" fixed it without me having to do anything else. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Yes, I still have the same problem for gnuradio and gnuradio devel. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): OK; can you try the following again: {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio }}} and see if that works. If so, try running the dial tone example again: {{{ /opt/local/share/gnuradio/examples/audio/dial_tone.py }}} If either the install or the dial_tone fails, can you do the following: {{{ cp `port logfile gnuradio` ~/Desktop/gr_log.txt bzip2 ~/Desktop/gr_log.txt }}} and then attach the compressed logfile to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Replying to [comment:16 michaelld@…]: I tried the commands you suggest but the build still hangs after building trellis_swig leaving many dot/doxygen processes. I have attached main.log.gz, thanks for looking.
OK; can you try the following again: {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio }}} and see if that works. If so, try running the dial tone example again: {{{
/opt/local/share/gnuradio/examples/audio/dial_tone.py }}} If either the install or the dial_tone fails, can you do the following: {{{ cp `port logfile gnuradio` ~/Desktop/gr_log.txt bzip2 ~/Desktop/gr_log.txt }}} and then attach the compressed logfile to this ticket.
-- Ticket URL: <https://trac.macports.org/ticket/41733#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by michaelld@…): I recently pushed the 3.7.3 release and I'm wondering if this helps you. Can you try the following (slight variation on the usual): {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio use_parallel_build=no }}} and see if it works? Depending on your CPU / memory, this can take quite a while -- on my 2012 MacBook Pro it takes ~10 minutes (with a fast SSD) but on my 2010 MacBook Pro it takes more like 45 minutes (with a 7200 rpm hard drive) ... so, be patient. Maybe let it go overnight. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete ------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: gnuradio | ------------------------+------------------------- Comment (by guycole@…): Replying to [comment:18 michaelld@…]: Hello. I have good news and bad news. The bad news is that (just this week) I had time to update to OSX 10.9.2 so I no longer have a 10.8.5 environment. The good news is that I was able to compile and use gnuradio. Sorry I wasn't able to verify your fix on 10.8.5 but at least now I am able to enjoy your hard work on the port. Thank you for helping.
I recently pushed the 3.7.3 release and I'm wondering if this helps you. Can you try the following (slight variation on the usual): {{{ sudo port clean gnuradio gnuradio-devel sudo port -f uninstall `port installed | grep gnuradio | sed -e "s@(active)@@g"` sudo port selfupdate sudo port -k install gnuradio use_parallel_build=no }}} and see if it works? Depending on your CPU / memory, this can take quite a while -- on my 2012 MacBook Pro it takes ~10 minutes (with a fast SSD) but on my 2010 MacBook Pro it takes more like 45 minutes (with a 7200 rpm hard drive) ... so, be patient. Maybe let it go overnight.
-- Ticket URL: <https://trac.macports.org/ticket/41733#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#41733: gnuradio @3.7.2.1 installation fails to complete -------------------------+------------------------- Reporter: guycole@… | Owner: michaelld@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: worksforme | Keywords: Port: gnuradio | -------------------------+------------------------- Changes (by michaelld@…): * status: new => closed * resolution: => worksforme Comment: OK; well, that's good news all around for me if GNU Radio now works for you! Thanks for reporting back, and have fun with GNU Radio. -- Ticket URL: <https://trac.macports.org/ticket/41733#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts