gnuradio / pybombs

PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
https://gnuradio.org
GNU General Public License v3.0
414 stars 189 forks source link

Failing to install recipe gnuradio38. It looks like pybombs tries to use the recipe name as the git branch... #542

Open gmagno opened 5 years ago

gmagno commented 5 years ago

Failing to install recipe gnuradio38. It looks like pybombs tries to use the recipe name as the git branch name raising the following error:

$ pybombs -p <prefix> install gnuradio38
...
PyBOMBS.Fetcher.git - DEBUG - We have git version 2.17.1
PyBOMBS.Fetcher.git - DEBUG - Using url - https://github.com/gnuradio/gnuradio.git
PyBOMBS.Fetcher.git - DEBUG - Adding remote into git ref
PyBOMBS.GitCacheManager - DEBUG - Adding remote: gnuradio38 -> https://github.com/gnuradio/gnuradio.git
PyBOMBS.GitCacheManager - DEBUG - Remote URL https://github.com/gnuradio/gnuradio.git already registered.
fatal: No such remote or remote group: gnuradio38
PyBOMBS.Fetcher - ERROR - Unexpected error while fetching git+https://github.com/gnuradio/gnuradio.git.
PyBOMBS.Fetcher - ERROR - Command '['git', 'remote', 'update', 'gnuradio38']' returned non-zero exit status 1.
PyBOMBS.Packager.source - ERROR - Problem occurred while building package gnuradio38:
Unable to fetch recipe gnuradio38
PyBOMBS.install_manager - ERROR - Error installing package gnuradio38. Aborting.

In order to reproduce this issue I suggest the following steps:

  1. install gnuradio-default recipe;
  2. install gnuradio38 on a separate prefix, this should fail.

As a workaround rename the recipe file from .../gnuradio38.lwr to .../gnuradio.lwr (you might want to backup gnuradio.lwr beforehand) and run pybombs -p <prefix> install gnuradio

mhostetter commented 5 years ago

I'm having a similar issue. I installed GNU Radio 3.7 into prefix ~/gnuradio-3.7 and now am trying to install GNU Radio 3.8 into prefix ~/gnurdaio-3.8. I'm running into the following error.

$ pybombs --version
2.3.4a0

Install GNU Radio 3.7 successfully

$ pybombs prefix init ~/gnuradio-3.7 -a gr37
$ pybombs -p gr37 install gnuradio

Install GNU Radio 3.8 with errors

$ pybombs prefix init ~/gnuradio-3.8 -a gr38
$ pybombs -p gr38 -vv install gnuradio38 
...
[DEBUG] Adding remote into git ref
[DEBUG] Adding remote: gnuradio38 -> https://github.com/gnuradio/gnuradio.git
[DEBUG] Remote URL https://github.com/gnuradio/gnuradio.git already registered.
fatal: No such remote or remote group: gnuradio38
...

It seems pybombs is trying to create a git remote called gnuradio38 pointing to https://github.com/gnuradio/gnuradio.git but is failing because that URL is already registered (likely from the gnuradio recipe during the GNU Radio 3.7 install).

Full output below:

$ pybombs prefix init ~/gnuradio-3.8 -a gr38
$ pybombs -p gr38 -vv install gnuradio38 
[DEBUG] Reading config info from file: /etc/pybombs/config.yml
[DEBUG] Parsing config file failed (/etc/pybombs/config.yml).
[DEBUG] Reading config info from file: /home/matt/.pybombs/config.yml
[DEBUG] New config items: ordereddict([('git-cache', '/home/matt/.pybombs/gitcache'), ('elevate_pre_args', ['sudo', '-H']), ('makewidth', 8), ('packagers', 'apt,pymod,pip,pkgconfig,cmd'), ('default_prefix', 'gr37')])
[DEBUG] Template directory: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates
[DEBUG] Inspecting config file: /home/matt/.pybombs/config.yml
[DEBUG] Resolving prefix alias gr38.
[DEBUG] Choosing prefix dir from command line: /home/matt/gnuradio-3.8
[DEBUG] Choosing default prefix config dir: /home/matt/gnuradio-3.8/.pybombs
[DEBUG] Inspecting config file: /home/matt/gnuradio-3.8/.pybombs/config.yml
[DEBUG] Prefix source dir is: /home/matt/gnuradio-3.8/src
[DEBUG] Trying to load inventory file /home/matt/gnuradio-3.8/.pybombs/inventory.yml...
[DEBUG] Prefix-local recipe dir is: /home/matt/gnuradio-3.8/.pybombs/recipes
[DEBUG] Reading config info from file: /home/matt/gnuradio-3.8/.pybombs/config.yml
[DEBUG] New config items: {}
[DEBUG] Full list of recipe locations: ['/home/matt/gnuradio-3.8/.pybombs/recipes', '/home/matt/.pybombs/recipes/gr-recipes', '/home/matt/.pybombs/recipes/gr-etcetera', '/home/matt/.local/lib/python2.7/site-packages/pybombs/recipes']
[DEBUG] Named recipe locations: {'gr-etcetera': 'git+https://github.com/gnuradio/gr-etcetera.git', 'gr-recipes': 'git+https://github.com/gnuradio/gr-recipes.git'}
[DEBUG] Python version derived from current interpreter.
[INFO] Prefix Python version is: 2.7.16
[INFO] PyBOMBS Version 2.3.4a0
[DEBUG] Adding recipe location: /home/matt/gnuradio-3.8/.pybombs/recipes
[DEBUG] Scanning directory '/home/matt/gnuradio-3.8/.pybombs/recipes' for recipes...
[DEBUG] Found 0 new recipes.
[DEBUG] Loading templates.
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/prefix.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/sdk.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/cmake.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/bjam.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/bootstrapautoconf.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/setuptools.lwt
[TRACE] Adding template /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/boostflags.lwt
[DEBUG] Adding recipe location: /home/matt/.pybombs/recipes/gr-recipes
[DEBUG] Scanning directory '/home/matt/.pybombs/recipes/gr-recipes' for recipes...
[DEBUG] Found 192 new recipes.
[DEBUG] Loading templates.
[DEBUG] Adding recipe location: /home/matt/.pybombs/recipes/gr-etcetera
[DEBUG] Scanning directory '/home/matt/.pybombs/recipes/gr-etcetera' for recipes...
[DEBUG] Found 112 new recipes.
[DEBUG] Loading templates.
[DEBUG] Adding recipe location: /home/matt/.local/lib/python2.7/site-packages/pybombs/recipes
[DEBUG] Scanning directory '/home/matt/.local/lib/python2.7/site-packages/pybombs/recipes' for recipes...
[DEBUG] Found 11 new recipes.
[DEBUG] Loading templates.
[DEBUG] Initializing command class for command install
[DEBUG] Attempting to add binary package manager apt
[DEBUG] apt is supported!
[DEBUG] Attempting to add binary package manager pymod
[DEBUG] pymod is supported!
[DEBUG] Attempting to add binary package manager pip
[DEBUG] Using pip executable: pip2
[DEBUG] pip is supported!
[DEBUG] Attempting to add binary package manager pkgconfig
[DEBUG] pkgconfig is supported!
[DEBUG] Attempting to add binary package manager cmd
[DEBUG] cmd is supported!
[DEBUG] Using binary packagers: ['apt', 'pymod', 'pip', 'pkgconfig', 'cmd']
[INFO] Phase 1: Creating install tree and installing binary packages:
[TRACE] Checking if package `gnuradio38' goes into tree...
[DEBUG] Checking if package gnuradio38 is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/gnuradio38.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/cmake.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/cmake.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - gnuradio38
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[DEBUG] Package gnuradio38 is requesting a source build.
[DEBUG] Checking if package gnuradio38 is installed...
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[DEBUG] Package gnuradio38 is requesting a source build.
[DEBUG] Package gnuradio38 is not installed.
[DEBUG] Testing binary install for package gnuradio38.
[DEBUG] install(gnuradio38, install_type=binary, static=False)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[DEBUG] Package gnuradio38 is requesting a source build.
[DEBUG] Returning no packagers -- package is requesting source build, but binary build is requested.
[TRACE] Not installed: It goes into tree.
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Checking if package `boost' goes into tree...
[DEBUG] Checking if package boost is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/boost.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - boost
[TRACE] Woohoo, this one's already cached (boost)
[TRACE] Woohoo, this one's already cached (boost)
[DEBUG] Checking if package boost is installed...
[TRACE] Woohoo, this one's already cached (boost)
[TRACE] Woohoo, this one's already cached (boost)
[TRACE] Woohoo, this one's already cached (boost)
[TRACE] Checking if recipe boost is installed
[TRACE] Parsing requirements string: libboost-all-dev >= 1.53 || libboost-dev >= 1.53
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libboost-all-dev has version 1.67.0 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `fftw' goes into tree...
[DEBUG] Checking if package fftw is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/fftw.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - fftw
[TRACE] Woohoo, this one's already cached (fftw)
[TRACE] Woohoo, this one's already cached (fftw)
[DEBUG] Checking if package fftw is installed...
[TRACE] Woohoo, this one's already cached (fftw)
[TRACE] Woohoo, this one's already cached (fftw)
[TRACE] Woohoo, this one's already cached (fftw)
[TRACE] Checking if recipe fftw is installed
[TRACE] Parsing requirements string: libfftw3-3 && libfftw3-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libfftw3-3 has version 3.3.8 installed
[DEBUG] Package libfftw3-dev has version 3.3.8 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `swig' goes into tree...
[DEBUG] Checking if package swig is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/swig.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - swig
[TRACE] Woohoo, this one's already cached (swig)
[TRACE] Woohoo, this one's already cached (swig)
[DEBUG] Checking if package swig is installed...
[TRACE] Woohoo, this one's already cached (swig)
[TRACE] Woohoo, this one's already cached (swig)
[TRACE] Woohoo, this one's already cached (swig)
[TRACE] Checking if recipe swig is installed
[TRACE] Parsing requirements string: swig3.0 || swig
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package swig3.0 has version 3.0.12 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `gsl' goes into tree...
[DEBUG] Checking if package gsl is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/gsl.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - gsl
[TRACE] Woohoo, this one's already cached (gsl)
[TRACE] Woohoo, this one's already cached (gsl)
[DEBUG] Checking if package gsl is installed...
[TRACE] Woohoo, this one's already cached (gsl)
[TRACE] Woohoo, this one's already cached (gsl)
[TRACE] Woohoo, this one's already cached (gsl)
[TRACE] Checking if recipe gsl is installed
[TRACE] Parsing requirements string: ( (libgsl0-dev >= 1.13) && (libgsl0ldbl >= 1.13) ) || libgsl-dev >= 1.16
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libgsl-dev has version 2.5 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `gmp' goes into tree...
[DEBUG] Checking if package gmp is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/gmp.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - gmp
[TRACE] Woohoo, this one's already cached (gmp)
[TRACE] Woohoo, this one's already cached (gmp)
[DEBUG] Checking if package gmp is installed...
[TRACE] Woohoo, this one's already cached (gmp)
[TRACE] Woohoo, this one's already cached (gmp)
[TRACE] Woohoo, this one's already cached (gmp)
[TRACE] Checking if recipe gmp is installed
[TRACE] Parsing requirements string: libgmp-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libgmp-dev has version 6.1.2 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `uhd' goes into tree...
[DEBUG] Checking if package uhd is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/uhd.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/cmake.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/cmake.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - uhd
[TRACE] Woohoo, this one's already cached (uhd)
[TRACE] Woohoo, this one's already cached (uhd)
[DEBUG] Package uhd is requesting a source build.
[DEBUG] Checking if package uhd is installed...
[TRACE] Woohoo, this one's already cached (uhd)
[TRACE] Woohoo, this one's already cached (uhd)
[TRACE] Woohoo, this one's already cached (uhd)
[DEBUG] Package uhd is requesting a source build.
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `alsa' goes into tree...
[DEBUG] Checking if package alsa is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/alsa.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - alsa
[TRACE] Woohoo, this one's already cached (alsa)
[TRACE] Woohoo, this one's already cached (alsa)
[DEBUG] Checking if package alsa is installed...
[TRACE] Woohoo, this one's already cached (alsa)
[TRACE] Woohoo, this one's already cached (alsa)
[TRACE] Woohoo, this one's already cached (alsa)
[TRACE] Checking if recipe alsa is installed
[TRACE] Parsing requirements string: libasound2-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libasound2-dev has version 1.1.8 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `numpy' goes into tree...
[DEBUG] Checking if package numpy is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/numpy.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - numpy
[TRACE] Woohoo, this one's already cached (numpy)
[TRACE] Woohoo, this one's already cached (numpy)
[DEBUG] Checking if package numpy is installed...
[TRACE] Woohoo, this one's already cached (numpy)
[TRACE] Woohoo, this one's already cached (numpy)
[TRACE] Woohoo, this one's already cached (numpy)
[TRACE] Checking if recipe numpy is installed
[TRACE] Parsing requirements string: python-numpy >= 1.5
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package python-numpy has version 1.16.2 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `lxml' goes into tree...
[DEBUG] Checking if package lxml is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/lxml.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - lxml
[TRACE] Woohoo, this one's already cached (lxml)
[TRACE] Woohoo, this one's already cached (lxml)
[DEBUG] Checking if package lxml is installed...
[TRACE] Woohoo, this one's already cached (lxml)
[TRACE] Woohoo, this one's already cached (lxml)
[TRACE] Woohoo, this one's already cached (lxml)
[TRACE] Checking if recipe lxml is installed
[TRACE] Parsing requirements string: python-lxml >= 2.3.2
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package python-lxml has version 4.3.3 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `pygtk' goes into tree...
[DEBUG] Checking if package pygtk is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/pygtk.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - pygtk
[TRACE] Woohoo, this one's already cached (pygtk)
[TRACE] Woohoo, this one's already cached (pygtk)
[DEBUG] Checking if package pygtk is installed...
[TRACE] Woohoo, this one's already cached (pygtk)
[TRACE] Woohoo, this one's already cached (pygtk)
[TRACE] Woohoo, this one's already cached (pygtk)
[TRACE] Checking if recipe pygtk is installed
[TRACE] Parsing requirements string: python-gtk2 >= 2.17
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package python-gtk2 has version 2.24.0 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `pycairo' goes into tree...
[DEBUG] Checking if package pycairo is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/pycairo.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - pycairo
[TRACE] Woohoo, this one's already cached (pycairo)
[TRACE] Woohoo, this one's already cached (pycairo)
[DEBUG] Checking if package pycairo is installed...
[TRACE] Woohoo, this one's already cached (pycairo)
[TRACE] Woohoo, this one's already cached (pycairo)
[TRACE] Woohoo, this one's already cached (pycairo)
[TRACE] Checking if recipe pycairo is installed
[TRACE] Parsing requirements string: python-cairo-dev >= 1.8
[TRACE] Calling ev for recursive satisfier rule evaluation
[TRACE] Checking if recipe pycairo is installed
[TRACE] Parsing requirements string: cairo.version >= 1.8
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Successfully imported Python module: cairo
[DEBUG] Module version: cairo.version == 1.16.2
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `pyqt5' goes into tree...
[DEBUG] Checking if package pyqt5 is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/pyqt5.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - pyqt5
[TRACE] Woohoo, this one's already cached (pyqt5)
[TRACE] Woohoo, this one's already cached (pyqt5)
[DEBUG] Checking if package pyqt5 is installed...
[TRACE] Woohoo, this one's already cached (pyqt5)
[TRACE] Woohoo, this one's already cached (pyqt5)
[TRACE] Woohoo, this one's already cached (pyqt5)
[TRACE] Checking if recipe pyqt5 is installed
[TRACE] Parsing requirements string: ( pyqt5-dev >= 5.3.2 ) && ( pyqt5-dev-tools >= 5.3.2 )
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package pyqt5-dev has version 5.12.1 installed
[DEBUG] Package pyqt5-dev-tools has version 5.12.1 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `qwt5' goes into tree...
[DEBUG] Checking if package qwt5 is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/qwt5.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - qwt5
[TRACE] Woohoo, this one's already cached (qwt5)
[TRACE] Woohoo, this one's already cached (qwt5)
[DEBUG] Checking if package qwt5 is installed...
[TRACE] Woohoo, this one's already cached (qwt5)
[TRACE] Woohoo, this one's already cached (qwt5)
[TRACE] Woohoo, this one's already cached (qwt5)
[TRACE] Checking if recipe qwt5 is installed
[TRACE] Parsing requirements string: libqwt5-qt4 && libqwt-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libqwt5-qt4 has version 5.2.3 installed
[DEBUG] Package libqwt-dev has version 6.1.4 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `liblog4cpp' goes into tree...
[DEBUG] Checking if package liblog4cpp is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/liblog4cpp.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - liblog4cpp
[TRACE] Woohoo, this one's already cached (liblog4cpp)
[TRACE] Woohoo, this one's already cached (liblog4cpp)
[DEBUG] Checking if package liblog4cpp is installed...
[TRACE] Woohoo, this one's already cached (liblog4cpp)
[TRACE] Woohoo, this one's already cached (liblog4cpp)
[TRACE] Woohoo, this one's already cached (liblog4cpp)
[TRACE] Checking if recipe liblog4cpp is installed
[TRACE] Parsing requirements string: liblog4cpp5-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package liblog4cpp5-dev has version 1.1.3 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `zeromq' goes into tree...
[DEBUG] Checking if package zeromq is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/zeromq.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - zeromq
[TRACE] Woohoo, this one's already cached (zeromq)
[TRACE] Woohoo, this one's already cached (zeromq)
[DEBUG] Checking if package zeromq is installed...
[TRACE] Woohoo, this one's already cached (zeromq)
[TRACE] Woohoo, this one's already cached (zeromq)
[TRACE] Woohoo, this one's already cached (zeromq)
[TRACE] Checking if recipe zeromq is installed
[TRACE] Parsing requirements string: libzmq3-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package libzmq3-dev has version 4.3.1 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `python-zmq' goes into tree...
[DEBUG] Checking if package python-zmq is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/python-zmq.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - python-zmq
[TRACE] Woohoo, this one's already cached (python-zmq)
[TRACE] Woohoo, this one's already cached (python-zmq)
[TRACE] exists(python-zmq)
[TRACE] Parsing requirements string: python-zmq
[TRACE] Calling ev for recursive satisfier rule evaluation
[TRACE] Checking apt for `python-zmq'
[DEBUG] Package python-zmq has version 17.1.2 in repositories
[DEBUG] Checking if package python-zmq is installed...
[TRACE] Woohoo, this one's already cached (python-zmq)
[TRACE] Woohoo, this one's already cached (python-zmq)
[TRACE] Woohoo, this one's already cached (python-zmq)
[TRACE] Checking if recipe python-zmq is installed
[TRACE] Parsing requirements string: python-zmq
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package python-zmq has version 17.1.2 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `mako' goes into tree...
[DEBUG] Checking if package mako is installable...
[TRACE] Loading recipe file: /home/matt/.pybombs/recipes/gr-recipes/mako.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/distutils.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - mako
[TRACE] Woohoo, this one's already cached (mako)
[TRACE] Woohoo, this one's already cached (mako)
[TRACE] exists(mako)
[TRACE] Parsing requirements string: python-mako >= 0.4.2
[TRACE] Calling ev for recursive satisfier rule evaluation
[TRACE] Checking apt for `python-mako'
[DEBUG] Package python-mako has version 1.0.7 in repositories
[DEBUG] Checking if package mako is installed...
[TRACE] Woohoo, this one's already cached (mako)
[TRACE] Woohoo, this one's already cached (mako)
[TRACE] Woohoo, this one's already cached (mako)
[TRACE] Checking if recipe mako is installed
[TRACE] Parsing requirements string: python-mako >= 0.4.2
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package python-mako has version 1.0.7 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[TRACE] Checking if package `cmake' goes into tree...
[DEBUG] Checking if package cmake is installable...
[TRACE] Loading recipe file: /home/matt/.local/lib/python2.7/site-packages/pybombs/recipes/cmake.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - cmake
[TRACE] Woohoo, this one's already cached (cmake)
[TRACE] Woohoo, this one's already cached (cmake)
[DEBUG] Checking if package cmake is installed...
[TRACE] Woohoo, this one's already cached (cmake)
[TRACE] Woohoo, this one's already cached (cmake)
[TRACE] Woohoo, this one's already cached (cmake)
[TRACE] Checking if recipe cmake is installed
[TRACE] Parsing requirements string: (cmake >= 2.8.11) && (cmake-data >= 2.8.11)
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package cmake has version 3.13.4 installed
[DEBUG] Package cmake-data has version 3.13.4 installed
[TRACE] Installed, but no update requested. Does not go into tree.
Install tree:
|
\- gnuradio38
[INFO] Phase 1 complete: All binary dependencies installed.
[INFO] Phase 2: Recursively installing source packages to prefix:
[TRACE] gnuradio38 has cached installed-status: False
[INFO] Installing package: gnuradio38
[DEBUG] install(gnuradio38, install_type=source, static=False)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[DEBUG] Package gnuradio38 is requesting a source build.
[DEBUG] Checking if package gnuradio38 is installed...
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Checking if recipe gnuradio38 is installed
[TRACE] Parsing requirements string: gnuradio-dev
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package gnuradio-dev has version 3.7.13 installed
[WARNING] A source build for package gnuradio38 was requested, but binary install was found!
Install gnuradio38 from source despite binary install available Y/[N]? Y
[TRACE] Woohoo, this one's already cached (gnuradio38)
[TRACE] Woohoo, this one's already cached (gnuradio38)
[DEBUG] Using packager source
[DEBUG] State on package gnuradio38 is 0
[DEBUG] Fetching source for recipe: gnuradio38
[DEBUG] Switching to src directory: /home/matt/gnuradio-3.8/src
[TRACE] Trying to fetch git+https://github.com/gnuradio/gnuradio.git
[DEBUG] Getting fetcher for https://github.com/gnuradio/gnuradio.git, type git
[DEBUG] Using fetcher <pybombs.fetchers.git.Git object at 0x7f0afad551d0>
[DEBUG] Requiring packages on host system: ['git']
[DEBUG] Attempting to add binary package manager apt
[DEBUG] apt is supported!
[DEBUG] Attempting to add binary package manager pymod
[DEBUG] pymod is supported!
[DEBUG] Attempting to add binary package manager pip
[DEBUG] Using pip executable: pip2
[DEBUG] pip is supported!
[DEBUG] Attempting to add binary package manager pkgconfig
[DEBUG] pkgconfig is supported!
[DEBUG] Attempting to add binary package manager cmd
[DEBUG] cmd is supported!
[DEBUG] Using binary packagers: ['apt', 'pymod', 'pip', 'pkgconfig', 'cmd']
[DEBUG] Phase 1: Creating install tree and installing binary packages:
[TRACE] Checking if package `git' goes into tree...
[DEBUG] Checking if package git is installable...
[TRACE] Loading recipe file: /home/matt/.local/lib/python2.7/site-packages/pybombs/recipes/git.lwr
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/autoconf.lwt
[TRACE] Loading template file: /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Inheriting from file /home/matt/.local/lib/python2.7/site-packages/pybombs/templates/empty.lwt
[TRACE] Loaded recipe - git
[TRACE] Woohoo, this one's already cached (git)
[TRACE] Woohoo, this one's already cached (git)
[DEBUG] Checking if package git is installed...
[TRACE] Woohoo, this one's already cached (git)
[TRACE] Woohoo, this one's already cached (git)
[TRACE] Woohoo, this one's already cached (git)
[TRACE] Checking if recipe git is installed
[TRACE] Parsing requirements string: git-core || git
[TRACE] Calling ev for recursive satisfier rule evaluation
[DEBUG] Package git has version 2.20.1 installed
[TRACE] Installed, but no update requested. Does not go into tree.
[DEBUG] Phase 1 complete: All binary dependencies installed.
[DEBUG] Phase 2: Recursively installing source packages to prefix:
[DEBUG] Phase 2 complete: All source packages installed.
[DEBUG] Requirements met.
[DEBUG] We have git version 2.20.1
[DEBUG] Using url - https://github.com/gnuradio/gnuradio.git
[DEBUG] Adding remote into git ref
[DEBUG] Adding remote: gnuradio38 -> https://github.com/gnuradio/gnuradio.git
[DEBUG] Remote URL https://github.com/gnuradio/gnuradio.git already registered.
fatal: No such remote or remote group: gnuradio38
[ERROR] Unexpected error while fetching git+https://github.com/gnuradio/gnuradio.git.
[ERROR] Command '['git', 'remote', 'update', 'gnuradio38']' returned non-zero exit status 1
[ERROR] Problem occurred while building package gnuradio38:
Unable to fetch recipe gnuradio38
[ERROR] Error installing package gnuradio38. Aborting.
draeath commented 5 years ago

Getting something similar, but without the git related error. (this is happening via buildah)

STEP 17: RUN sudo apt-get update &&    pybombs recipes update &&    pybombs prefix init ~/.gnuradio -a gnuradio -R gnuradio38 --virtualenv &&    echo "source ~/.gnuradio/setup_env.sh" >> ~/.bashrc &&    sudo rm -rf /var/lib/apt/lists/*
Get:1 http://security-cdn.debian.org/debian-security buster/updates InRelease [39.1 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian buster InRelease [118 kB]        
Get:4 http://security-cdn.debian.org/debian-security buster/updates/main amd64 Packages [55.1 kB]
Get:3 http://cdn-fastly.deb.debian.org/debian buster-updates InRelease [46.8 kB]
Get:5 http://cdn-fastly.deb.debian.org/debian buster/main amd64 Packages [7897 kB]
Fetched 8156 kB in 3s (3057 kB/s)   
Reading package lists... Done
[INFO] Prefix Python version is: 3.7.3
[INFO] PyBOMBS Version 2.3.4a0
[INFO] Updating recipe location `gr-etcetera'...
Already up to date.
Current branch master is up to date.
[INFO] Updating recipe location `gr-recipes'...
Already up to date.
Current branch master is up to date.
[INFO] Prefix Python version is: 3.7.3
[INFO] PyBOMBS Version 2.3.4a0
[ERROR] Could not find recipe for `gnuradio38'

Switching on verbose really didn't show anything useful, so I left that output out. I had to replace gnuradio.lwr with the contents of gnuradio38.lwr on disk (after the pybombs recipe update) and use 'gnuradio-default' to make it go.

ejohnson73 commented 5 years ago

I didn't find the root cause, but try deleting or moving your ~/.pybombs directory to another place and try again. I think that is what fixed the issue for me.

Teque5 commented 4 years ago

If anyone else is having this issue, update pybombs and then delete your ~/.pybombs/gitcache directory. That should solve it.