[elbe-users] Elbe build fails without "--skip-build-bin"

Christian Baur christian.baur at steinbeis-tzs.de
Tue Oct 15 15:33:22 CEST 2019


Hi,

i am following the Quickstart Guide and my build fails.
https://elbe-rfs.org/docs/sphinx/article-quickstart.html

ELBE: v12.0 (installed using apt)
Host: Debian Buster (10.1)

When running

elbe initvm submit examples/armhf-ti-beaglebone-black.xml

the build fails:
Extracted error message (for a longer log, see below):
~~~
[ERROR] /var/cache/elbe/initvm-bin-repo does not exist
The generated CDROM will not contain initvm pkgs
This happened because the initvm was probably
generated with --skip-build-bin
~~~

When running this:

elbe initvm --skip-build-bin submit examples/armhf-ti-phycore.xml

the build succeeds.

Is this an error in the quickstart documentation?
Should the build run successful without using "--skip-build-bin"?
Am I doing something wrong?

    Best Regards, Christian



~~~
[INFO] Binary CD
[CMD] cp -av /var/cache/elbe/initvm-bin-repo 
"/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/binrepo"
cp: cannot stat '/var/cache/elbe/initvm-bin-repo': No such file or directory
[ERROR] /var/cache/elbe/initvm-bin-repo does not exist
The generated CDROM will not contain initvm pkgs
This happened because the initvm was probably
generated with --skip-build-bin
Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/elbepack/cdroms.py", line 138, 
in mk_binary_cdrom
     do('cp -av /var/cache/elbe/initvm-bin-repo "%s"' % repo_path)
   File "/usr/lib/python2.7/dist-packages/elbepack/shellhelper.py", line 
115, in do
     raise CommandError(cmd, p.returncode)
CommandError
[CMD] mkdir -p 
"/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/binrepo"
[CMD] mv 
/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/chroot/repo 
/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/chroot/../
[CMD] rm 
/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/chroot/etc/apt/sources.list.d/local.list
[CMD] rm 
/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/chroot/etc/apt/trusted.gpg.d/elbe-localrepo.gpg
[ERROR] Build failed
Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/elbepack/asyncworker.py", line 
181, in execute
     skip_pbuild=self.skip_pbuilder)
   File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 
625, in build
     self.build_cdroms(build_bin, build_sources, cdrom_size)
   File "/usr/lib/python2.7/dist-packages/elbepack/elbeproject.py", line 
456, in build_cdroms
     self.builddir)
   File "/usr/lib/python2.7/dist-packages/elbepack/cdroms.py", line 150, 
in mk_binary_cdrom
     repo = CdromInitRepo(init_codename, repo_path, mirror)
   File "/usr/lib/python2.7/dist-packages/elbepack/repomanager.py", line 
343, in __init__
     "Elbe InitVM Cdrom Repo")
   File "/usr/lib/python2.7/dist-packages/elbepack/repomanager.py", line 
89, in __init__
     repo_conf = self.fs.read_file("conf/distributions")
   File "/usr/lib/python2.7/dist-packages/elbepack/filesystem.py", line 
229, in read_file
     fp = self.open(path, "r")
   File "/usr/lib/python2.7/dist-packages/elbepack/filesystem.py", line 
70, in open
     return open(self.fname(path), mode)
IOError: [Errno 2] No such file or directory: 
'/var/cache/elbe/ca1e7cd8-5386-40f6-a48b-14cd28f9b33e/binrepo/conf/distributions'
Project build was not successful, current status: build_failed
elbe control wait_busy Failed
~~~



More information about the elbe-users mailing list