bastibl / instant-gnuradio

Customizable GNU Radio Environment for Live Images and VMs
160 stars 34 forks source link

instant-gnuradio build fails during bladeRF configuration #16

Closed jkbecker closed 5 years ago

jkbecker commented 5 years ago

Hi Basti,

I just rebuilt the VM from the most recent master branch, and I'm getting this (full install log linked, pointing to the error): https://gist.github.com/jkbecker/9a9a8f6ad65a982ec2e09b71ec7e464d#file-make-log-L1227

I'll look into it in the meantime, but maybe it's a very obvious issue to you...?

Cheers, Johannes

bastibl commented 5 years ago

I'm also rebuilding atm. Nuand split udev rules in several files

sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf1.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf1.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf2.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf2.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bootloader.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bootloader.rules
jkbecker commented 5 years ago

Sweet. And an asterisk in the line after as well, right?

sudo cp pybombs/src/bladeRF/host/misc/udev/88-nuand*.rules /etc/udev/rules.d/
bastibl commented 5 years ago

This line needs to be deleted. It directly pipes it to /etc

### BLADERF
pybombs -v install bladeRF
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf1.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf1.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf2.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf2.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bootloader.rules.in | sudo tee pybombs/src/bladeRF/host/misc/udev/88-nuand-bootloader.rules
jkbecker commented 5 years ago

Wait, I'm confused... shouldn't these lines read as follows then (tee'ing to /etc)?

### BLADERF
pybombs -v install bladeRF
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf1.rules.in | sudo tee /etc/udev/rules.d/88-nuand-bladerf1.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bladerf2.rules.in | sudo tee /etc/udev/rules.d/88-nuand-bladerf2.rules
sed 's/@BLADERF_GROUP@/plugdev/g' pybombs/src/bladeRF/host/misc/udev/88-nuand-bootloader.rules.in | sudo tee /etc/udev/rules.d/88-nuand-bootloader.rules
bastibl commented 5 years ago

arg, you're right... I don't have a BladeRF to test :-/

jkbecker commented 5 years ago

Me neither! I just want it to build, mostly ;)

bastibl commented 5 years ago

OK :-) The other stuff worked for me earlier today. I'm trying to add support for the Pluto and then push the changes.

jkbecker commented 5 years ago

Ah, cool!

Building without issues for me now.

bastibl commented 5 years ago

Great, I'll close this then. Thanks!