Skip to content

Instantly share code, notes, and snippets.

@takurx
Forked from gbevan/INSTALL.md
Last active April 27, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takurx/c4571c2e540bbdc95f52339a07c2f81a to your computer and use it in GitHub Desktop.
Save takurx/c4571c2e540bbdc95f52339a07c2f81a to your computer and use it in GitHub Desktop.
Gnuradio 3.8 on Ubuntu 18.04

Installing gnuradio 3.8 (2019-12-16)

Setup PyBOMBS

sudo apt-get install python-pip python-apt
sudo -H pip install PyBOMBS
mkdir ~/maint38
cd ~/maint38
pybombs auto-config
pybombs recipes add gr-recipes git+https://github.com/gnuradio/gr-recipes.git
pybombs recipes add gr-etcetera git+https://github.com/gnuradio/gr-etcetera.git
pybombs prefix init ~/maint38

Edit setup_env.sh for python3

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 "

Install uhd and prereqs

source ~/maint38/setup_env.sh
pybombs install uhd
sudo apt install git cmake g++ libboost-all-dev libgmp-dev \
  swig python3-numpy python3-mako python3-sphinx python3-lxml \
  doxygen libfftw3-dev libcomedi-dev libsdl1.2-dev libgsl-dev \
  libqwt-qt5-dev libqt5opengl5-dev python3-pyqt5 liblog4cpp5-dev \
  libzmq3-dev python3-yaml python3-click python3-click-plugins \
  libgtk-3-dev libgirepository1.0-dev
pip install six Mako pyyaml pygobject pygi pyqt5

Install gnuradio 3.8

pybombs install gnuradio

Fix gr-osmosdr.lwr

~/.pybombs/recipes/gr-recipes/gr-osmosdr.lwr

category: common
depends:
- uhd
- rtl-sdr
- osmo-sdr
- hackrf
- gnuradio
- gr-iqbal
- bladeRF
- airspy
- soapysdr
description: Interface API independent of the underlying radio hardware
gitbranch: gr3.8
inherit: cmake
# Let's always build this from source, not binaries
#source: git+https://git.osmocom.org/gr-osmosdr
source: git+https://github.com/igorauad/gr-osmosdr.git

Install gr-osmosdr

pybombs install gr-osmosdr

Running gnuradio-companion

source ~/maint38/setup_env.sh
gnuradio-companion
@takurx
Copy link
Author

takurx commented Dec 12, 2019

  • soapy-sdr-0.7.1、タグは使えないっぽい
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.

@takurx
Copy link
Author

takurx commented Dec 12, 2019

pybombs install gr-osmosdrを飛ばしたところ、起動はするけど、各SDRハードからの入力ブロックがないので、あまり使えないぽ。

mocha@hoto:~/maint381$ source ~/maint381/setup_env.sh 
mocha@hoto:~/maint381$ gnuradio-companion 
<<< Welcome to GNU Radio Companion 3.8.0.0 >>>
......

gnuradio/pybombs#553

@takurx
Copy link
Author

takurx commented Dec 12, 2019

It don't need to edit gr-osmosdr.lwr and gr-iqbel and delete this text.

@takurx
Copy link
Author

takurx commented Dec 12, 2019

soapysdr、cloneしても同じエラーなのでpybombsのせいじゃないな

mocha@hoto:~/maint381$ cd ~/Github/SoapySDR/
mocha@hoto:~/Github/SoapySDR$ mkdir build
mocha@hoto:~/Github/SoapySDR$ cd build
mocha@hoto:~/Github/SoapySDR/build$ cmake -DCMAKE_INSTALL_PREFIX=~/maint381 ../
-- The C compiler identification is GNU 7.4.0
-- The CXX compiler identification is GNU 7.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type not specified: defaulting to release.
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components:  doxygen dot 
-- 
-- #############################################
-- ## Begin configuration for Python support...
-- #############################################
-- Enabling optional Python bindings if possible...
-- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12") 
-- SWIG_FOUND: TRUE - 3.0.12
-- Found PythonInterp: /home/mocha/.pyenv/shims/python (found version "3.7.3") 
-- PYTHONINTERP_FOUND: TRUE - 3.7.3
-- PYTHON_EXECUTABLE: /home/mocha/.pyenv/shims/python
-- PYTHON_INSTALL_DIR: ${prefix}/lib/python3.7/site-packages
-- PYTHONLIBS_FOUND: TRUE - 3.7.3
-- PYTHON_INCLUDE_DIRS: /home/mocha/.pyenv/versions/3.7.3/include/python3.7m;/home/mocha/.pyenv/versions/3.7.3/include/python3.7m
-- PYTHON_LIBRARIES: -L/home/mocha/.pyenv/versions/3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu -L/home/mocha/.pyenv/versions/3.7.3/lib -lpython3.7m -lcrypt -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic
-- Performing Test SIZE_T_IS_UNSIGNED_INT
-- Performing Test SIZE_T_IS_UNSIGNED_INT - Failed
-- CMAKE_SWIG_FLAGS=-c++;-threads;-I/home/mocha/Github/SoapySDR/include
-- 
-- #############################################
-- ## Begin configuration for Python3 support...
-- #############################################
-- Enabling optional Python3 bindings if possible...
-- SWIG_FOUND: TRUE - 3.0.12
-- Found Python3Interp: /home/mocha/.pyenv/shims/python3  
-- Could NOT find Python3InterpDbg (missing: PYTHON3_DBG_EXECUTABLE) 
-- PYTHON3INTERP_FOUND: TRUE
-- PYTHON3_EXECUTABLE: /home/mocha/.pyenv/shims/python3
-- PYTHON3_INSTALL_DIR: ${prefix}/lib/python3.7/site-packages
-- Found Python3Libs: -L/home/mocha/.pyenv/versions/3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu -L/home/mocha/.pyenv/versions/3.7.3/lib -lpython3.7m -lcrypt -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic  
-- PYTHON3LIBS_FOUND: TRUE
-- PYTHON3_INCLUDE_DIRS: /home/mocha/.pyenv/versions/3.7.3/include/python3.7m;/home/mocha/.pyenv/versions/3.7.3/include/python3.7m
-- PYTHON3_LIBRARIES: -L/home/mocha/.pyenv/versions/3.7.3/lib/python3.7/config-3.7m-x86_64-linux-gnu -L/home/mocha/.pyenv/versions/3.7.3/lib -lpython3.7m -lcrypt -lpthread -ldl  -lutil -lm  -Xlinker -export-dynamic
-- 
-- ######################################################
-- ## SoapySDR enabled features
-- ######################################################
-- 
 * Library, runtime library v0.8.0-ga489f3dc
 * Apps, command line applications
 * Tests, library unit tests
 * Docs, doxygen documentation
 * Python, python bindings v3.7.3

-- ######################################################
-- ## SoapySDR disabled features
-- ######################################################
-- 
 * Python3, python3 bindings

-- SoapySDR version: v0.8.0-ga489f3dc
-- ABI/so version: v0.8
-- Install prefix: /home/mocha/maint381
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mocha/Github/SoapySDR/build
mocha@hoto:~/Github/SoapySDR/build$ make -j8
Scanning dependencies of target docs
Scanning dependencies of target SoapySDR
[  2%] Generating documentation with doxygen
[  5%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Logger.cpp.o
[ 10%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Registry.cpp.o
[ 10%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Device.cpp.o
[ 13%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Types.cpp.o
[ 15%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Errors.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Factory.cpp.o
[ 21%] Building CXX object lib/CMakeFiles/SoapySDR.dir/NullDevice.cpp.o
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory /home/mocha/Github/SoapySDR/include/SoapySDR
Reading and parsing tag files
Parsing files
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Config.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Config.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Config.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Config.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Constants.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Constants.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/ConverterPrimitives.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/ConverterPrimitives.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/ConverterRegistry.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/ConverterRegistry.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Device.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Device.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Device.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Device.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Errors.h...
[ 23%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Formats.cpp.o
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Errors.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Errors.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Errors.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Formats.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Formats.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Formats.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Formats.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Logger.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Logger.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Logger.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Logger.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Modules.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Modules.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Modules.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Modules.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Registry.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Registry.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Time.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Time.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Time.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Time.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Types.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Types.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Types.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Types.hpp...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Version.h...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Version.h...
Preprocessing /home/mocha/Github/SoapySDR/include/SoapySDR/Version.hpp...
Parsing file /home/mocha/Github/SoapySDR/include/SoapySDR/Version.hpp...
Building group list...
Building directory list...
Building namespace list...
Building file list...
Building class list...
Associating documentation with classes...
Computing nesting relations for classes...
Building example list...
Searching for enumerations...
Searching for documented typedefs...
Searching for members imported via using declarations...
Searching for included using directives...
Searching for documented variables...
Building interface member list...
Building member list...
Searching for friends...
Searching for documented defines...
Computing class inheritance relations...
Computing class usage relations...
Flushing cached template relations that have become invalid...
Computing class relations...
Add enum values to enums...
Searching for member function documentation...
Creating members for template instances...
Building page list...
Search for main page...
Computing page relations...
Determining the scope of groups...
Sorting lists...
Freeing entry tree
Determining which enums are documented
Computing member relations...
Building full member lists recursively...
Adding members to member groups.
Computing member references...
Inheriting documentation...
Generating disk names...
Adding source references...
Adding xrefitems...
Sorting member lists...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
Generating style sheet...
Generating search indices...
Generating example documentation...
Generating file sources...
Generating code for file Config.h...
Generating code for file Config.hpp...
Generating code for file Constants.h...
Generating code for file ConverterPrimitives.hpp...
Generating code for file ConverterRegistry.hpp...
Generating code for file Device.h...
Generating code for file Device.hpp...
Generating code for file Errors.h...
Generating code for file Errors.hpp...
Generating code for file Formats.h...
Generating code for file Formats.hpp...
Generating code for file Logger.h...
Generating code for file Logger.hpp...
Generating code for file Modules.h...
Generating code for file Modules.hpp...
Generating code for file Registry.hpp...
Generating code for file Time.h...
Generating code for file Time.hpp...
Generating code for file Types.h...
Generating code for file Types.hpp...
Generating code for file Version.h...
Generating code for file Version.hpp...
Generating file documentation...
Generating docs for file Config.h...
Generating docs for file Config.hpp...
Generating docs for file Constants.h...
Generating docs for file ConverterPrimitives.hpp...
Generating docs for file ConverterRegistry.hpp...
Generating docs for file Device.h...
Generating docs for file Device.hpp...
Generating docs for file Errors.h...
Generating docs for file Errors.hpp...
[ 26%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ConverterRegistry.cpp.o
Generating docs for file Formats.h...
Generating docs for file Formats.hpp...
Generating docs for file Logger.h...
Generating docs for file Logger.hpp...
Generating docs for file Modules.h...
Generating docs for file Modules.hpp...
Generating docs for file Registry.hpp...
Generating docs for file Time.h...
Generating docs for file Time.hpp...
Generating docs for file Types.h...
Generating docs for file Types.hpp...
Generating docs for file Version.h...
Generating docs for file Version.hpp...
Generating page documentation...
Generating docs for page deprecated...
Generating group documentation...
Generating class documentation...
Generating docs for compound SoapySDRArgInfo...
Generating docs for compound SoapySDRKwargs...
Generating docs for compound SoapySDRRange...
Generating namespace index...
Generating docs for namespace SoapySDR
Generating docs for compound SoapySDR::ArgInfo...
Generating docs for compound SoapySDR::ConverterRegistry...
Generating docs for compound SoapySDR::Device...
[ 28%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DefaultConverters.cpp.o
Generating docs for compound SoapySDR::Range...
Generating docs for compound SoapySDR::Registry...
Generating docs for namespace SoapySDR::Detail
Generating graph info page...
Generating directory documentation...
Generating index page...
Generating page index...
Generating module index...
Generating namespace index...
Generating namespace member index...
Generating annotated compound index...
Generating alphabetical compound index...
Generating hierarchical class index...
Generating graphical class hierarchy...
Generating member index...
Generating file index...
Generating file member index...
Generating example index...
finalizing index lists...
writing tag file...
Running dot...
Running dot for graph 1/1
lookup cache used 696/65536 hits=4040 misses=703
finished...
[ 28%] Built target docs
[ 31%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TypesC.cpp.o
[ 34%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ModulesC.cpp.o
[ 36%] Building CXX object lib/CMakeFiles/SoapySDR.dir/VersionC.cpp.o
[ 39%] Building CXX object lib/CMakeFiles/SoapySDR.dir/DeviceC.cpp.o
[ 42%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FactoryC.cpp.o
[ 44%] Building CXX object lib/CMakeFiles/SoapySDR.dir/LoggerC.cpp.o
[ 47%] Building CXX object lib/CMakeFiles/SoapySDR.dir/TimeC.cpp.o
[ 50%] Building CXX object lib/CMakeFiles/SoapySDR.dir/ErrorsC.cpp.o
[ 52%] Building CXX object lib/CMakeFiles/SoapySDR.dir/FormatsC.cpp.o
[ 55%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Modules.cpp.o
[ 57%] Building CXX object lib/CMakeFiles/SoapySDR.dir/Version.cpp.o
[ 60%] Linking CXX shared library libSoapySDR.so
[ 60%] Built target SoapySDR
Scanning dependencies of target TestFormatParser
Scanning dependencies of target SoapySDRUtil
Scanning dependencies of target TestConvertTypes
Scanning dependencies of target TestKwargsMarkup
Scanning dependencies of target TestTimeConversion
[ 63%] Swig source
[ 65%] Building CXX object tests/CMakeFiles/TestFormatParser.dir/TestFormatParser.cpp.o
[ 68%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRUtil.cpp.o
[ 73%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapySDRProbe.cpp.o
[ 73%] Building CXX object tests/CMakeFiles/TestConvertTypes.dir/TestConvertTypes.cpp.o
[ 76%] Building CXX object tests/CMakeFiles/TestKwargsMarkup.dir/TestKwargsMarkup.cpp.o
[ 78%] Building CXX object apps/CMakeFiles/SoapySDRUtil.dir/SoapyRateTest.cpp.o
[ 81%] Building CXX object tests/CMakeFiles/TestTimeConversion.dir/TestTimeConversion.cpp.o
[ 84%] Linking CXX executable TestTimeConversion
[ 84%] Built target TestTimeConversion
[ 86%] Linking CXX executable TestFormatParser
[ 86%] Built target TestFormatParser
[ 89%] Linking CXX executable TestKwargsMarkup
[ 92%] Linking CXX executable TestConvertTypes
[ 92%] Built target TestKwargsMarkup
[ 92%] Built target TestConvertTypes
[ 94%] Linking CXX executable SoapySDRUtil
[ 94%] Built target SoapySDRUtil
Scanning dependencies of target _SoapySDR
[ 97%] Building CXX object python/CMakeFiles/_SoapySDR.dir/SoapySDRPYTHON_wrap.cxx.o
[100%] 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:454: 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

@takurx
Copy link
Author

takurx commented Dec 12, 2019

recompile with -fPIC

という同じエラーなので、pyenvのpythonを再インストールすることにした。
https://qiita.com/sarrrrry/items/4125e6f91a9d714ee287

@takurx
Copy link
Author

takurx commented Dec 12, 2019

@takurx
Copy link
Author

takurx commented Dec 12, 2019

re-install pyenv

curl https://pyenv.run | bash
exec $SHELL
pyenv update
pyenv install --list
CFLAGS="-fPIC" pyenv install 3.6.9
pyenv local 3.6.9

@takurx
Copy link
Author

takurx commented Dec 12, 2019

pyenvを再インストールしたところ、git cloneからのsoapysdrはcmakeできるようになった。
次はpybombsで試す。

@takurx
Copy link
Author

takurx commented Dec 12, 2019

  • Ensure the "gitbranch" is maint-3.8.

もなっているので、削除。

@takurx
Copy link
Author

takurx commented Dec 12, 2019

ふむ

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.

@takurx
Copy link
Author

takurx commented Dec 12, 2019

@takurx
Copy link
Author

takurx commented Dec 12, 2019

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.

@takurx
Copy link
Author

takurx commented Dec 12, 2019

このエラーはどうにかしたいところ。

PyBOMBS.GitCacheManager - ERROR - Trying to add another remote with same name gr-osmosdr

@takurx
Copy link
Author

takurx commented Dec 13, 2019

Warning: restarting the docstring loader (crashed while loading 'uhd_amsg_source')

ちょっと気になる。

@takurx
Copy link
Author

takurx commented Dec 13, 2019

pybombs: error: argument : invalid choice: 'reinstall' (choose from 'auto-config', 'config', 'deploy', 'digraph', 'fetch', 'refetch', 'git', 'install', 'update', 'doge', 'inv', 'lint', 'prefix', 'recipes', 'rebuild', 'remove', 'run', 'help')

@takurx
Copy link
Author

takurx commented Dec 16, 2019

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:
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
libqt5opengl5-dev はすでに最新バージョン (5.9.5+dfsg-0ubuntu2.4) です。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
  libqt5svg5-dev
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
9,880 B のアーカイブを取得する必要があります。
この操作後に追加で 72.7 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/main amd64 libqt5svg5-dev amd64 5.9.5-0ubuntu1 [9,880 B]
9,880 B を 0秒 で取得しました (300 kB/s)   
以前に未選択のパッケージ libqt5svg5-dev:amd64 を選択しています。
(データベースを読み込んでいます ... 現在 219940 個のファイルとディレクトリがインストールされています。)
.../libqt5svg5-dev_5.9.5-0ubuntu1_amd64.deb を展開する準備をしています ...
libqt5svg5-dev:amd64 (5.9.5-0ubuntu1) を展開しています...
libqt5svg5-dev:amd64 (5.9.5-0ubuntu1) を設定しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
  qt5-default
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
20.9 kB のアーカイブを取得する必要があります。
この操作後に追加で 158 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 qt5-default amd64 5.9.5+dfsg-0ubuntu2.4 [20.9 kB]
20.9 kB を 0秒 で取得しました (435 kB/s)
以前に未選択のパッケージ qt5-default:amd64 を選択しています。
(データベースを読み込んでいます ... 現在 219966 個のファイルとディレクトリがインストールされています。)
.../qt5-default_5.9.5+dfsg-0ubuntu2.4_amd64.deb を展開する準備をしています ...
qt5-default:amd64 (5.9.5+dfsg-0ubuntu2.4) を展開しています...
qt5-default:amd64 (5.9.5+dfsg-0ubuntu2.4) を設定しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
libqwt-qt5-dev はすでに最新バージョン (6.1.3-1) です。
アップグレード: 0 個、新規インストール: 0 個、削除: 0 個、保留: 0 個。
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-opengl-dev libqt4-qt3support libqt4-scripttools
  libqt4-svg libqt4-test libqwt6abi1 qt4-linguist-tools qt4-qmake
提案パッケージ:
  firebird-dev libmysqlclient-dev libpq-dev libsqlite0-dev qt4-dev-tools qt4-doc unixodbc-dev
以下のパッケージが新たにインストールされます:
  libqt4-designer libqt4-dev libqt4-dev-bin libqt4-help libqt4-opengl-dev libqt4-qt3support libqt4-scripttools
  libqt4-svg libqt4-test libqwt-dev libqwt6abi1 qt4-linguist-tools qt4-qmake
アップグレード: 0 個、新規インストール: 13 個、削除: 0 個、保留: 0 個。
10.6 MB のアーカイブを取得する必要があります。
この操作後に追加で 47.4 MB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-designer amd64 4:4.8.7+dfsg-7ubuntu1 [3,629 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-qt3support amd64 4:4.8.7+dfsg-7ubuntu1 [1,049 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-dev-bin amd64 4:4.8.7+dfsg-7ubuntu1 [1,706 kB]
取得:4 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-help amd64 4:4.8.7+dfsg-7ubuntu1 [207 kB]
取得:5 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-scripttools amd64 4:4.8.7+dfsg-7ubuntu1 [225 kB]
取得:6 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-svg amd64 4:4.8.7+dfsg-7ubuntu1 [138 kB]
取得:7 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-test amd64 4:4.8.7+dfsg-7ubuntu1 [61.2 kB]
取得:8 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 qt4-linguist-tools amd64 4:4.8.7+dfsg-7ubuntu1 [879 kB]
取得:9 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 qt4-qmake amd64 4:4.8.7+dfsg-7ubuntu1 [1,366 kB]
取得:10 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-dev amd64 4:4.8.7+dfsg-7ubuntu1 [853 kB]
取得:11 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqt4-opengl-dev amd64 4:4.8.7+dfsg-7ubuntu1 [22.8 kB]
取得:12 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqwt6abi1 amd64 6.1.3-1 [395 kB]
取得:13 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqwt-dev amd64 6.1.3-1 [33.4 kB]
10.6 MB を 2秒 で取得しました (6,853 kB/s)
以前に未選択のパッケージ libqt4-designer:amd64 を選択しています。
(データベースを読み込んでいます ... 現在 219970 個のファイルとディレクトリがインストールされています。)
.../00-libqt4-designer_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-designer:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-qt3support:amd64 を選択しています。
.../01-libqt4-qt3support_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-qt3support:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-dev-bin を選択しています。
.../02-libqt4-dev-bin_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-dev-bin (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-help:amd64 を選択しています。
.../03-libqt4-help_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-help:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-scripttools:amd64 を選択しています。
.../04-libqt4-scripttools_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-scripttools:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-svg:amd64 を選択しています。
.../05-libqt4-svg_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-svg:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-test:amd64 を選択しています。
.../06-libqt4-test_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-test:amd64 (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ qt4-linguist-tools を選択しています。
.../07-qt4-linguist-tools_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
qt4-linguist-tools (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ qt4-qmake を選択しています。
.../08-qt4-qmake_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
qt4-qmake (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-dev を選択しています。
.../09-libqt4-dev_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-dev (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqt4-opengl-dev を選択しています。
.../10-libqt4-opengl-dev_4%3a4.8.7+dfsg-7ubuntu1_amd64.deb を展開する準備をしています ...
libqt4-opengl-dev (4:4.8.7+dfsg-7ubuntu1) を展開しています...
以前に未選択のパッケージ libqwt6abi1 を選択しています。
.../11-libqwt6abi1_6.1.3-1_amd64.deb を展開する準備をしています ...
libqwt6abi1 (6.1.3-1) を展開しています...
以前に未選択のパッケージ libqwt-dev を選択しています。
.../12-libqwt-dev_6.1.3-1_amd64.deb を展開する準備をしています ...
libqwt-dev (6.1.3-1) を展開しています...
libqt4-designer:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
qt4-qmake (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-help:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-test:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
qt4-linguist-tools (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-svg:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-scripttools:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-qt3support:amd64 (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-dev-bin (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqwt6abi1 (6.1.3-1) を設定しています ...
libqt4-dev (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqt4-opengl-dev (4:4.8.7+dfsg-7ubuntu1) を設定しています ...
libqwt-dev (6.1.3-1) を設定しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
libc-bin (2.27-3ubuntu1) のトリガを処理しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  python3-sip-dev sip-dev
提案パッケージ:
  python-sip-doc
以下のパッケージが新たにインストールされます:
  pyqt5-dev python3-sip-dev sip-dev
アップグレード: 0 個、新規インストール: 3 個、削除: 0 個、保留: 0 個。
476 kB のアーカイブを取得する必要があります。
この操作後に追加で 3,841 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 sip-dev amd64 4.19.7+dfsg-1 [154 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python3-sip-dev amd64 4.19.7+dfsg-1 [22.0 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 pyqt5-dev all 5.10.1+dfsg-1ubuntu2 [300 kB]
476 kB を 0秒 で取得しました (4,125 kB/s)
以前に未選択のパッケージ sip-dev を選択しています。
(データベースを読み込んでいます ... 現在 223826 個のファイルとディレクトリがインストールされています。)
.../sip-dev_4.19.7+dfsg-1_amd64.deb を展開する準備をしています ...
sip-dev (4.19.7+dfsg-1) を展開しています...
以前に未選択のパッケージ python3-sip-dev を選択しています。
.../python3-sip-dev_4.19.7+dfsg-1_amd64.deb を展開する準備をしています ...
python3-sip-dev (4.19.7+dfsg-1) を展開しています...
以前に未選択のパッケージ pyqt5-dev を選択しています。
.../pyqt5-dev_5.10.1+dfsg-1ubuntu2_all.deb を展開する準備をしています ...
pyqt5-dev (5.10.1+dfsg-1ubuntu2) を展開しています...
sip-dev (4.19.7+dfsg-1) を設定しています ...
python3-sip-dev (4.19.7+dfsg-1) を設定しています ...
pyqt5-dev (5.10.1+dfsg-1ubuntu2) を設定しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下のパッケージが新たにインストールされます:
  pyqt5-dev-tools
アップグレード: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
98.4 kB のアーカイブを取得する必要があります。
この操作後に追加で 378 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 pyqt5-dev-tools amd64 5.10.1+dfsg-1ubuntu2 [98.4 kB]
98.4 kB を 0秒 で取得しました (1,105 kB/s) 
以前に未選択のパッケージ pyqt5-dev-tools を選択しています。
(データベースを読み込んでいます ... 現在 224666 個のファイルとディレクトリがインストールされています。)
.../pyqt5-dev-tools_5.10.1+dfsg-1ubuntu2_amd64.deb を展開する準備をしています ...
pyqt5-dev-tools (5.10.1+dfsg-1ubuntu2) を展開しています...
pyqt5-dev-tools (5.10.1+dfsg-1ubuntu2) を設定しています ...
man-db (2.8.3-2ubuntu0.1) のトリガを処理しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  python-click python-colorama
以下のパッケージが新たにインストールされます:
  python-click python-click-plugins python-colorama
アップグレード: 0 個、新規インストール: 3 個、削除: 0 個、保留: 0 個。
88.2 kB のアーカイブを取得する必要があります。
この操作後に追加で 390 kB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/main amd64 python-colorama all 0.3.7-1 [22.6 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu bionic/main amd64 python-click all 6.7-3 [56.4 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python-click-plugins all 1.0.2-1ubuntu3 [9,222 B]
88.2 kB を 0秒 で取得しました (985 kB/s)         
以前に未選択のパッケージ python-colorama を選択しています。
(データベースを読み込んでいます ... 現在 224679 個のファイルとディレクトリがインストールされています。)
.../python-colorama_0.3.7-1_all.deb を展開する準備をしています ...
python-colorama (0.3.7-1) を展開しています...
以前に未選択のパッケージ python-click を選択しています。
.../python-click_6.7-3_all.deb を展開する準備をしています ...
python-click (6.7-3) を展開しています...
以前に未選択のパッケージ python-click-plugins を選択しています。
.../python-click-plugins_1.0.2-1ubuntu3_all.deb を展開する準備をしています ...
python-click-plugins (1.0.2-1ubuntu3) を展開しています...
python-colorama (0.3.7-1) を設定しています ...
python-click (6.7-3) を設定しています ...
python-click-plugins (1.0.2-1ubuntu3) を設定しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています                
状態情報を読み取っています... 完了
以下の追加パッケージがインストールされます:
  libqtassistantclient4 python-qt4 python-qt4-gl
提案パッケージ:
  python-pyqtgraph-doc python-qt4-dbg
以下のパッケージが新たにインストールされます:
  libqtassistantclient4 python-pyqtgraph python-qt4 python-qt4-gl
アップグレード: 0 個、新規インストール: 4 個、削除: 0 個、保留: 0 個。
2,722 kB のアーカイブを取得する必要があります。
この操作後に追加で 16.9 MB のディスク容量が消費されます。
取得:1 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 libqtassistantclient4 amd64 4.6.3-7build1 [12.7 kB]
取得:2 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python-qt4 amd64 4.12.1+dfsg-2 [2,194 kB]
取得:3 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python-pyqtgraph all 0.10.0-1 [453 kB]
取得:4 http://jp.archive.ubuntu.com/ubuntu bionic/universe amd64 python-qt4-gl amd64 4.12.1+dfsg-2 [62.2 kB]
2,722 kB を 0秒 で取得しました (12.4 MB/s)
以前に未選択のパッケージ libqtassistantclient4:amd64 を選択しています。
(データベースを読み込んでいます ... 現在 224744 個のファイルとディレクトリがインストールされています。)
.../libqtassistantclient4_4.6.3-7build1_amd64.deb を展開する準備をしています ...
libqtassistantclient4:amd64 (4.6.3-7build1) を展開しています...
以前に未選択のパッケージ python-qt4 を選択しています。
.../python-qt4_4.12.1+dfsg-2_amd64.deb を展開する準備をしています ...
python-qt4 (4.12.1+dfsg-2) を展開しています...
以前に未選択のパッケージ python-pyqtgraph を選択しています。
.../python-pyqtgraph_0.10.0-1_all.deb を展開する準備をしています ...
python-pyqtgraph (0.10.0-1) を展開しています...
以前に未選択のパッケージ python-qt4-gl を選択しています。
.../python-qt4-gl_4.12.1+dfsg-2_amd64.deb を展開する準備をしています ...
python-qt4-gl (4.12.1+dfsg-2) を展開しています...
libqtassistantclient4:amd64 (4.6.3-7build1) を設定しています ...
python-qt4 (4.12.1+dfsg-2) を設定しています ...
python-qt4-gl (4.12.1+dfsg-2) を設定しています ...
python-pyqtgraph (0.10.0-1) を設定しています ...
libc-bin (2.27-3ubuntu1) のトリガを処理しています ...
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
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (89/89), done.
remote: Total 145875 (delta 0), reused 88 (delta 0), pack-reused 145786
Receiving objects: 100% (145875/145875), 51.80 MiB | 9.81 MiB/s, done.
Resolving deltas: 100% (113298/113298), done.
From https://github.com/gnuradio/gnuradio
 * [new branch]          android    -> gnuradio/android
 * [new branch]          maint      -> gnuradio/maint
 * [new branch]          maint-3.7  -> gnuradio/maint-3.7
 * [new branch]          maint-3.8  -> gnuradio/maint-3.8
 * [new branch]          master     -> gnuradio/master
 * [new branch]          python3    -> gnuradio/python3
 * [new tag]             3.3git           -> 3.3git
 * [new tag]             3.5.1git         -> 3.5.1git
 * [new tag]             3.5.2git         -> 3.5.2git
 * [new tag]             3.5git           -> 3.5git
 * [new tag]             3.6.0git         -> 3.6.0git
 * [new tag]             3.6.1git         -> 3.6.1git
 * [new tag]             3.6.2git         -> 3.6.2git
 * [new tag]             3.6.3git         -> 3.6.3git
 * [new tag]             3.6git           -> 3.6git
 * [new tag]             3.7.0git         -> 3.7.0git
 * [new tag]             3.7.10git        -> 3.7.10git
 * [new tag]             3.7.12git        -> 3.7.12git
 * [new tag]             3.7.2git         -> 3.7.2git
 * [new tag]             3.7.3git         -> 3.7.3git
 * [new tag]             3.7.5git         -> 3.7.5git
 * [new tag]             3.7.6git         -> 3.7.6git
 * [new tag]             3.7.7git         -> 3.7.7git
 * [new tag]             3.7.8git         -> 3.7.8git
 * [new tag]             3.7.9git         -> 3.7.9git
 * [new tag]             3.7git           -> 3.7git
 * [new tag]             3.8tech-preview  -> 3.8tech-preview
 * [new tag]             distcheck-maint  -> distcheck-maint
 * [new tag]             distcheck-master -> distcheck-master
 * [new tag]             distcheck-next   -> distcheck-next
 * [new tag]             maint-3.3.0      -> maint-3.3.0
 * [new tag]             maint-3.4.0      -> maint-3.4.0
 * [new tag]             maint-3.4.1      -> maint-3.4.1
 * [new tag]             maint-3.4.2      -> maint-3.4.2
 * [new tag]             maint-3.5.1      -> maint-3.5.1
 * [new tag]             maint-3.5.2      -> maint-3.5.2
 * [new tag]             maint-3.5.3      -> maint-3.5.3
 * [new tag]             maint-3.6.0      -> maint-3.6.0
 * [new tag]             maint-3.6.1      -> maint-3.6.1
 * [new tag]             maint-3.6.2      -> maint-3.6.2
 * [new tag]             v3.3.0           -> v3.3.0
 * [new tag]             v3.3.0-rc0       -> v3.3.0-rc0
 * [new tag]             v3.3.0-rc1       -> v3.3.0-rc1
 * [new tag]             v3.3.0-rc2       -> v3.3.0-rc2
 * [new tag]             v3.3.0-rc3       -> v3.3.0-rc3
 * [new tag]             v3.3.1           -> v3.3.1
 * [new tag]             v3.3.1git        -> v3.3.1git
 * [new tag]             v3.4.0           -> v3.4.0
 * [new tag]             v3.4.0git        -> v3.4.0git
 * [new tag]             v3.4.1           -> v3.4.1
 * [new tag]             v3.4.1git        -> v3.4.1git
 * [new tag]             v3.4.2           -> v3.4.2
 * [new tag]             v3.4.2git        -> v3.4.2git
 * [new tag]             v3.4git          -> v3.4git
 * [new tag]             v3.5.0           -> v3.5.0
 * [new tag]             v3.5.0git        -> v3.5.0git
 * [new tag]             v3.5.0rc0        -> v3.5.0rc0
 * [new tag]             v3.5.1           -> v3.5.1
 * [new tag]             v3.5.2           -> v3.5.2
 * [new tag]             v3.5.2.1         -> v3.5.2.1
 * [new tag]             v3.5.3           -> v3.5.3
 * [new tag]             v3.5.3.1         -> v3.5.3.1
 * [new tag]             v3.5.3.2         -> v3.5.3.2
 * [new tag]             v3.5.3git        -> v3.5.3git
 * [new tag]             v3.6.0           -> v3.6.0
 * [new tag]             v3.6.1           -> v3.6.1
 * [new tag]             v3.6.2           -> v3.6.2
 * [new tag]             v3.6.3           -> v3.6.3
 * [new tag]             v3.6.3.1         -> v3.6.3.1
 * [new tag]             v3.6.3rc0        -> v3.6.3rc0
 * [new tag]             v3.6.4           -> v3.6.4
 * [new tag]             v3.6.4.1         -> v3.6.4.1
 * [new tag]             v3.6.4.2         -> v3.6.4.2
 * [new tag]             v3.6.4git        -> v3.6.4git
 * [new tag]             v3.6.5           -> v3.6.5
 * [new tag]             v3.6.5.1         -> v3.6.5.1
 * [new tag]             v3.7.0           -> v3.7.0
 * [new tag]             v3.7.0.1         -> v3.7.0.1
 * [new tag]             v3.7.0rc0        -> v3.7.0rc0
 * [new tag]             v3.7.1           -> v3.7.1
 * [new tag]             v3.7.1.1         -> v3.7.1.1
 * [new tag]             v3.7.10          -> v3.7.10
 * [new tag]             v3.7.10.1        -> v3.7.10.1
 * [new tag]             v3.7.10.2        -> v3.7.10.2
 * [new tag]             v3.7.11          -> v3.7.11
 * [new tag]             v3.7.12.0        -> v3.7.12.0
 * [new tag]             v3.7.13.0        -> v3.7.13.0
 * [new tag]             v3.7.13.2        -> v3.7.13.2
 * [new tag]             v3.7.13.3        -> v3.7.13.3
 * [new tag]             v3.7.13.4        -> v3.7.13.4
 * [new tag]             v3.7.13.5        -> v3.7.13.5
 * [new tag]             v3.7.2           -> v3.7.2
 * [new tag]             v3.7.2.1         -> v3.7.2.1
 * [new tag]             v3.7.2.2         -> v3.7.2.2
 * [new tag]             v3.7.3           -> v3.7.3
 * [new tag]             v3.7.4           -> v3.7.4
 * [new tag]             v3.7.4.1         -> v3.7.4.1
 * [new tag]             v3.7.4git        -> v3.7.4git
 * [new tag]             v3.7.5           -> v3.7.5
 * [new tag]             v3.7.5.1         -> v3.7.5.1
 * [new tag]             v3.7.5.2         -> v3.7.5.2
 * [new tag]             v3.7.6           -> v3.7.6
 * [new tag]             v3.7.6.1         -> v3.7.6.1
 * [new tag]             v3.7.6.2         -> v3.7.6.2
 * [new tag]             v3.7.7           -> v3.7.7
 * [new tag]             v3.7.7.1         -> v3.7.7.1
 * [new tag]             v3.7.7.2         -> v3.7.7.2
 * [new tag]             v3.7.8           -> v3.7.8
 * [new tag]             v3.7.8.1         -> v3.7.8.1
 * [new tag]             v3.7.8.2         -> v3.7.8.2
 * [new tag]             v3.7.8rc1        -> v3.7.8rc1
 * [new tag]             v3.7.9           -> v3.7.9
 * [new tag]             v3.7.9.1         -> v3.7.9.1
 * [new tag]             v3.7.9.2         -> v3.7.9.2
 * [new tag]             v3.7.9.3         -> v3.7.9.3
 * [new tag]             v3.7.9rc1        -> v3.7.9rc1
 * [new tag]             v3.8.0.0         -> v3.8.0.0
 * [new tag]             v3.8.0.0-rc1     -> v3.8.0.0-rc1
 * [new tag]             v3.8.0.0-rc2     -> v3.8.0.0-rc2
Cloning into 'gnuradio'...
remote: Enumerating objects: 1164, done.
remote: Counting objects: 100% (1164/1164), done.
remote: Total 2892 (delta 1164), reused 1164 (delta 1164), pack-reused 1728
Receiving objects: 100% (2892/2892), 1.28 MiB | 1.55 MiB/s, done.
Resolving deltas: 100% (2315/2315), completed with 322 local objects.
Submodule 'volk' (https://github.com/gnuradio/volk.git) registered for path 'volk'
submodule 'volk' cannot add alternate: path '/home/sharo/.pybombs/gitcache/modules/volk/' does not existCloning into '/home/sharo/maint381/src/gnuradio/volk'...
remote: Enumerating objects: 8465, done.        
remote: Total 8465 (delta 0), reused 0 (delta 0), pack-reused 8465        
Receiving objects: 100% (8465/8465), 2.27 MiB | 2.15 MiB/s, done.
Resolving deltas: 100% (5842/5842), done.
Submodule path 'volk': checked out '1299d72c396a88fd2679adfd7a919ac00d2cf678'
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 PythonInterp: /home/sharo/.pyenv/shims/python3.6 (found suitable version "3.6.9", minimum required is "2.7.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 - not 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 = FALSE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled python-support but configuration checked failed
Call Stack (most recent call first):
  CMakeLists.txt:373 (GR_REGISTER_COMPONENT)


-- 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.

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install six

@takurx
Copy link
Author

takurx commented Dec 16, 2019

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.

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install Mako

@takurx
Copy link
Author

takurx commented Dec 16, 2019

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 - found
-- 
-- Python checking for six - python 2 and 3 compatibility library
-- Python checking for six - python 2 and 3 compatibility library - found
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'orc-0.4 > 0.4.11'
--   No package 'orc-0.4' found
-- orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR ORCC_EXECUTABLE) 
-- QA Testing is enabled.
--   Modify using: -DENABLE_TESTING=ON/OFF
-- System profiling is disabled.
--   Modify using: -DENABLE_PROFILING=ON/OFF
-- Compiler name: GNU
-- x86* CPU detected
-- Compiler doesn't support NEON, Overruled arch neon
-- Compiler doesn't support NEON, Overruled arch neonv7
-- Compiler doesn't support NEON, Overruled arch neonv8
-- ORC support not found, Overruled arch orc
-- CPU width is 64 bits, Overruled arch 32
-- Available architectures: generic;64;3dnow;abm;popcount;mmx;fma;sse;sse2;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx;avx2;avx512f;avx512cd
-- Available machines: generic;sse2_64_mmx;sse3_64_mmx;ssse3_64_mmx;sse4_a_64_mmx;sse4_1_64_mmx;sse4_2_64_mmx;avx_64_mmx;avx2_64_mmx;avx512f_64_mmx;avx512cd_64_mmx
-- BUILD TYPE = RELWITHDEBINFO
-- Base cflags = -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall
-- BUILD INFO ::: generic ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall 
-- BUILD INFO ::: sse2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2
-- BUILD INFO ::: sse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3
-- BUILD INFO ::: ssse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3
-- BUILD INFO ::: sse4_a_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -msse4a -mpopcnt
-- BUILD INFO ::: sse4_1_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1
-- BUILD INFO ::: sse4_2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt
-- BUILD INFO ::: avx_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx
-- BUILD INFO ::: avx2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2
-- BUILD INFO ::: avx512f_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f
-- BUILD INFO ::: avx512cd_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f -mavx512cd
-- 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.
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:  
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:   
-- Did not find liborc and orcc, disabling orc support...
-- Loading version 2.0 into constants...
-- Using install prefix: /home/sharo/maint381
-- 
-- Configuring volk support...
--   Enabling volk support.
--   Override with -DENABLE_VOLK=ON/OFF
--   Override with -DENABLE_INTERNAL_VOLK=ON/OFF
-- 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) 
-- 
-- Configuring doxygen support...
--   Dependency DOXYGEN_FOUND = YES
--   Enabling doxygen support.
--   Override with -DENABLE_DOXYGEN=ON/OFF
-- 
-- Configuring sphinx support...
--   Dependency SPHINX_FOUND = TRUE
--   Enabling sphinx support.
--   Override with -DENABLE_SPHINX=ON/OFF
-- 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) 
-- 
-- Configuring gnuradio-runtime support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency PYTHONINTERP_FOUND = TRUE
--   Dependency MPLIB_FOUND = TRUE
--   Dependency LOG4CPP_FOUND = TRUE
--   Enabling gnuradio-runtime support.
--   Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF
-- 
-- Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = 1
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Loading build date Mon, 16 Dec 2019 04:05:49 into constants...
-- Loading version 3.8.0.0 into constants...
-- TRY_SHM_VMCIRCBUF set to ON.
-- 
-- Python checking for python2 >= 2.7.6 or python3 >= 3.6.5 - found
-- Python checking for PyYAML >= 3.10 - not found
-- Python checking for mako >= 0.9.1 - found
-- Python checking for pygobject >= 2.28.6 - not found
-- Python checking for Gtk (GI) >= 3.10.8 - not found
-- Python checking for Cairo (GI) >= 1.0 - not found
-- Python checking for PangoCairo (GI) >= 1.0 - not found
-- Python checking for numpy - not found
-- 
-- Configuring gnuradio-companion support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_PYTHON = ON
--   Dependency PYTHON_MIN_VER_FOUND = TRUE
--   Dependency PYYAML_FOUND = FALSE
--   Dependency MAKO_FOUND = TRUE
--   Dependency PYGI_FOUND = FALSE
--   Dependency GTK_GI_FOUND = FALSE
--   Dependency CAIRO_GI_FOUND = FALSE
--   Dependency PANGOCAIRO_GI_FOUND = FALSE
--   Dependency NUMPY_FOUND = FALSE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled gnuradio-companion but configuration checked failed
Call Stack (most recent call first):
  grc/CMakeLists.txt:95 (GR_REGISTER_COMPONENT)


-- 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.

@takurx
Copy link
Author

takurx commented Dec 16, 2019

sharo@kirima:~/maint381$ pip install pyyaml pygobject gtk cairo pangocairo numpy
Collecting pyyaml
  Downloading https://files.pythonhosted.org/packages/8d/c9/e5be955a117a1ac548cdd31e37e8fd7b02ce987f9655f5c7563c656d5dcb/PyYAML-5.2.tar.gz (265kB)
     |████████████████████████████████| 266kB 5.7MB/s 
Collecting pygobject
  Downloading https://files.pythonhosted.org/packages/46/8a/b183f3edc812d4d28c8b671a922b5bc2863be5d38c56b3ad9155815e78dd/PyGObject-3.34.0.tar.gz (699kB)
     |████████████████████████████████| 706kB 42.9MB/s 
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /home/sharo/.pyenv/versions/3.6.9/bin/python3.6 /home/sharo/.pyenv/versions/3.6.9/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-f8et7eae/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel pycairo
       cwd: None
  Complete output (30 lines):
  Collecting setuptools
    Downloading https://files.pythonhosted.org/packages/54/28/c45d8b54c1339f9644b87663945e54a8503cfef59cf0f65b3ff5dd17cf64/setuptools-42.0.2-py2.py3-none-any.whl (583kB)
  Collecting wheel
    Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl
  Collecting pycairo
    Downloading https://files.pythonhosted.org/packages/3c/1a/c0478ecab31baae50fda9956547788afbd0ca563adc52c9b03cab30f17eb/pycairo-1.18.2.tar.gz (200kB)
  Installing collected packages: setuptools, wheel, pycairo
      Running setup.py install for pycairo: started
      Running setup.py install for pycairo: finished with status 'error'
      ERROR: Command errored out with exit status 1:
       command: /home/sharo/.pyenv/versions/3.6.9/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d64jsto0/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d64jsto0/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gt3kfvhv/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-f8et7eae/overlay --compile
           cwd: /tmp/pip-install-d64jsto0/pycairo/
      Complete output (15 lines):
      running install
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-3.6
      creating build/lib.linux-x86_64-3.6/cairo
      copying cairo/__init__.py -> build/lib.linux-x86_64-3.6/cairo
      copying cairo/__init__.pyi -> build/lib.linux-x86_64-3.6/cairo
      copying cairo/py.typed -> build/lib.linux-x86_64-3.6/cairo
      running build_ext
      Package cairo was not found in the pkg-config search path.
      Perhaps you should add the directory containing `cairo.pc'
      to the PKG_CONFIG_PATH environment variable
      No package 'cairo' found
      Command '['pkg-config', '--print-errors', '--exists', 'cairo >= 1.13.1']' returned non-zero exit status 1.
      ----------------------------------------
  ERROR: Command errored out with exit status 1: /home/sharo/.pyenv/versions/3.6.9/bin/python3.6 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d64jsto0/pycairo/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d64jsto0/pycairo/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-gt3kfvhv/install-record.txt --single-version-externally-managed --prefix /tmp/pip-build-env-f8et7eae/overlay --compile Check the logs for full command output.
  ----------------------------------------
ERROR: Command errored out with exit status 1: /home/sharo/.pyenv/versions/3.6.9/bin/python3.6 /home/sharo/.pyenv/versions/3.6.9/lib/python3.6/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-f8et7eae/overlay --no-warn-script-location --no-binary :none: --o

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install pyyaml
pip install pygobject
pip install numpy

@takurx
Copy link
Author

takurx commented Dec 16, 2019

sudo apt install libgtk-3-dev

@takurx
Copy link
Author

takurx commented Dec 16, 2019

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 - found
-- 
-- Python checking for six - python 2 and 3 compatibility library
-- Python checking for six - python 2 and 3 compatibility library - found
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'orc-0.4 > 0.4.11'
--   No package 'orc-0.4' found
-- orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR ORCC_EXECUTABLE) 
-- QA Testing is enabled.
--   Modify using: -DENABLE_TESTING=ON/OFF
-- System profiling is disabled.
--   Modify using: -DENABLE_PROFILING=ON/OFF
-- Compiler name: GNU
-- x86* CPU detected
-- Compiler doesn't support NEON, Overruled arch neon
-- Compiler doesn't support NEON, Overruled arch neonv7
-- Compiler doesn't support NEON, Overruled arch neonv8
-- ORC support not found, Overruled arch orc
-- CPU width is 64 bits, Overruled arch 32
-- Available architectures: generic;64;3dnow;abm;popcount;mmx;fma;sse;sse2;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx;avx2;avx512f;avx512cd
-- Available machines: generic;sse2_64_mmx;sse3_64_mmx;ssse3_64_mmx;sse4_a_64_mmx;sse4_1_64_mmx;sse4_2_64_mmx;avx_64_mmx;avx2_64_mmx;avx512f_64_mmx;avx512cd_64_mmx
-- BUILD TYPE = RELWITHDEBINFO
-- Base cflags = -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall
-- BUILD INFO ::: generic ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall 
-- BUILD INFO ::: sse2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2
-- BUILD INFO ::: sse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3
-- BUILD INFO ::: ssse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3
-- BUILD INFO ::: sse4_a_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -msse4a -mpopcnt
-- BUILD INFO ::: sse4_1_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1
-- BUILD INFO ::: sse4_2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt
-- BUILD INFO ::: avx_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx
-- BUILD INFO ::: avx2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2
-- BUILD INFO ::: avx512f_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f
-- BUILD INFO ::: avx512cd_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f -mavx512cd
-- 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.
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:  
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:   
-- Did not find liborc and orcc, disabling orc support...
-- Loading version 2.0 into constants...
-- Using install prefix: /home/sharo/maint381
-- 
-- Configuring volk support...
--   Enabling volk support.
--   Override with -DENABLE_VOLK=ON/OFF
--   Override with -DENABLE_INTERNAL_VOLK=ON/OFF
-- 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) 
-- 
-- Configuring doxygen support...
--   Dependency DOXYGEN_FOUND = YES
--   Enabling doxygen support.
--   Override with -DENABLE_DOXYGEN=ON/OFF
-- 
-- Configuring sphinx support...
--   Dependency SPHINX_FOUND = TRUE
--   Enabling sphinx support.
--   Override with -DENABLE_SPHINX=ON/OFF
-- 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) 
-- 
-- Configuring gnuradio-runtime support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency PYTHONINTERP_FOUND = TRUE
--   Dependency MPLIB_FOUND = TRUE
--   Dependency LOG4CPP_FOUND = TRUE
--   Enabling gnuradio-runtime support.
--   Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF
-- 
-- Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = 1
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Loading build date Mon, 16 Dec 2019 04:13:18 into constants...
-- Loading version 3.8.0.0 into constants...
-- TRY_SHM_VMCIRCBUF set to ON.
-- 
-- Python checking for python2 >= 2.7.6 or python3 >= 3.6.5 - found
-- Python checking for PyYAML >= 3.10 - not found
-- Python checking for mako >= 0.9.1 - found
-- Python checking for pygobject >= 2.28.6 - not found
-- Python checking for Gtk (GI) >= 3.10.8 - not found
-- Python checking for Cairo (GI) >= 1.0 - not found
-- Python checking for PangoCairo (GI) >= 1.0 - not found
-- Python checking for numpy - found
-- 
-- Configuring gnuradio-companion support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_PYTHON = ON
--   Dependency PYTHON_MIN_VER_FOUND = TRUE
--   Dependency PYYAML_FOUND = FALSE
--   Dependency MAKO_FOUND = TRUE
--   Dependency PYGI_FOUND = FALSE
--   Dependency GTK_GI_FOUND = FALSE
--   Dependency CAIRO_GI_FOUND = FALSE
--   Dependency PANGOCAIRO_GI_FOUND = FALSE
--   Dependency NUMPY_FOUND = TRUE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled gnuradio-companion but configuration checked failed
Call Stack (most recent call first):
  grc/CMakeLists.txt:95 (GR_REGISTER_COMPONENT)


-- 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.

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install pyyaml
sudo apt install libgirepository1.0-dev
pip install pygobject

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install pygi

@takurx
Copy link
Author

takurx commented Dec 16, 2019

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 - found
-- 
-- Python checking for six - python 2 and 3 compatibility library
-- Python checking for six - python 2 and 3 compatibility library - found
-- Boost version: 1.65.1
-- Found the following Boost libraries:
--   filesystem
--   system
-- Checking for module 'orc-0.4 > 0.4.11'
--   No package 'orc-0.4' found
-- orc files (missing: ORC_LIBRARY ORC_INCLUDE_DIR ORCC_EXECUTABLE) 
-- QA Testing is enabled.
--   Modify using: -DENABLE_TESTING=ON/OFF
-- System profiling is disabled.
--   Modify using: -DENABLE_PROFILING=ON/OFF
-- Compiler name: GNU
-- x86* CPU detected
-- Compiler doesn't support NEON, Overruled arch neon
-- Compiler doesn't support NEON, Overruled arch neonv7
-- Compiler doesn't support NEON, Overruled arch neonv8
-- ORC support not found, Overruled arch orc
-- CPU width is 64 bits, Overruled arch 32
-- Available architectures: generic;64;3dnow;abm;popcount;mmx;fma;sse;sse2;norc;sse3;ssse3;sse4_a;sse4_1;sse4_2;avx;avx2;avx512f;avx512cd
-- Available machines: generic;sse2_64_mmx;sse3_64_mmx;ssse3_64_mmx;sse4_a_64_mmx;sse4_1_64_mmx;sse4_2_64_mmx;avx_64_mmx;avx2_64_mmx;avx512f_64_mmx;avx512cd_64_mmx
-- BUILD TYPE = RELWITHDEBINFO
-- Base cflags = -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall
-- BUILD INFO ::: generic ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall 
-- BUILD INFO ::: sse2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2
-- BUILD INFO ::: sse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3
-- BUILD INFO ::: ssse3_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3
-- BUILD INFO ::: sse4_a_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -msse4a -mpopcnt
-- BUILD INFO ::: sse4_1_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1
-- BUILD INFO ::: sse4_2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt
-- BUILD INFO ::: avx_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx
-- BUILD INFO ::: avx2_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2
-- BUILD INFO ::: avx512f_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f
-- BUILD INFO ::: avx512cd_64_mmx ::: GNU ::: -O2 -g -DNDEBUG  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall -m64 -mmmx -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mpopcnt -mavx -mfma -mavx2 -mavx512f -mavx512cd
-- 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.
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:  
-- c flags:  -fvisibility=hidden -Wsign-compare -Wall -Wno-uninitialized -Wall;
-- asm flags:   
-- Did not find liborc and orcc, disabling orc support...
-- Loading version 2.0 into constants...
-- Using install prefix: /home/sharo/maint381
-- 
-- Configuring volk support...
--   Enabling volk support.
--   Override with -DENABLE_VOLK=ON/OFF
--   Override with -DENABLE_INTERNAL_VOLK=ON/OFF
-- 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) 
-- 
-- Configuring doxygen support...
--   Dependency DOXYGEN_FOUND = YES
--   Enabling doxygen support.
--   Override with -DENABLE_DOXYGEN=ON/OFF
-- 
-- Configuring sphinx support...
--   Dependency SPHINX_FOUND = TRUE
--   Enabling sphinx support.
--   Override with -DENABLE_SPHINX=ON/OFF
-- 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) 
-- 
-- Configuring gnuradio-runtime support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency PYTHONINTERP_FOUND = TRUE
--   Dependency MPLIB_FOUND = TRUE
--   Dependency LOG4CPP_FOUND = TRUE
--   Enabling gnuradio-runtime support.
--   Override with -DENABLE_GNURADIO_RUNTIME=ON/OFF
-- 
-- Configuring gr-ctrlport support...
--   Dependency Boost_FOUND = 1
--   Dependency SWIG_FOUND = TRUE
--   Dependency SWIG_VERSION_CHECK = TRUE
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-ctrlport support.
--   Override with -DENABLE_GR_CTRLPORT=ON/OFF
-- Loading build date Mon, 16 Dec 2019 04:20:44 into constants...
-- Loading version 3.8.0.0 into constants...
-- TRY_SHM_VMCIRCBUF set to ON.
-- 
-- Python checking for python2 >= 2.7.6 or python3 >= 3.6.5 - found
-- Python checking for PyYAML >= 3.10 - found
-- Python checking for mako >= 0.9.1 - found
-- Python checking for pygobject >= 2.28.6 - found
-- Python checking for Gtk (GI) >= 3.10.8 - found
-- Python checking for Cairo (GI) >= 1.0 - found
-- Python checking for PangoCairo (GI) >= 1.0 - found
-- Python checking for numpy - found
-- 
-- Configuring gnuradio-companion support...
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_PYTHON = ON
--   Dependency PYTHON_MIN_VER_FOUND = TRUE
--   Dependency PYYAML_FOUND = TRUE
--   Dependency MAKO_FOUND = TRUE
--   Dependency PYGI_FOUND = TRUE
--   Dependency GTK_GI_FOUND = TRUE
--   Dependency CAIRO_GI_FOUND = TRUE
--   Dependency PANGOCAIRO_GI_FOUND = TRUE
--   Dependency NUMPY_FOUND = TRUE
--   Enabling gnuradio-companion support.
--   Override with -DENABLE_GRC=ON/OFF
-- 
-- Configuring gr-blocks support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-blocks support.
--   Override with -DENABLE_GR_BLOCKS=ON/OFF
-- 
-- Configuring gr-fec support...
--   Dependency ENABLE_VOLK = ON
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Enabling gr-fec support.
--   Override with -DENABLE_GR_FEC=ON/OFF
-- 
-- Configuring gr-fft support...
--   Dependency ENABLE_VOLK = ON
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Dependency FFTW3f_FOUND = TRUE
--   Enabling gr-fft support.
--   Override with -DENABLE_GR_FFT=ON/OFF
-- 
-- Configuring gr-filter support...
--   Dependency ENABLE_VOLK = ON
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Enabling gr-filter support.
--   Override with -DENABLE_GR_FILTER=ON/OFF
-- 
-- Configuring gr-analog support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = ON
--   Enabling gr-analog support.
--   Override with -DENABLE_GR_ANALOG=ON/OFF
-- 
-- Configuring gr-digital support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_VOLK = ON
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Dependency ENABLE_GR_ANALOG = ON
--   Enabling gr-digital support.
--   Override with -DENABLE_GR_DIGITAL=ON/OFF
-- 
-- Configuring gr-dtv support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_ANALOG = ON
--   Dependency ENABLE_GR_FILTER = ON
--   Dependency ENABLE_GR_FEC = ON
--   Dependency ENABLE_VOLK = ON
--   Enabling gr-dtv support.
--   Override with -DENABLE_GR_DTV=ON/OFF
-- 
-- Configuring gr-audio support...
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Enabling gr-audio support.
--   Override with -DENABLE_GR_AUDIO=ON/OFF
-- Found ALSA 1.1.3
-- Checking for module 'jack'
--   No package 'jack' found
-- Checking for module 'portaudio-2.0'
--   No package 'portaudio-2.0' found
-- 
-- Configuring gr-channels support...
--   Dependency ENABLE_VOLK = ON
--   Dependency Boost_FOUND = 1
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_BLOCKS = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = ON
--   Dependency ENABLE_GR_ANALOG = ON
--   Enabling gr-channels support.
--   Override with -DENABLE_GR_CHANNELS=ON/OFF
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.6m.so (found suitable version "3.6.9", minimum required is "2") 
-- Python checking for PyQt5 - not found
-- Checking for module 'Qt5Qwt6'
--   No package 'Qt5Qwt6' found
-- QWT Version: 6.1.3
-- 
-- Configuring gr-qtgui support...
--   Dependency Boost_FOUND = 1
--   Dependency QT_FOUND = 1
--   Dependency QWT_FOUND = TRUE
--   Dependency ENABLE_VOLK = ON
--   Dependency ENABLE_GNURADIO_RUNTIME = ON
--   Dependency ENABLE_GR_FFT = ON
--   Dependency ENABLE_GR_FILTER = ON
--   Dependency PYTHONLIBS_FOUND = TRUE
--   Dependency PYQT5_FOUND = FALSE
CMake Error at cmake/Modules/GrComponent.cmake:75 (message):
  user force-enabled gr-qtgui but configuration checked failed
Call Stack (most recent call first):
  gr-qtgui/CMakeLists.txt:48 (GR_REGISTER_COMPONENT)


-- 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.

@takurx
Copy link
Author

takurx commented Dec 16, 2019

pip install pyqt5

@takurx
Copy link
Author

takurx commented Dec 16, 2019

OK

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 >>>

@RealJTG
Copy link

RealJTG commented Apr 27, 2020

This is madness (-_(\

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment