I am trying to build GR with PyBOMBS and apart from problems with the build
system itself (it would not start properly when python3 is used) I get the
following error not far away (85% complete) from the end of the build:

[ 85%] Building CXX object gr-uhd/swig/CMakeFiles/_uhd_sw
ig.dir/uhd_swigPYTHON_wrap.cxx.o
/home/pswiatki/devel/gr/default/src/gnuradio/build/gr-uhd/swig/uhd_swigPYTHON_wrap.cxx:
In function 'PyObject* _wrap_time_spec_t_get_system_time(PyObject*,
PyObject*)':
/home/pswiatki/devel/gr/default/src/gnuradio/build/gr-uhd/
swig/uhd_swigPYTHON_wrap.cxx:19850:34: error: 'get_system_time' is not a
member of 'uhd::time_spec_t'
       result = uhd::time_spec_t::get_system_time();
                                  ^~~~~~~~~~~~~~~
make[2]: *** [gr-uhd/swig/CMakeFiles/_uhd_swig.dir/build.make:71:
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/uhd_swigPYTHON_wrap.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:13301:
gr-uhd/swig/CMakeFiles/_uhd_swig.dir/all]
Error 2
make: *** [Makefile:163: all] Error 2
PyBOMBS.Packager.source - ERROR - Build failed. See output above for error
messages.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package
gnuradio:
Build failed.
PyBOMBS.install_manager - ERROR - Error installing package gnuradio.
Aborting.

I tried building with python3 (3.6) and also with python2 (2.7). It fails
at exactly the same point.

Interestingly, I read this at
http://files.ettus.com/manual/classuhd_1_1time__spec__t.html:

static time_spec_t
<http://files.ettus.com/manual/classuhd_1_1time__spec__t.html>
uhd::time_spec_t::get_system_time ( void  ) static

DEPRECATED – Will get removed from UHD in future versions.

Get the system time in time_spec_t
<http://files.ettus.com/manual/classuhd_1_1time__spec__t.html> format. Uses
the highest precision clock available.

So, can it be it actually got removed and there is some incompatibility
between UHD and GR?

By the way, ByBOMBS pulled these commits from the respective repositories:

UHD:
commit 4844f66dccaa71da102b02bba7b8caf8f84a932c (HEAD -> master,
origin/master)
Author: Trung N Tran <trung.n.t...@ni.com>
Date:   Wed Mar 14 08:31:33 2018 -0700

GNU Radio:
commit 273392bda86688194df03cd1c3eef0819236b3b3 (HEAD -> master,
origin/master, origin/HEAD)
Author: japm48 <jap...@users.noreply.github.com>
Date:   Thu Mar 15 14:37:40 2018 +0100

What am I doing wrong?
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to