[elbe-users] ELBE v9: pbuilder create failure

Yegor Yefremov yegorslists at googlemail.com
Thu Jul 18 08:32:36 CEST 2019


On Wed, Jul 17, 2019 at 8:42 AM Yegor Yefremov
<yegorslists at googlemail.com> wrote:
>
> I'm trying to create pbuilder environment on Ubuntu 18.04 for Buster
> and get following error in log.txt:
>
> running cmd +pbuilder --create --configfile
> "/var/cache/elbe/d37ae322-104e-40ea-a5bc-152e3d2542d9/pbuilderrc"
> --aptconfdir "/var/cache/elbe/d37ae322-104e-40ea-a5bc-152e3d2542d9/aptconfdir"
> --debootstrapopts --include="git gnupg2"+
> ------------------------------------------------------------------------------
> W: /.pbuilderrc does not exist
> W: cgroups are not available on the host, not using them.
> I: Distribution is buster.
> I: Current time: Wed Jul 17 06:33:18 UTC 2019
> I: pbuilder-time-stamp: 1563345198
> I: Building the build environment
> I: running qemu-debootstrap
> /usr/sbin/qemu-debootstrap
> I: Running command: debootstrap --arch armhf --foreign --include=apt
> --cache-dir=/var/cache/elbe/d37ae322-104e-40ea-a5bc-152e3d2542d9/pbuilder/aptcache
> --variant=buildd --force-check-gpg --no-check-gpg --include=git gnupg2
> buster /var
> /cache/pbuilder/build/29505 http://ftp.debian.org//debian
> E: Both --no-check-gpg and --force-check-gpg specified, please pick
> one (at most)
> E: qemu-debootstrap failed
> E: debootstrap.log not present
> W: Aborting with an error
> I: cleaning the build env
> I: removing directory /var/cache/pbuilder/build/29505 and its subdirectories
>
> Command failed with errorcode 1
> Pbuilder failed
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py",
> line 259, in execute
>     self.project.create_pbuilder()
>   File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py",
> line 788, in create_pbuilder
>     os.path.join(self.builddir, "aptconfdir")))
>   File "/usr/lib/python2.7/dist-packages/elbepack/asciidoclog.py",
> line 62, in do
>     raise CommandError(cmd, ret)
> CommandError
>
> The command itself says build was successful:
>
> elbe pbuilder create --xmlfile my.xml --writeproject debs.prj
> Creating pbuilder
> Wed Jul 17 08:42:14 2019 --
> ------------------------------------------------------------------------------
> Wed Jul 17 08:42:14 2019 --
> ------------------------------------------------------------------------------
> Wed Jul 17 08:42:14 2019 --
> Wed Jul 17 08:42:14 2019 -- running cmd +rm -rf
> /var/cache/elbe/0b4e1d49-9265-4497-a798-5641a7e9e625/sysroot+
> Wed Jul 17 08:42:14 2019 --
> ------------------------------------------------------------------------------
> Wed Jul 17 08:42:15 2019 --
> ------------------------------------------------------------------------------
> Wed Jul 17 08:42:15 2019 --
> Wed Jul 17 08:42:15 2019 -- Enqueueing project to have the pbuilder built
> Wed Jul 17 08:42:15 2019 -- Building pbuilder started
>
> Building Pbuilder finished !
>
> Any idea?

Seems like "noauth" mechanism is broken. I can see where
--no-check-gpg comes from but I cannot find the place where
--force-check-gpg is defined.

Should one be concerned about these warnings?

W: /.pbuilderrc does not exist
W: cgroups are not available on the host, not using them.

Regards,
Yegor



More information about the elbe-users mailing list