[elbe-devel] Problems creating file system
Bastian Germann
bage at linutronix.de
Tue May 17 13:53:29 CEST 2022
Your log says:
[CMD] reprepro --keepunreferencedfiles --export=never --basedir
"/var/cache/elbe/4413ee95-fff6-474a-bf01-6973228b4aec/srcrepo-main" --priority normal --section misc --component
"initvm" includedsc bullseye /var/cache/elbe/sources/mksh_59c-9.dsc
ERROR: Unexpected content of file '/var/cache/elbe/sources/mksh_59c-9.debian.tar.xz'!
md5 expected: 62814d9e2d533048ba6da97b912773d7, got: e7c72ea63c025229547d820360714329
[...]
size expected: 124224, got: 65060
mksh_59c-9.debian.tar.xz is not downloaded correctly from the Debian archive.
Only half of it is downloaded - or some other file (could also be a proxy error page).
I tested the example and it should work. I can build it sucessfully.
Is that log from a build without the proxy?
I really cannot solve your network errors.
If you need help with that: There is commercial support available at https://elbe-rfs.org/support/
Am 16.05.22 um 13:30 schrieb Müller, Steffen - LT:
> Hi Bastian,
>
> we tried to build the armhf-ubuntu.xml example.
> This should not use the pbuilder or?
>
> I attached the last lines of the "elbe initvm submit" output.
>
> In the starter guide debian 10 was recommended. But we use the actual debian 11.
> Should the elbe package work with debian 11?
> Maybe we have a problem with the installation of elbe?
>
> Thanks
> Steffen
>
> -----Ursprüngliche Nachricht-----
>
>
> 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/zl
>> ib_1.2.11.dfsg-2%2bdeb11u1.debian.tar.xz
>> <http://security.debian.org/debian-security/pool/updates/main/z/zlib/z
>> lib_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
>>
>
> Informationen über den Umfang der Verarbeitung Ihrer personenbezogenen Daten und über Ihre Datenschutzrechte finden Sie hier:
> Information on the scope of the processing of your personal data and your data protection rights you find here:
> https://northropgrumman.litef.com/fileadmin/downloads/Pflichtinformationen-Artikel-13-DSGVO.pdf
> __________________________________________________________________________________________
>
> Northrop Grumman LITEF GmbH ~ Amtsgericht Freiburg, HRB 3115 ~ Geschaeftsfuehrung: Lutz Kampmann ~ Vorsitzender des Aufsichtsrates: David Martin ~ Deutsche Bank Freiburg (BLZ 680 700 30) Account: 375 048 00,IBAN: DE96 6807 0030 0037 5048 00, BIC/SWIFT: DEUTDE6FXXX
> __________________________________________________________________________________________
>
> Confidentiality Notice: This e-mail, including any attachments, may contain privileged and/or confidential information and is intended for the addressee’s use only. If you receive this e-mail in error or are not the intended recipient, you may not use, reproduce, disseminate or distribute it. Do not open nor save any attachments, please delete it immediately from your system, destroy any copies and/or printouts and notify the sender promptly by e-mail confirming that you have done so. Thank you.
More information about the elbe-devel
mailing list