Package Details: gnuradio-git v3.

Git Clone URL: (read-only)
Package Base: gnuradio-git
Description: General purpose DSP and SDR toolkit. With drivers for usrp and fcd.
Upstream URL:
Licenses: GPL
Conflicts: gnuradio
Provides: gnuradio
Submitter: None
Maintainer: asdil12
Last Packager: asdil12
Votes: 21
Popularity: 1.400763
First Submitted: 2010-08-05 12:14
Last Updated: 2016-04-26 09:50

Dependencies (35)

Required by (23)

Sources (1)

Latest Comments

asdil12 commented on 2016-04-26 09:50

scotchnsoda: applied the changes

scotchnsoda commented on 2016-04-26 02:59

The pkgbuild is still out of date. As keenerd said, need to add 'libvolk' to depends, and remove line 41-44 ( all the stuff about pulling volk submodule). The flag -DENABLE_INTERNAL_VOLK=OFF should be added too.

Also, they restructured the grc/ directory. pkgbuild also needs the following edits.
line 46:
sed -i -e "s|GR_PKG_LIBEXEC_DIR|GR_RUNTIME_DIR|" grc/scripts/freedesktop/CMakeLists.txt
line 70:
cd "$srcdir/$_gitname/grc/freedesktop"

keenerd commented on 2016-03-23 23:00

Volk has issues when building with cmake 3.5. I've created a libvolk-git package to fix this. (And will be making an official volk package for the repositories.) Could you remove the submodules stuff, add 'libvolk' to the depends, and use the -DENABLE_INTERNAL_VOLK=OFF switch?

asdil12 commented on 2015-04-17 06:36

@keenerd: updated

keenerd commented on 2015-04-16 23:26

Here is an updated pkgbuild:

dack commented on 2014-08-27 19:57

A couple of dependency issues:

- wxpython optional dependency should be wxpython2.8. AFAIK gnuradio does not support wxpython 3.0
- there is on optional dependency on pyxml, which does not exist in arch or AUR.

kg4cjv commented on 2014-08-23 21:32

please add python2-cheetah to dependencies.

asdil12 commented on 2014-05-24 06:29

This is a git pkg so the testsuite may contain fails.

If you want to skip the testsuite, there is a yaourt/makepkg option (something like --nocheck).

alfonzo1955 commented on 2014-05-23 20:45


I got the same error, just comment out the "make test" line in the PKGBUILD

Manouchehri commented on 2014-05-23 07:45

98% tests passed, 4 tests failed out of 188

Total Test time (real) = 186.42 sec

The following tests FAILED:
88 - qa_freq_xlating_fft_filter (Failed)
186 - qa_zeromq_pub (Failed)
187 - qa_zeromq_reqrep (Failed)
188 - qa_zeromq_pushpull (Failed)

pghpete commented on 2014-04-23 03:03

If anyone is having trouble with building this, getting a message about "Unix Makefiles". CMAKE_MAKE_PROGRAM is not set.", I solved it by "pacman -S basebuild cheetah" and then the build went sucessuflly.

Hopefully this helps someone else out there too.

Regards! --pghpete

scap1784 commented on 2013-09-24 17:16

The qa_qtgui module is failing. When I run it manually in gdb and bt
after the segfault I get.

#0 0x00007fffedcd360a in QString::fromLocal8Bit(char const*, int) ()
from /lib64/
#1 0x00007fffedd8fc61 in QCoreApplication::arguments() () from
#2 0x00007fffee335c3a in ?? () from /lib64/
#3 0x00007fffee3367d5 in ?? () from /lib64/
#4 0x00007fffec819c38 in _SmcProcessMessage () from /lib64/
#5 0x00007fffec60aa26 in IceProcessMessages () from /lib64/
#6 0x00007fffedda1b48 in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /lib64/
#7 0x00007fffeddec57e in QSocketNotifier::activated(int) () from
#8 0x00007fffeddaa92b in QSocketNotifier::event(QEvent*) () from
#9 0x00007fffee2bd12c in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /lib64/
#10 0x00007fffee2c36f0 in QApplication::notify(QObject*, QEvent*) ()
from /lib64/
#11 0x00007fffedd8debd in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /lib64/
#12 0x00007fffeddbb780 in ?? () from /lib64/
#13 0x00007fffed18ad96 in g_main_context_dispatch () from
#14 0x00007fffed18b0e8 in ?? () from /lib64/
#15 0x00007fffed18b18c in g_main_context_iteration () from
#16 0x00007fffeddbab25 in
() from /lib64/
#17 0x00007fffee35a266 in ?? () from /lib64/
#18 0x00007fffedd913ef in
() from /lib64/
#19 0x00007fffef5e97fe in
SpectrumGUIClass::openSpectrumWindow(QWidget*, bool, bool, bool, bool)
from /home/scap/code/radio/gnuradio-git/src/gnuradio/build/gr-qtgui/lib/
#20 0x00007fffef5ee75d in gr::qtgui::sink_c_impl::initialize() ()
from /home/scap/code/radio/gnuradio-git/src/gnuradio/build/gr-qtgui/lib/
#21 0x00007fffef5eefc4 in gr::qtgui::sink_c_impl::sink_c_impl(int,
int, double, double, std::string const&, bool, bool, bool, bool,
QWidget*) () from
#22 0x00007fffef5ef147 in gr::qtgui::sink_c::make(int, int, double,
double, std::string const&, bool, bool, bool, bool, QWidget*) ()
from /home/scap/code/radio/gnuradio-git/src/gnuradio/build/gr-qtgui/lib/
#23 0x00007fffef8f0aa9 in _wrap_sink_c_make ()
from /home/scap/code/radio/gnuradio-git/src/gnuradio/build/gr-qtgui/python/qtgui/../../swig/
#24 0x00007ffff7af8ad4 in PyEval_EvalFrameEx () from
#25 0x00007ffff7afa290 in PyEval_EvalCodeEx () from /usr/lib/
#26 0x00007ffff7af9489 in PyEval_EvalFrameEx () from
#27 0x00007ffff7af9552 in PyEval_EvalFrameEx () from
#28 0x00007ffff7afa290 in PyEval_EvalCodeEx () from /usr/lib/
Any ideas?

Nidhogg commented on 2013-07-21 07:58

I included -j1 as you said. But, tests are still failing. This is my output:

97% tests passed, 5 tests failed out of 173

Total Test time (real) = 268.11 sec

The following tests FAILED:
1 - qa_volk_test_all (Failed)
22 - qa_udp_source_sink (Failed)
76 - qa_fir_filter (Failed)
79 - qa_freq_xlating_fir_filter (Failed)
167 - qa_codec2_vocoder (Failed)
Errors while running CTest
make: *** [test] Error 8

Nidhogg commented on 2013-07-21 07:57

Tests are still failing. This is my cmake output:

97% tests passed, 5 tests failed out of 173

Total Test time (real) = 268.11 sec

The following tests FAILED:
1 - qa_volk_test_all (Failed)
22 - qa_udp_source_sink (Failed)
76 - qa_fir_filter (Failed)
79 - qa_freq_xlating_fir_filter (Failed)
167 - qa_codec2_vocoder (Failed)
Errors while running CTest
make: *** [test] Error 8

simeonfelis commented on 2013-07-19 21:03

@Nidhogg: use -j1 in makeflags (/etc/makepkg.conf). Tests worked after that

Nidhogg commented on 2013-04-30 06:32

The various plot tools gr_plot_* require python2-matplotlib. Therefore, shouldn't python2-matplotlib be included in the Optional Dependencies?

asdil12 commented on 2013-04-29 21:09

@bigshot: did you rebuild libuhd with boost 1.53?

bigshot commented on 2013-04-29 19:09


Thanks but unfortunately it doesn't work...
libboost 1.53 installed, ldconfig exeuted, no 1.52 relicts ( )

The same error:
"riferimento non definito a" means "reference not defined to"
It looks like libuhd wants the old 1.52 version of libboost... (yep, sources are fresh downloaded from git without errors)

Nidhogg commented on 2013-04-29 18:19


Worked... Thanks for the quick response!

asdil12 commented on 2013-04-29 15:40

This git pkg may have bugs - if you don't care, you can use the nocheck option (you can disable testsuites even permanantly in makepkg.conf)

Nidhogg commented on 2013-04-29 15:34

Two tests are failing... Following is the error msg:

99% tests passed, 2 tests failed out of 238

Total Test time (real) = 252.93 sec

The following tests FAILED:
1 - qa_volk_test_all (Failed)
95 - qa_udp_source_sink (Failed)
Errors while running CTest
make: *** [test] Error 8
==> ERROR: A failure occurred in check().

asdil12 commented on 2013-04-29 06:35

@bigshot: Make sure that you installed boost 1.53 Or later, run ldconfig and watch for 1.52 relicts.

bigshot commented on 2013-04-29 00:17

Do not compile:
[ 90%] Building CXX object gr-uhd/examples/c++/CMakeFiles/tags_demo.dir/

warning looking for libboost 1.52 (installed 1.53) and then ld error after a lot of not defined references about boost.

ackalker commented on 2013-04-20 12:46

Please update $pkgver to the new naming scheme, yaourt keeps pestering me to upgrade:

==> Software upgrade (new version) :
aur/gnuradio-git 3.6.1git.929.g669614b-1 -> 20130409-2

asdil12 commented on 2013-04-16 11:43

@maze: changed

maze commented on 2013-04-16 11:34

Please clone from in stead

asdil12 commented on 2013-04-11 11:42

@ackalker: already (opt)depending on pyqwt and qwtplot3d which require qwt

asdil12 commented on 2013-04-11 11:42

@ackalker: already depending on pyqwt and qwtplot3d which require qwt

ackalker commented on 2013-04-10 11:41

namcap noticed one more minor nit:
gnuradio-git E: Dependency qwt detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])

ackalker commented on 2013-04-10 11:40

namcap noticed one more minor nit:
gnuradio-git E: Dependency qwt detected and not included (libraries ['usr/lib/'] needed in files ['usr/lib/'])
I think that qwt should best be an optional dependency, as it is not needed by users who don't use the Qt GUI stuff.

Anonymous comment on 2013-02-20 21:25

mfsiher from navyfield ?

asdil12 commented on 2013-02-11 16:07

gnuradio currently only builds with some speciial libboost-versions.

We will have to wait for boost 1.53

asdil12 commented on 2013-02-11 16:02

the boost issue is about:

asdil12 commented on 2013-02-11 15:52

gnuradio currently only builds with some speciial libboost-versions.

I don't know, which version of boost will be considered as stable again.
In the meantime use the gnuradio package insted of gnuradio-git as gnuradio<3.6.4 doesn't has this commit included.

asdil12 commented on 2013-02-11 12:34

got maintainer of this pkg and applied my patches to fix the python-bindings.

@lkoos: python2-lxml and python2-cheetah are optdepends for grc.

asdil12 commented on 2013-02-09 19:54


the gnuradio-guys seem to have a broken version in git atm. Use the gnuradio pkg insted - edit the PKGBUILD, when installing is and add a 'gnuradio-git' to the provides.

nickoe commented on 2013-02-09 19:51

When trying to build qgrx-git I the the following error:

Project ERROR: Package gnuradio-core not found

So it the core not included in this?

lkoos commented on 2013-01-21 04:35

I think python2-lxml and python2-cheetah need to be added to the list of dependencies. They're needed for gnuradio-companion. Also see asdil12's comment about the PKGBUILD patch.

adampolski commented on 2013-01-20 17:36

I think cmake needs to be added to the list of dependencies for this package

Anonymous comment on 2012-12-20 21:15

I believe python2-lxml needs adding to the dependencies!
It is in extra.

asdil12 commented on 2012-11-18 18:15

gnuradio-compantion and all other tools using the python-interface are currently broken, because of

This can be fixed by using this cmake line in the PKGBUILD:
cmake -DPYTHON_EXECUTABLE=$(which python2) -DPYTHON_INCLUDE_DIR=$(echo /usr/include/python2*) DPYTHON_LIBRARY=$(echo /usr/lib/libpython2.*.so) -DCMAKE_INSTALL_PREFIX=/usr ../

rumpelsepp commented on 2012-10-22 14:05

Missing dependencies:

After installing it works.

Limoto commented on 2012-09-12 12:48

Missing dependency: -- Python checking for Cheetah >= 2.0.0
-- Python checking for Cheetah >= 2.0.0 - not found
CMake Error at volk/CMakeLists.txt:66 (message):
Cheetah templates required to build VOLK


Malvineous commented on 2012-08-26 02:50

FYI it looks like this is a bug in the current git version. For the moment (until it is fixed in git) there is a workaround posted in the forum thread which involves changing the cmake command in the PKGBUILD. The issue stems from partially linking with Python3 instead of completely linking with Python2.

Malvineous commented on 2012-08-22 13:34

Has anyone gotten this to work recently? It seems to compile fine but won't run any more:

int0x80 commented on 2012-08-04 04:41

Can we get an official package added to the repos? This is a pretty big/official project, and in the repos of many other distros(debian and gentoo come to mind.)

n17ikh commented on 2012-08-02 18:54

I was banging my head against the wall trying to get this to build, getting boost errors left and right.. However, I figured out my problem: the version of libboost I had installed had been linked against boost 1.49 and was now looking for .so files that don't exist anymore. Rebuilding libuhd from the AUR took care of my problems building gnuradio.

Gringo commented on 2012-07-26 13:32

GNU Radio's C++ manual at [1] supplies a list of the specific dependencies for each module. For the GNU Radio Companion (grc), you need to install Cheetah (python2-cheetah in AUR) and pygtk (available in the extra repository). The configure script will detect these dependencies and will build the grc module automatically.


int0x80 commented on 2012-07-24 23:00

How did you get grc to work?

Gringo commented on 2012-07-12 12:09

I found a workaround, supplied by anstmich, at [1]. It has something to do with a definition in one of the Boost library files, /usr/include/boost/thread/xtime.hpp . If you change the two occurences of UTC_TIME to UTC_TIME_ the package compiles.


int0x80 commented on 2012-07-06 22:07

Cmake throws boost errors. I'm flagging this out of date because the PKGBUILD is clearly not updated to handle changes in the build requirements.

int0x80 commented on 2012-07-06 21:56

Cmake throws boost errors.

Fallback commented on 2012-07-02 08:43

I can't compile it.

nullren commented on 2012-06-18 23:20

i had to install python2-cheetah to get this to build

Anonymous comment on 2012-05-04 17:45

@keenerd: Thx for the feedback.

keenerd commented on 2012-05-04 16:42

A few minor quibbles.
Don't use "command || return 1" or "command1 && command2 && command3". Both of those happen automatically.
Generally it is a good idea to quote "$srcdir" and "$pkgdir", in case of silly people with a space in their build path.
Boost can be demoted to a makedep, and boost-libs added to the depends.

Malvineous commented on 2012-04-28 13:27

Would it be possible to remove ettus-uhd-git as a dependency? It's not necessary if you don't want to use a USRP. Likewise I also had to change "python-numpy" to "python2-numpy".

asdil12 commented on 2012-04-12 08:49

@mfischer: right - just found out, that make already handles the $MAKEFLAGS env var.

Anonymous comment on 2012-04-11 18:18

@asdil12: Thanks for pointing out the issues. However atm if I add the $MAKEFLAGS as suggested test 91 (trellis) fails. I'll have another look at it tomorrow.
Can you confirm this is actually needed to enable parallel builds? Imho the PKGBUILD doc is not entirely clear whether you have to manually *enable* it to benefit from it. I think (maybe that's just my configuration here) makeflags are set unless !makeflags is added to options in the PKGBUILD.

asdil12 commented on 2012-04-11 15:26

please add the $MAKEFLAGS var to enable parallel building as configured in /etc/makepkg.conf - cmake handles the deps right:
make $MAKEFLAGS || return 1

asdil12 commented on 2012-04-11 15:05

please remove the line:
"sed -i -e "s/python/python2/g" $srcdir/${_gitname}/volk/bootstrap"
from package section.

there is no file or dir "bootstrap" in the volk dir.

asdil12 commented on 2012-04-11 14:56

please change git url to "git://"

the http url is timing out

snafu commented on 2012-02-09 16:42

export PYTHON=python2 does not work on my system
proposed fixes:
add cmake-flag: -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
or sudo rm /usr/bin/python; sudo ln -s /usr/bin/python2 /usr/bin/python (before install)

except please change python-numpy to python2-numpy

snafu commented on 2012-02-09 16:32

export PYTHON=python2 does not work on my system…
proposed fixes:
add cmake-flag: -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2
or sudo rm /usr/bin/python; sudo ln -s /usr/bin/python2 /usr/bin/python (before install)

xeroc commented on 2011-12-10 10:53

Please change dependecy ettus-uhd into ettus-uhd-git

Anonymous comment on 2011-06-24 19:05

@keyone: Would you care to remove the comment, and leave it with the right package?

Anonymous comment on 2011-06-24 17:04

libtool: relink: g++ -shared -nostdlib /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/crtbeginS.o .libs/_usrp2_la-usrp2.o -Wl,-rpath -Wl,/usr/lib64 -L/tmp/yaourt-tmp-key/aur-gnuradio/pkg/usr/lib64 -L/usr/lib64 -lgnuradio-usrp2 -lusrp2 -L/usr/lib -lgnuradio-core -lrt -lgruel -lboost_thread -lfftw3f -lgsl -lgslcblas -lcblas -latlas -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.0/../../../../lib/crtn.o -march=core2 -msse4.1 -mtune=core2 -pthread -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,now -Wl,--enable-new-dtags -pthread -Wl,-soname -Wl, -o .libs/
/usr/bin/ld: cannot find -lgnuradio-usrp2
collect2: ld returned 1 exit status
libtool: install: error: relink `' with the above command before installing it
make[4]: *** [install-usrp2_pylibLTLIBRARIES] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: install: /bin/install -c .libs/ /tmp/yaourt-tmp-key/aur-gnuradio/pkg/usr/lib64/
libtool: install: (cd /tmp/yaourt-tmp-key/aur-gnuradio/pkg/usr/lib64 && { ln -s -f || { rm -f && ln -s; }; })
libtool: install: (cd /tmp/yaourt-tmp-key/aur-gnuradio/pkg/usr/lib64 && { ln -s -f || { rm -f && ln -s; }; })
libtool: install: /bin/install -c .libs/libgnuradio-usrp2.lai /tmp/yaourt-tmp-key/aur-gnuradio/pkg/usr/lib64/
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
make[4]: Leaving directory `/tmp/yaourt-tmp-key/aur-gnuradio/src/gnuradio-3.3.0/gr-usrp2/src'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/tmp/yaourt-tmp-key/aur-gnuradio/src/gnuradio-3.3.0/gr-usrp2/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/tmp/yaourt-tmp-key/aur-gnuradio/src/gnuradio-3.3.0/gr-usrp2/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-key/aur-gnuradio/src/gnuradio-3.3.0/gr-usrp2'
make: *** [install-recursive] Error 1

Anonymous comment on 2011-05-25 10:53

ettus-uhd is called ettus-uhd-git apparently

nickoe commented on 2011-04-08 20:01

I can't build, because I am missing 'uhd'.

Anonymous comment on 2010-11-12 08:53

I had something like this ... apparently I forgot to update the pkgbuild:

msg "Replacing filenames to use python2."
find . -type f -print0 | xargs -0 sed -i "s#/usr/bin/env python#/usr/bin/env python2#g"

szym commented on 2010-11-11 22:03

Tested fix for python 2->3 migration:
# before ./bootstrap
export PYTHON=/usr/bin/python2
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')

szym commented on 2010-11-11 22:02

Tested fix for python 2->3 migration:
export PYTHON=/usr/bin/python2
sed -i -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" $(find $srcdir -name '*.py')