[elbe-users] pbuilder does not populate the package cache
Ralf Schlatterbeck
rsc at runtux.com
Mon Sep 14 16:27:05 CEST 2020
I've now further debugged this.
The error-message comes from the 'Cache' module of the 'apt' python
package. My package is not in the package cache.
Am I doing something wrong, i.e., has the behaviour of pbuilder changed
so that generated packages are no longer in the package cache?
Is there a way with elbe to insert a locally-generated package
explicitly into the package cache?
Puilder has grown an new --cross option. Can someone shed some light
what this option does? So far my understanding is that the whole point
of elbe pbuilder is to build a package for another architecture?
Maybe this behaviour (that the newly-built package is not in the package
cache after building) has something to do with the --cross option?
Note that I'm unable to downgrade because previous elbe packages (12.4
worked) seem to be no longer available.
I've opened github issue #283
https://github.com/Linutronix/elbe/issues/283
Thanks
Ralf
On Thu, Sep 10, 2020 at 01:44:59PM +0200, Ralf Schlatterbeck wrote:
> Ping?
> Has anyone an answer for me here?
>
> Thanks
> Ralf
> On Wed, Sep 09, 2020 at 11:02:03AM +0200, Ralf Schlatterbeck wrote:
> > I recently had a problem with Elbe due to Github issue #280.
> > After applying the patch (on the devel list) I'm now getting the error
> > that the package freshly built by pbuilder is not in the package cache
> > when trying to build an image. This used to work in previous versions.
> > Do I have to explitly insert the package into the cache now? Or is there
> > another bug? Should I open a github issue?
> >
> > I'm calling (Makefile syntax, hence double '$'):
> > elbe control --build-bin build $$(cat elbe.prj)
> > elbe control wait_busy $$(cat elbe.prj)
> > (both *after* successful build of the iptna package with elbe pbuilder)
> >
> > I'm getting the following traceback:
> > [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'"
> >
> > Thanks
> > Ralf
> > --
> > 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
> > _______________________________________________
> > elbe-users mailing list
> > elbe-users at linutronix.de
> > https://lists.linutronix.de/mailman/listinfo/elbe-users
> >
>
> --
> 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
> _______________________________________________
> elbe-users mailing list
> elbe-users at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-users
>
--
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-users
mailing list