[elbe-devel] Problems creating file system

Bastian Germann bage at linutronix.de
Sat May 14 09:58:41 CEST 2022


Hi,

I guess there is something wrong with the pbuilder component.
Can you build an example that does not involve pbuilder?

Thanks,
Bastian

Am 11.05.22 um 07:49 schrieb Müller, Steffen - LT:
> [INFO] Retrieve pbuild sources: zlib
> 
> [CMD] cd "/var/cache/elbe/1428276e-456f-407a-98d4-d9ae3f31349f/pdebuilder";apt-get source --yes -q --download-only "zlib"
> 
> Reading package lists...
> 
> Need to get 397 kB of source archives.
> 
> Get:1 http://security.debian.org/debian-security <http://security.debian.org/debian-security> bullseye-security/main 
> zlib 1:1.2.11.dfsg-2+deb11u1 (dsc) [2,905 B]
> 
> Get:2 http://security.debian.org/debian-security <http://security.debian.org/debian-security> bullseye-security/main 
> zlib 1:1.2.11.dfsg-2+deb11u1 (tar) [370 kB]
> 
> Err:3 http://security.debian.org/debian-security <http://security.debian.org/debian-security> bullseye-security/main 
> zlib 1:1.2.11.dfsg-2+deb11u1 (diff)
> 
>    Bad header line Bad header data [IP: 199.232.138.132 80]
> 
> Fetched 373 kB in 7s (56.4 kB/s)
> 
> W: Download is performed unsandboxed as root as file 'zlib_1.2.11.dfsg-2+deb11u1.dsc' couldn't be accessed by user 
> '_apt'. - pkgAcquire::Run (13: Permission denied)
> 
> E: Failed to fetch 
> http://security.debian.org/debian-security/pool/updates/main/z/zlib/zlib_1.2.11.dfsg-2%2bdeb11u1.debian.tar.xz 
> <http://security.debian.org/debian-security/pool/updates/main/z/zlib/zlib_1.2.11.dfsg-2%2bdeb11u1.debian.tar.xz>  Bad 
> header line Bad header data [IP: 199.232.138.132 80]
> 
> E: Failed to fetch some archives.
> 
> [ERROR] Build failed
> 
> Traceback (most recent call last):
> 
>    File "/usr/lib/python3/dist-packages/elbepack/asyncworker.py", line 183, in execute
> 
>      self.project.build(skip_pkglist=False,
> 
>    File "/usr/lib/python3/dist-packages/elbepack/elbeproject.py", line 577, in build
> 
>      self.pbuild(p)
> 
>    File "/usr/lib/python3/dist-packages/elbepack/elbeproject.py", line 442, in pbuild
> 
>      do('cd "%s";apt-get source %s "%s"' % (pdb_path, apt_args, src_uri))
> 
>    File "/usr/lib/python3/dist-packages/elbepack/shellhelper.py", line 258, in do
> 
>      raise CommandError(cmd, p.returncode)
> 
> elbepack.shellhelper.CommandError: Error: 100 returned from Command cd 
> "/var/cache/elbe/1428276e-456f-407a-98d4-d9ae3f31349f/pdebuilder";apt-get source --yes -q --download-only "zlib"
> 
> Project build was not successful, current status: build_failed
> 
> elbe control wait_busy Failed
> 
> The project will not be deleted from the initvm.
> 
> The files, that have been built, can be downloaded using:
> 
> /usr/bin/elbe control get_files --output "None" "/var/cache/elbe/1428276e-456f-407a-98d4-d9ae3f31349f"
> 
> The project can then be removed using:
> 
> /usr/bin/elbe control del_project "/var/cache/elbe/1428276e-456f-407a-98d4-d9ae3f31349f"
> 
> If we try to build the am64 examle we get the following output:
> 
> elbe initvm submit arm64-qemu-virt.xml
> 
> Build started, waiting till it finishes
> 
> [INFO] Build started
> 
> [INFO] ELBE Report for Project aarch64
> 
> Report timestamp: 20220510-091248
> 
> [ERROR] Build failed
> 
> Traceback (most recent call last):
> 
>    File "/usr/lib/python3/dist-packages/elbepack/asyncworker.py", line 183, in execute
> 
>      self.project.build(skip_pkglist=False,
> 
>    File "/usr/lib/python3/dist-packages/elbepack/elbeproject.py", line 570, in build
> 
>      self.xml.validate_apt_sources(m, self.arch)
> 
>    File "/usr/lib/python3/dist-packages/elbepack/elbexml.py", line 354, in validate_apt_sources
> 
>      raise ValidationError(
> 
> elbepack.elbexml.ValidationError: Repository http://ftp.de.debian.org/debian/dists/bullseye/ 
> <http://ftp.de.debian.org/debian/dists/bullseye/>, main/binary-arm64/Packages can not be validated
>


More information about the elbe-devel mailing list