Package Details: gnuradio-iio-git 20170705-1

Git Clone URL: https://aur.archlinux.org/gnuradio-iio-git.git (read-only, click to copy)
Package Base: gnuradio-iio-git
Description: IIO blocks for GNU Radio
Upstream URL: https://github.com/analogdevicesinc/gr-iio
Licenses: GPL3
Conflicts: gnuradio-iio
Provides: gnuradio-iio
Submitter: keenerd
Maintainer: keenerd
Last Packager: keenerd
Votes: 4
Popularity: 0.036442
First Submitted: 2017-08-23 19:32
Last Updated: 2017-08-23 20:30

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

funky-captain commented on 2020-03-21 11:47

Hi, i changed the PKBBUILD regarding your sugggestion. It now builds. Also I changed the pyhon version to 3. The block description .yml gets intalled into to wrong directory (/usr/share/gr-iio/grc/blocks/ instead of /usr/share/gnuradio/grc/blocks/). When I link the files into the new directory I can add it in GCR. Unfortunately I get the following error:

usr/lib/python3.8/site-packages/gnuradio/qtgui/range.py:41: SyntaxWarning: "is not" with a literal. Did you mean "!="? precision = len(temp) if temp is not '0' else 0 Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/iio/init.py", line 30, in <module> from .iio_swig import * File "/usr/lib/python3.8/site-packages/iio/iio_swig.py", line 13, in <module> from . import _iio_swig ImportError: /usr/lib/libgnuradio-iio.so...: undefined symbol: _ZN5boost6chrono12steady_clock3nowEv

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/argos/ewef.py", line 33, in <module> import iio File "/usr/lib/python3.8/site-packages/iio/init.py", line 36, in <module> from .iio_swig import *

Here is the MAKEPKG File: Can you help?

Maintainer: Kyle Keen keenerd@gmail.com?

pkgname=gnuradio-iio-git _gitname=gr-iio pkgver=20200225 pkgrel=1 pkgdesc="IIO blocks for GNU Radio" url="https://github.com/analogdevicesinc/gr-iio" arch=('i686' 'x86_64') license=('GPL3') depends=('libad9361-iio') makedepends=('git' 'cmake' 'boost' 'swig') provides=('gnuradio-iio') conflicts=('gnuradio-iio') source=("git+https://github.com/analogdevicesinc/gr-iio.git#branch=upgrade-3.8") md5sums=('SKIP')

pkgver() { cd "$_gitname" git show -s --format="%ci" HEAD | sed -e 's/-//g' -e 's/ .*//' }

build() { cd "$_gitname" mkdir -p build cd build export PYTHON=python3 cmake \ -DPYTHON_EXECUTABLE=$(which python3) \ -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python3) \ -DPYTHON_LIBRARY=$(echo /usr/lib/libpython3..so) \ -DCMAKE_INSTALL_PREFIX=/usr -Wno-dev ../ make }

package() { cd "$_gitname/build" make DESTDIR="${pkgdir}" install }

rgrunbla commented on 2020-03-21 09:00

Hi,

if you replace the source line with source=("git+https://github.com/analogdevicesinc/gr-iio.git#branch=upgrade-3.8") everything should works fine (see https://github.com/analogdevicesinc/gr-iio/pull/57 )

DonOregano commented on 2019-12-23 23:01

I've managed to get it to build against gnuradio 3.8, with the PGKBUILD and patch that you can find here: https://gist.github.com/DonOregano/d45b84163fad7e9568befbc047b37c26

However, I cannot get it to work in gnuradio. I get the following error from GR: thread[thread-per-block[0]: <block fmcomms2_source(3)>]: pmt_to_long: wrong_type : #f

Anyone have any ideas?

funky-captain commented on 2019-11-11 13:49

Any chance to provide a fix?

juliosddr commented on 2019-09-21 09:33

.cache/yay/gnuradio-iio-git/src/gr-iio/lib/iio_math_impl.cc:30:10: fatal error: gnuradio/analog/sig_source_f.h: No such file or directory 30 | #include <gnuradio/analog/sig_source_f.h> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~