[elbe-devel] [PATCH] elbe-pbuilder: fix get_files for --pbuilder-only

Ralf Schlatterbeck rsc at runtux.com
Mon Sep 7 13:54:32 CEST 2020


On Mon, Sep 07, 2020 at 12:24:17PM +0200, Christian Teklenborg wrote:
> If 'elbe control --pbuilder-only get_files' is called it will check if the
> path starts with 'pbuilder_cross' and if pbuilder-only is True. If this
> isn't the case it will skip the download. It should also examine if the
> path starts with 'pbuilder'. Therefore add a check for this case in
> the get_files function.
> 
> This patch fixes GitHub issue #280.
[...]

Thanks for the quick fix, I can confirm that my package is now built
successfully after applying the patch to my 12.5+deb10+build901 install.

However, the build later fails because the package is not in the package
cache (you guess it, the package is called iptna), traceback see below.
Any Idea how to fix this, are packages built with pbuilder no longer
automatically cached?

Thanks
Ralf

[ERROR] Build failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 194, in execute
    skip_pbuild=self.skip_pbuilder)
  File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 617, in build
    self.get_rpcaptcache())
  File "/usr/lib/python2.7/dist-packages/elbepack/efilesystem.py", line 105, in extract_target
    deps = cache.get_dependencies(p)
  File "<string>", line 2, in get_dependencies
  File "/usr/lib/python2.7/multiprocessing/managers.py", line 774, in _callmethod
    raise convert_to_error(kind, result)
KeyError: "The cache has no package named 'iptna'"


-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office at runtux.com


More information about the elbe-devel mailing list