Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-02-03 Thread Michael Dickens
Great! You're welcome. For my knowledge, when you were using the "uhd"
port, which version was it? If you haven't already uninstalled it from
MacPorts, you can see via "port installed uhd"; if already gone then
"port info uhd". Thx! - MLD
On Sat, Feb 3, 2018, at 2:04 AM, Vipin Sharma wrote:
> uhd-devel did the trick. No more crashes. Thanks a bunch!

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-02-02 Thread Vipin Sharma
uhd-devel did the trick. No more crashes. Thanks a bunch!

Vipin

On Fri, Feb 2, 2018 at 11:18 AM, Michael Dickens 
wrote:

> Hi Vipin - OK; interesting. Can you try the following:
> {{{
> sudo port -f deactivate uhd
> sudo port install uhd-devel
> }}}
> then if those work, try running "uhd_fft" again & hopefully it will work.
> If not, send me the crash log off-list & we'll try something else. - MLD
>
> On Fri, Feb 2, 2018, at 1:23 PM, Vipin Sharma wrote:
>
> Actually, the install works fine but I am running into segmentation
> violation while running top_block.py through GRC GUI or uhd_fft on command
> line. Somewhere I am guessing Python versions are getting messed up. Here
> is the crash log after running 'uhd_fft -f 868M -s 10M'; how do I figure
> out what is causing the crash?
>
> Process:   Python [98722]
> Path:  /opt/local/Library/Frameworks/Python.framework/
> Versions/2.7/Resources/Python.app/Contents/MacOS/Python
> Identifier:org.python.python
> Version:   2.7.14 (2.7.14)
> Code Type: X86-64 (Native)
> Parent Process:bash [93492]
> Responsible:   Python [98722]
> User ID:   503
>
> Date/Time: 2018-02-02 10:19:04.736 -0800
> OS Version:Mac OS X 10.12.6 (16G1114)
> Report Version:12
> Anonymous UUID:120FE2C9-C399-E258-2FCC-CB15EFBA9026
>
> Sleep/Wake UUID:   F31F40DE-3B36-4430-A542-C83035144872
>
> Time Awake Since Boot: 27 seconds
> Time Since Wake:   2000 seconds
>
> System Integrity Protection: enabled
>
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
>
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x0037312e
> Exception Note:EXC_CORPSE_NOTIFY
>
> Termination Signal:Segmentation fault: 11
> Termination Reason:Namespace SIGNAL, Code 0xb
> Terminating Process:   exc handler [0]
>
> VM Regions Near 0x37312e:
> __LINKEDIT 0001266f3000-0001266ff000 [   48K]
> r--/rwx SM=COW  /System/Library/Extensions/IOUSBFamily.kext/Contents/
> PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib
> -->
> STACK GUARD7c905000-7c906000 [4K]
> ---/rwx SM=NUL  stack guard for thread 1
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   libgnuradio-blocks.3.7.11.dylib 0x0001188b7f36
> boost::asio::detail::task_io_service::init_task() + 134
> 1   libgnuradio-blocks.3.7.11.dylib 0x0001188a4367
> boost::asio::io_service::service* boost::asio::detail::service_
> registry::create >(boost::asio::io_service&) + 105
> 2   libuhd.003.dylib   0x000119442167
> boost::asio::detail::service_registry::do_use_service(
> boost::asio::io_service::service::key const&, 
> boost::asio::io_service::service*
> (*)(boost::asio::io_service&)) + 127
>
>
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-02-02 Thread Michael Dickens
Hi Vipin - OK; interesting. Can you try the following:
{{{
sudo port -f deactivate uhd
sudo port install uhd-devel
}}}
then if those work, try running "uhd_fft" again & hopefully it will
work. If not, send me the crash log off-list & we'll try something
else. - MLD
On Fri, Feb 2, 2018, at 1:23 PM, Vipin Sharma wrote:
> Actually, the install works fine but I am running into segmentation
> violation while running top_block.py through GRC GUI or uhd_fft on
> command line. Somewhere I am guessing Python versions are getting
> messed up. Here is the crash log after running 'uhd_fft -f 868M -s
> 10M'; how do I figure out what is causing the crash?> 
> Process:   Python [98722]
> Path:  /opt/local/Library/Frameworks/Python.framework-
> /Versions/2.7/Resources/Python.app/Contents/MacOS/Python> Identifier: 
>org.python.python
> Version:   2.7.14 (2.7.14)
> Code Type: X86-64 (Native)
> Parent Process:bash [93492]
> Responsible:   Python [98722]
> User ID:   503
> 
> Date/Time: 2018-02-02 10:19:04.736 -0800
> OS Version:Mac OS X 10.12.6 (16G1114)
> Report Version:12
> Anonymous UUID:120FE2C9-C399-E258-2FCC-CB15EFBA9026
> 
> Sleep/Wake UUID:   F31F40DE-3B36-4430-A542-C83035144872
> 
> Time Awake Since Boot: 27 seconds
> Time Since Wake:   2000 seconds
> 
> System Integrity Protection: enabled
> 
> Crashed Thread:0  Dispatch queue: com.apple.main-thread
> 
> Exception Type:EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes:   KERN_INVALID_ADDRESS at 0x0037312e
> Exception Note:EXC_CORPSE_NOTIFY
> 
> Termination Signal:Segmentation fault: 11
> Termination Reason:Namespace SIGNAL, Code 0xb
> Terminating Process:   exc handler [0]
> 
> VM Regions Near 0x37312e:
> __LINKEDIT 0001266f3000-0001266ff000 [   48K]
> r--/rwx SM=COW  /System/Library/Extensions/IOUSBFamily.kext/Conte-
> nts/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib> --> 
> STACK GUARD7c905000-7c906000 [4K]
> ---/rwx SM=NUL  stack guard for thread 1> 
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
>libgnuradio-blocks.3.7.11.dylib 0x0001188b7f36
>boost::asio::detail::task_io_service::init_task() + 134> 1   
> libgnuradio-blocks.3.7.11.dylib 0x0001188a4367
> boost::asio::io_service::service* boost::asio::detail::service_regist-
> ry::create >(boost::asio::io_service&) + 105> 2   libuhd.003.dylib   
> >0x000119442167 boost::asio::de-
> tail::service_registry::do_use_service(boost::asio::io_service::servi-
> ce::key const&, boost::asio::io_service::service*
> (*)(boost::asio::io_service&)) + 127
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-31 Thread Michael Dickens
Thanks for reporting back, Vipin, and your creative solution. Sometimes
starting over is the way to go ;)
A strange note: the "rev-upgrade" logfile was clean; no errors or issues
found beyond the usual innocuous ones. I've no idea why port thought uhd
was broken the final run-through.
Anyway: Good catch on the gpsd issue; I'm glad we got it fixed quickly! You're 
very welcome for the support! - MLD
On Wed, Jan 31, 2018, at 2:28 AM, Vipin Sharma wrote:
> Ok, I tried another attempt by completely removing the MacPorts and
> restarting. This time it worked!> sudo port -fp uninstall installed
> sudo rm -rf /opt/local /Applications/DarwinPorts
> /Applications/MacPorts /Library/LaunchDaemons/org.macports.*
> /Library/Receipts/DarwinPorts*.pkg
> /Library/Receipts/MacPorts*.pkg
> /Library/StartupItems/DarwinPortsStartup
> /Library/Tcl/darwinports1.0 /Library/Tcl/macports1.0
> ~/.macports> 
> sudo port selfupdate


> 


> sudo port install gnuradio  


> 


> 


> I got segmentation fault when I tried this:


> uhd_fft -f 868M -s 10M


> 


> but then after trying 


> 


> sudo port select --set python python27


> 
> uhd_fft works fine.
> 
> Thanks for your support!



___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-30 Thread Vipin Sharma
Ok, I tried another attempt by completely removing the MacPorts and
restarting. This time it worked!
sudo port -fp uninstall installed

sudo rm -rf /opt/local /Applications/DarwinPorts
/Applications/MacPorts /Library/LaunchDaemons/org.macports.*
  /Library/Receipts/DarwinPorts*.pkg
/Library/Receipts/MacPorts*.pkg
/Library/StartupItems/DarwinPortsStartup
/Library/Tcl/darwinports1.0 /Library/Tcl/macports1.0
~/.macports

sudo port selfupdate

sudo port install gnuradio


I got segmentation fault when I tried this:

uhd_fft -f 868M -s 10M


but then after trying

sudo port select --set python python27

uhd_fft works fine.

Thanks for your support!


Vipin

On Tue, Jan 30, 2018 at 7:42 PM, Vipin Sharma 
wrote:

> Alright, I gave it a try after your fix just now. Still not successful.
> Here is what I do/get. At first it seemed uhd installation went successful
> but while building gnuradio something goes wrong. I also tried collecting
> the uhd_rev.txt file from your earlier comment. I will send that file
> directly to you in the next email.
>
> mac01:~ emwaves$ sudo port selfupdate
>
> Password:
>
> --->  Updating MacPorts base sources using rsync
>
> MacPorts base version 2.4.2 installed,
>
> MacPorts base version 2.4.2 downloaded.
>
> --->  Updating the ports tree
>
> --->  MacPorts base is already the latest version
>
>
> The ports tree has been updated. To upgrade your installed ports, you
> should run
>
>   port upgrade outdated
>
> mac01:~ emwaves$ sudo port uninstall gnuradio
>
> --->  Deactivating gnuradio @3.7.11_6+docs+grc+jack+
> log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
>
> --->  Cleaning gnuradio
>
> --->  Uninstalling gnuradio @3.7.11_6+docs+grc+jack+
> log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
>
> --->  Cleaning gnuradio
>
> mac01:~ emwaves$ sudo port uninstall uhd
>
> --->  Deactivating uhd @3.10.2.0_1+docs+examples+
> gpsd+libusb+manpages+manual+python27+test
>
> --->  Cleaning uhd
>
> --->  Uninstalling uhd @3.10.2.0_1+docs+examples+
> gpsd+libusb+manpages+manual+python27+test
>
> --->  Cleaning uhd
>
> mac01:~ emwaves$ sudo port install gnuradio
>
> --->  Computing dependencies for gtk2
>
> --->  Fetching archive for gtk2
>
> --->  Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.x86_64.tbz2 from
> https://packages.macports.org/gtk2
>
> --->  Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.x86_64.tbz2.rmd160
> from https://packages.macports.org/gtk2
>
> --->  Installing gtk2 @2.24.32_0+x11
>
> --->  Cleaning gtk2
>
> --->  Computing dependencies for gtk2
>
> --->  Deactivating gtk2 @2.24.31_0+x11
>
> --->  Cleaning gtk2
>
> --->  Activating gtk2 @2.24.32_0+x11
>
> --->  Cleaning gtk2
>
> --->  Computing dependencies for py27-zmq
>
> --->  Fetching archive for py27-zmq
>
> --->  Attempting to fetch py27-zmq-16.0.4_0.darwin_16.x86_64.tbz2 from
> https://packages.macports.org/py27-zmq
>
> --->  Attempting to fetch py27-zmq-16.0.4_0.darwin_16.x86_64.tbz2.rmd160
> from https://packages.macports.org/py27-zmq
>
> --->  Installing py27-zmq @16.0.4_0
>
> --->  Cleaning py27-zmq
>
> --->  Computing dependencies for py27-zmq
>
> --->  Deactivating py27-zmq @16.0.3_0
>
> --->  Cleaning py27-zmq
>
> --->  Activating py27-zmq @16.0.4_0
>
> --->  Cleaning py27-zmq
>
> --->  Computing dependencies for gnuradio
>
> The following dependencies will be installed:  uhd
>
> Continue? [Y/n]: Y
>
> --->  Fetching archive for uhd
>
> --->  Attempting to fetch uhd-3.10.2.0_2+docs+examples+
> gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2 from
> https://packages.macports.org/uhd
>
> --->  Attempting to fetch uhd-3.10.2.0_2+docs+examples+
> gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2 from
> http://sea.us.packages.macports.org/macports/packages/uhd
>
> --->  Attempting to fetch uhd-3.10.2.0_2+docs+examples+
> gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2 from
> http://ywg.ca.packages.macports.org/mirror/macports/packages/uhd
>
> --->  Fetching distfiles for uhd
>
> --->  Verifying checksums for uhd
>
> --->  Extracting uhd
>
> --->  Applying patches to uhd
>
> --->  Configuring uhd
>
> --->  Building uhd
>
> --->  Staging uhd into destroot
>
> --->  Installing uhd @3.10.2.0_2+docs+examples+
> gpsd+libusb+manpages+manual+python27+test
>
> --->  Activating uhd @3.10.2.0_2+docs+examples+
> gpsd+libusb+manpages+manual+python27+test
>
> --->  Cleaning uhd
>
> --->  Fetching archive for gnuradio
>
> --->  Attempting to fetch gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+
> portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_16.x86_64.tbz2 from
> https://packages.macports.org/gnuradio
>
> --->  Attempting to fetch gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+
> portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_16.x86_64.tbz2 from
> http://sea.us.packages.macports.org/macports/packages/gnuradio
>
> --->  Attempting to fetch gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+
> 

Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-30 Thread Vipin Sharma
Alright, I gave it a try after your fix just now. Still not successful.
Here is what I do/get. At first it seemed uhd installation went successful
but while building gnuradio something goes wrong. I also tried collecting
the uhd_rev.txt file from your earlier comment. I will send that file
directly to you in the next email.

mac01:~ emwaves$ sudo port selfupdate

Password:

--->  Updating MacPorts base sources using rsync

MacPorts base version 2.4.2 installed,

MacPorts base version 2.4.2 downloaded.

--->  Updating the ports tree

--->  MacPorts base is already the latest version


The ports tree has been updated. To upgrade your installed ports, you
should run

  port upgrade outdated

mac01:~ emwaves$ sudo port uninstall gnuradio

--->  Deactivating gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Cleaning gnuradio

--->  Uninstalling gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Cleaning gnuradio

mac01:~ emwaves$ sudo port uninstall uhd

--->  Deactivating uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Uninstalling uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

mac01:~ emwaves$ sudo port install gnuradio

--->  Computing dependencies for gtk2

--->  Fetching archive for gtk2

--->  Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.x86_64.tbz2 from
https://packages.macports.org/gtk2

--->  Attempting to fetch gtk2-2.24.32_0+x11.darwin_16.x86_64.tbz2.rmd160
from https://packages.macports.org/gtk2

--->  Installing gtk2 @2.24.32_0+x11

--->  Cleaning gtk2

--->  Computing dependencies for gtk2

--->  Deactivating gtk2 @2.24.31_0+x11

--->  Cleaning gtk2

--->  Activating gtk2 @2.24.32_0+x11

--->  Cleaning gtk2

--->  Computing dependencies for py27-zmq

--->  Fetching archive for py27-zmq

--->  Attempting to fetch py27-zmq-16.0.4_0.darwin_16.x86_64.tbz2 from
https://packages.macports.org/py27-zmq

--->  Attempting to fetch py27-zmq-16.0.4_0.darwin_16.x86_64.tbz2.rmd160
from https://packages.macports.org/py27-zmq

--->  Installing py27-zmq @16.0.4_0

--->  Cleaning py27-zmq

--->  Computing dependencies for py27-zmq

--->  Deactivating py27-zmq @16.0.3_0

--->  Cleaning py27-zmq

--->  Activating py27-zmq @16.0.4_0

--->  Cleaning py27-zmq

--->  Computing dependencies for gnuradio

The following dependencies will be installed:  uhd

Continue? [Y/n]: Y

--->  Fetching archive for uhd

--->  Attempting to fetch
uhd-3.10.2.0_2+docs+examples+gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2
from https://packages.macports.org/uhd

--->  Attempting to fetch
uhd-3.10.2.0_2+docs+examples+gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2
from http://sea.us.packages.macports.org/macports/packages/uhd

--->  Attempting to fetch
uhd-3.10.2.0_2+docs+examples+gpsd+libusb+manpages+manual+python27+test.darwin_16.x86_64.tbz2
from http://ywg.ca.packages.macports.org/mirror/macports/packages/uhd

--->  Fetching distfiles for uhd

--->  Verifying checksums for uhd

--->  Extracting uhd

--->  Applying patches to uhd

--->  Configuring uhd

--->  Building uhd

--->  Staging uhd into destroot

--->  Installing uhd
@3.10.2.0_2+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Activating uhd
@3.10.2.0_2+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Fetching archive for gnuradio

--->  Attempting to fetch
gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_16.x86_64.tbz2
from https://packages.macports.org/gnuradio

--->  Attempting to fetch
gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_16.x86_64.tbz2
from http://sea.us.packages.macports.org/macports/packages/gnuradio

--->  Attempting to fetch
gnuradio-3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq.darwin_16.x86_64.tbz2
from http://ywg.ca.packages.macports.org/mirror/macports/packages/gnuradio

--->  Fetching distfiles for gnuradio

--->  Verifying checksums for gnuradio

--->  Extracting gnuradio

--->  Applying patches to gnuradio

--->  Configuring gnuradio

--->  Building gnuradio

--->  Staging gnuradio into destroot

--->  Installing gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Activating gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Cleaning gnuradio

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  Found 76 broken files, matching files to ports

--->  Found 1 broken port, determining rebuild order

You can always run 'port rev-upgrade' again to fix errors.

The following ports will be rebuilt: uhd @3.10.2.0
+docs+examples+gpsd+libusb+manpages+manual+python27+test

Continue? [Y/n]: Y

--->  Computing dependencies 

Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-30 Thread Michael Dickens
I pushed fixes into MacPorts this morning. Will be live by around 9:30
AM US/Eastern (about 30 minutes from now). You will need to "selfupdate"
or "sync" to get the changes. Please let me know (here or off list)
success or failure. Cheers! - MLD
On Mon, Jan 29, 2018, at 8:54 PM, Vipin Sharma wrote:
> Great; thank you. I will just wait for your fix.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-29 Thread Vipin Sharma
Great; thank you. I will just wait for your fix.

Vipin

On Mon, Jan 29, 2018 at 2:38 PM, Michael Dickens 
wrote:

> I can now replicate the issue locally, so I don't need your rev-upgrade
> log. The issue is that a dependency, gpsd, was recently updated in MacPorts
> & the update somehow changed the self-id of the primary library -- was
> "${prefix}/lib/libgpsd.dylib" and now is just "libgpsd.dylib", which won't
> work. The issue has nothing to do with UHD coding per se; it's about a
> dependency that's messing things up for UHD linking. I'm looking into a
> fix. - MLD
>
> On Mon, Jan 29, 2018, at 9:51 AM, Michael Dickens wrote:
> > Hi Vipin - Can you execute:
> > {{{
> > sudo port -d -y rev-upgrade > ~/Desktop/uhd_rev.txt 2>&1
> > bzip2 ~/Desktop/uhd_rev.txt
> > }}}
> > then send me off-list the resulting file? That's going to be the easiest
> > way for me to debug what's going on. The basic issue is that 'port' is
> > finding library linkage inconsistencies (1 or more) in the UHD install.
> > "rev-upgrade" in debug mode prints out a lot of stuff & so why I say
> > "off-list"... - MLD
> >
> > On Mon, Jan 29, 2018, at 3:39 AM, Vipin Sharma wrote:
> > > I am trying to install GnuRadio on MacBook Pro (13" Late 2013) with
> Mac OS X 10.12. I am using MacPorts to install. Upon executing 'sudo ports
> install gnuradio' everything goes fine until "Building uhd" stage appears.
> > >
> > > I get this error:
> > >
> > > --->  Installing gnuradio @3.7.11_6+docs+grc+jack+
> log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> > > --->  Activating gnuradio @3.7.11_6+docs+grc+jack+
> log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> > > [snip]
> > > --->  Found 76 broken files, matching files to ports
> > > Error: Port uhd is still broken after rebuilding it more than 3 times.
> > > Error: Please run port -d -y rev-upgrade and use the output to report
> a bug.
> > > Error: rev-upgrade failed: Port uhd still broken after rebuilding 3
> times
> > > Error: Follow https://guide.macports.org/#project.tickets to report a
> bug.
>
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-29 Thread Michael Dickens
I can now replicate the issue locally, so I don't need your rev-upgrade log. 
The issue is that a dependency, gpsd, was recently updated in MacPorts & the 
update somehow changed the self-id of the primary library -- was 
"${prefix}/lib/libgpsd.dylib" and now is just "libgpsd.dylib", which won't 
work. The issue has nothing to do with UHD coding per se; it's about a 
dependency that's messing things up for UHD linking. I'm looking into a fix. - 
MLD

On Mon, Jan 29, 2018, at 9:51 AM, Michael Dickens wrote:
> Hi Vipin - Can you execute:
> {{{
> sudo port -d -y rev-upgrade > ~/Desktop/uhd_rev.txt 2>&1
> bzip2 ~/Desktop/uhd_rev.txt
> }}}
> then send me off-list the resulting file? That's going to be the easiest 
> way for me to debug what's going on. The basic issue is that 'port' is 
> finding library linkage inconsistencies (1 or more) in the UHD install. 
> "rev-upgrade" in debug mode prints out a lot of stuff & so why I say 
> "off-list"... - MLD
> 
> On Mon, Jan 29, 2018, at 3:39 AM, Vipin Sharma wrote:
> > I am trying to install GnuRadio on MacBook Pro (13" Late 2013) with Mac OS 
> > X 10.12. I am using MacPorts to install. Upon executing 'sudo ports install 
> > gnuradio' everything goes fine until "Building uhd" stage appears. 
> > 
> > I get this error:
> > 
> > --->  Installing gnuradio 
> > @3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> > --->  Activating gnuradio 
> > @3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> > [snip]
> > --->  Found 76 broken files, matching files to ports
> > Error: Port uhd is still broken after rebuilding it more than 3 times.
> > Error: Please run port -d -y rev-upgrade and use the output to report a bug.
> > Error: rev-upgrade failed: Port uhd still broken after rebuilding 3 times
> > Error: Follow https://guide.macports.org/#project.tickets to report a bug.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-29 Thread Michael Dickens
Hi Vipin - Can you execute:
{{{
sudo port -d -y rev-upgrade > ~/Desktop/uhd_rev.txt 2>&1
bzip2 ~/Desktop/uhd_rev.txt
}}}
then send me off-list the resulting file? That's going to be the easiest way 
for me to debug what's going on. The basic issue is that 'port' is finding 
library linkage inconsistencies (1 or more) in the UHD install. "rev-upgrade" 
in debug mode prints out a lot of stuff & so why I say "off-list"... - MLD

On Mon, Jan 29, 2018, at 3:39 AM, Vipin Sharma wrote:
> I am trying to install GnuRadio on MacBook Pro (13" Late 2013) with Mac OS X 
> 10.12. I am using MacPorts to install. Upon executing 'sudo ports install 
> gnuradio' everything goes fine until "Building uhd" stage appears. 
> 
> I get this error:
> 
> --->  Installing gnuradio 
> @3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> --->  Activating gnuradio 
> @3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq
> [snip]
> --->  Found 76 broken files, matching files to ports
> Error: Port uhd is still broken after rebuilding it more than 3 times.
> Error: Please run port -d -y rev-upgrade and use the output to report a bug.
> Error: rev-upgrade failed: Port uhd still broken after rebuilding 3 times
> Error: Follow https://guide.macports.org/#project.tickets to report a bug.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] gnu radio installation on Mac via MacPorts

2018-01-29 Thread Vipin Sharma
Hi,

I am trying to install GnuRadio on MacBook Pro (13" Late 2013) with Mac OS
X 10.12. I am using MacPorts to install. Upon executing 'sudo ports install
gnuradio' everything goes fine until "Building uhd" stage appears.

I get this error:

--->  Installing gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Activating gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

--->  Cleaning gnuradio

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  Found 76 broken files, matching files to ports

--->  Found 1 broken port, determining rebuild order

You can always run 'port rev-upgrade' again to fix errors.

The following ports will be rebuilt: uhd @3.10.2.0
+docs+examples+gpsd+libusb+manpages+manual+python27+test

Continue? [Y/n]: Y

--->  Computing dependencies for uhd

--->  Cleaning uhd

--->  Scanning binaries for linking errors

--->  Found 76 broken files, matching files to ports

--->  Found 1 broken port, determining rebuild order

--->  Rebuilding in order

 uhd @3.10.2.0 +docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Computing dependencies for uhd

--->  Fetching distfiles for uhd

--->  Verifying checksums for uhd

--->  Extracting uhd

--->  Applying patches to uhd

--->  Configuring uhd

--->  Building uhd

--->  Staging uhd into destroot

--->  Unable to uninstall uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test, the
following ports depend on it:

--->  gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

Warning: Uninstall forced.  Proceeding despite dependencies.

--->  Deactivating uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Uninstalling uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Computing dependencies for uhd

--->  Installing uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Activating uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  Found 76 broken files, matching files to ports

--->  Found 1 broken port, determining rebuild order

--->  Rebuilding in order

 uhd @3.10.2.0 +docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Computing dependencies for uhd

--->  Fetching distfiles for uhd

--->  Verifying checksums for uhd

--->  Extracting uhd

--->  Applying patches to uhd

--->  Configuring uhd

--->  Building uhd

--->  Staging uhd into destroot

--->  Unable to uninstall uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test, the
following ports depend on it:

--->  gnuradio
@3.7.11_6+docs+grc+jack+log4cpp+logging+portaudio+qtgui+sdl+swig+uhd+wavelet+zeromq

Warning: Uninstall forced.  Proceeding despite dependencies.

--->  Deactivating uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Uninstalling uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Computing dependencies for uhd

--->  Installing uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Activating uhd
@3.10.2.0_1+docs+examples+gpsd+libusb+manpages+manual+python27+test

--->  Cleaning uhd

--->  Updating database of binaries

--->  Scanning binaries for linking errors

--->  Found 76 broken files, matching files to ports

Error: Port uhd is still broken after rebuilding it more than 3 times.

Error: Please run port -d -y rev-upgrade and use the output to report a bug.

Error: rev-upgrade failed: Port uhd still broken after rebuilding 3 times

Error: Follow https://guide.macports.org/#project.tickets to report a bug.

--->  Some of the ports you installed have notes:

  coreutils has the following notes:

The tools provided by GNU coreutils are prefixed with the character 'g'
by default to distinguish

them from the BSD commands.

For example, cp becomes gcp and ls becomes gls.



If you want to use the GNU tools by default, add this directory to the
front of your PATH

environment variable:

/opt/local/libexec/gnubin/

  dbus has the following notes:




# Startup items have been generated that will aid in

# starting dbus with launchd. They are disabled

# by default. Execute the following commands to start them,

# and to cause them to launch at startup:

#

# sudo launchctl load -w
/Library/LaunchDaemons/org.freedesktop.dbus-system.plist

# launchctl load -w
/Library/LaunchAgents/org.freedesktop.dbus-session.plist




  gpsd has the following notes:

The xgps variant is now needed to