You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i 's/2\.6/3.6/g' setup_env.sh
sed -i 's/2\.7/3/g' setup_env.sh
Edit gnuradio recipe
Edit ~/.pybombs/recipes/gr-recipes/gnuradio.lwr
In gnuradio.lwr recipe file, add "-DENABLE_CTRLPORT_THRIFT=OFF" in "config_opt".
vars: # We explicitly enable some subcomponents to make sure the build fails if they're not working:
config_opt: " -DENABLE_DOXYGEN=$builddocs -DENABLE_GR_AUDIO=ON -DENABLE_GR_BLOCKS=ON -DENABLE_GR_DIGITAL=ON -DENABLE_GR_FEC=ON -DENABLE_GR_FFT=ON -DENABLE_GR_FILTER=ON -DENABLE_GR_QTGUI=ON -DENABLE_GR_UHD=ON -DENABLE_PYTHON=ON -DENABLE_VOLK=ON -DENABLE_GRC=ON -DENABLE_CTRLPORT_THRIFT=OFF "
mocha@hoto:~/maint381$ pybombs remove soapysdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.7.3
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.remove - INFO - Removing package soapysdr.
mocha@hoto:~/maint381$ pybombs install soapysdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.7.3
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- soapysdr
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: soapysdr
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
Cloning into 'soapysdr'...
Note: checking out '5838bc91da57b5863486fdcc26157fd2f45439d1'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
PyBOMBS.Packager.apt - INFO - Install python-apt to speed up apt processing.
Configuring: (100%) [================================================================================================================================]
Building: (100%) [================================================================================================================================]
[ 61%] Built target SoapySDR
[ 72%] Built target SoapySDRUtil
[ 77%] Built target TestFormatParser
[ 83%] Built target TestTimeConversion
[ 88%] Built target TestKwargsMarkup
[ 91%] Built target docs
[ 94%] Linking CXX shared module _SoapySDR.so
/usr/bin/ld: /home/mocha/.pyenv/versions/3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(ceval.o): relocation R_X86_64_PC32 against symbol `_PyRuntime' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
python/CMakeFiles/_SoapySDR.dir/build.make:104: recipe for target 'python/_SoapySDR.so' failed
make[2]: *** [python/_SoapySDR.so] Error 1
CMakeFiles/Makefile2:415: recipe for target 'python/CMakeFiles/_SoapySDR.dir/all' failed
make[1]: *** [python/CMakeFiles/_SoapySDR.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2
PyBOMBS.Packager.source - ERROR - Build failed. See output above for error messages.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package soapysdr:
Build failed.
PyBOMBS.install_manager - ERROR - Error installing package soapysdr. Aborting.
mocha@hoto:~/maint382$ pybombs install gr-osmosdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.9
......
yBOMBS.install_manager - INFO - Installing package: gr-iqbal
PyBOMBS.GitCacheManager - ERROR - Trying to add another remote with same name gr-iqbal
Cloning into 'gr-iqbal'...
Configuring: (100%) [============================================================================================================]
Building: (100%) [============================================================================================================]
Installing: (100%) [============================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
PyBOMBS.install_manager - INFO - Installing package: gr-osmosdr
PyBOMBS.GitCacheManager - ERROR - Trying to add another remote with same name gr-osmosdr
Cloning into 'gr-osmosdr'...
Configuring: (100%) [============================================================================================================]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity.
-- Extracting version information from git describe...
-- Configuring Boost C++ Libraries...
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- thread
-- system
-- chrono
-- date_time
-- atomic
-- Checking for module 'gmp'
-- No package 'gmp' found
-- Checking for module 'mpir >= 3.0'
-- No package 'mpir' found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR)
-- Checking for module 'gnuradio-iqbalance'
-- No package 'gnuradio-iqbalance' found
-- Found gnuradio-uhd: /home/mocha/maint382/include, /home/mocha/maint382/lib/libgnuradio-uhd.so
-- Found gnuradio-fcd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-fcd.so
-- Checking for module 'gnuradio-fcdproplus'
-- No package 'gnuradio-fcdproplus' found
-- gnuradio-fcdproplus not found.
-- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES GNURADIO_FCDPP_INCLUDE_DIRS)
-- Checking for module 'libmirisdr'
-- No package 'libmirisdr' found
-- libmirisdr not found.
-- Checking for module 'libfreesrp'
-- No package 'libfreesrp' found
-- libfreesrp not found.
CMake Error at CMakeLists.txt:179 (message):
GnuRadio Runtime required to build gr-osmosdr
-- Configuring incomplete, errors occurred!
See also "/home/mocha/maint382/src/gr-osmosdr/build/CMakeFiles/CMakeOutput.log".
See also "/home/mocha/maint382/src/gr-osmosdr/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gr-osmosdr:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gr-osmosdr. Aborting.
mocha@hoto:~/maint382$ pybombs refetch gr-osmosdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.9
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.refetch - INFO - Downloading source for package gr-osmosdr
Fetching origin
Branch 'gr3.8' set up to track remote branch 'gr3.8' from 'origin'.
Switched to a new branch 'gr3.8'
HEAD is now at 46698a67e7 Updates yet to classify ...
mocha@hoto:~/maint382$ pybombs remove gr-osmosdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.9
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.remove - INFO - Removing package gr-osmosdr.
mocha@hoto:~/maint382$ pybombs install gr-osmosdr
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 3.6.9
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gr-osmosdr
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gr-osmosdr
PyBOMBS.GitCacheManager - ERROR - Trying to add another remote with same name gr-osmosdr
Cloning into 'gr-osmosdr'...
Configuring: (100%) [============================================================================================================]
Building: (100%) [============================================================================================================]
Installing: (100%) [============================================================================================================]
PyBOMBS.install_manager - INFO - Installation successful.
sharo@kirima:~/maint381$ pybombs install gnuradio
PyBOMBS.ConfigManager - INFO - Prefix Python version is: 2.7.15
PyBOMBS - INFO - PyBOMBS Version 2.3.3
PyBOMBS.install_manager - INFO - Phase 1: Creating install tree and installing binary packages:
Install tree:
|
\- gnuradio
PyBOMBS.install_manager - INFO - Phase 2: Recursively installing source packages to prefix:
PyBOMBS.install_manager - INFO - Installing package: gnuradio
PyBOMBS.PackageManager - WARNING - A source build for package gnuradio was requested, but binary install was found!
Install gnuradio from source despite binary install available Y/[N]? Y
PyBOMBS.Packager.source - WARNING - Build dir already exists: /home/sharo/maint381/src/gnuradio/build
Configuring: (100%) [==========================================================================================]
PyBOMBS.Packager.source - WARNING - Configuration failed. Re-trying with higher verbosity.
-- Build type set to RelWithDebInfo.
-- Extracting version information from git describe...
-- Compiler Version: cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- Compiler Flags: /usr/bin/cc:::-O2 -g -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
/usr/bin/c++:::-O2 -g -DNDEBUG -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized
-- ADDING PERF COUNTERS
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- date_time
-- program_options
-- filesystem
-- system
-- regex
-- thread
-- unit_test_framework
-- chrono
-- atomic
-- User set python executable /home/sharo/.pyenv/shims/python3.6
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable exact version "3.6.9")
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.9", minimum required is "2.7.6")
-- Python checking for six - python 2 and 3 compatibility library - found
--
-- Checking for module SWIG
-- Found SWIG version 3.0.12.
--
-- The build system will automatically enable all components.
-- Use -DENABLE_DEFAULT=OFF to disable components by default.
--
-- Configuring python-support support...
-- Dependency PYTHONLIBS_FOUND = TRUE
-- Dependency SWIG_FOUND = TRUE
-- Dependency SWIG_VERSION_CHECK = TRUE
-- Dependency SIX_FOUND = TRUE
-- Enabling python-support support.
-- Override with -DENABLE_PYTHON=ON/OFF
--
-- Configuring testing-support support...
-- Dependency Boost_FOUND = 1
-- Enabling testing-support support.
-- Override with -DENABLE_TESTING=ON/OFF
--
-- Configuring VOLK support...
-- Build type set to RelWithDebInfo.
-- Extracting version information from git describe...
--
-- Python checking for python >= 2.7
-- Python checking for python >= 2.7 - found
--
-- Python checking for mako >= 0.4.2
-- Python checking for mako >= 0.4.2 - not found
--
-- Python checking for six - python 2 and 3 compatibility library
-- Python checking for six - python 2 and 3 compatibility library - found
CMake Error at volk/CMakeLists.txt:93 (message):
Mako templates required to build VOLK
-- Configuring incomplete, errors occurred!
See also "/home/sharo/maint381/src/gnuradio/build/CMakeFiles/CMakeOutput.log".
See also "/home/sharo/maint381/src/gnuradio/build/CMakeFiles/CMakeError.log".
PyBOMBS.Packager.source - ERROR - Configuration failed after running at least twice.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio:
Configuration failed
PyBOMBS.install_manager - ERROR - Error installing package gnuradio. Aborting.
sharo@kirima:~/maint381$ gnuradio-companion
WARNING:gnuradio.grc.core.platform:Slow YAML loading (libyaml not available)
<<< Welcome to GNU Radio Companion 3.8.0.0 >>>