-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building rootfs fails for ubuntu-22.04-cross-riscv64 #1088
Comments
debootstrap version is old.
I have tested 2 and 3 and it works. The best would be 1 (with clang 18 if possible). |
Thanks! I think it's worth trying out solution 1. I'm happy to do so, unless you were planning to. |
For solution 1, we can start by adding sources.list.noble at https://github.com/dotnet/arcade/tree/main/eng/common/cross/riscv64, followed by the work in this repo. If you are already on it, I can give moral support and help testing. 😄 |
Unfortunately I think debootstrap (at least the version in Azure Linux 3.0) doesn't support noble yet:
For solution 2, I assume you meant Ubuntu 24.04 right? |
Solution 1 can use solution 3 |
I am having a related problem in #1096, blocking progress on that PR. I see this. #5 [builder 1/3] FROM mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-22.04-crossdeps-local
#5 CACHED
#6 [builder 3/3] RUN /scripts/eng/common/cross/build-rootfs.sh riscv64 sid --skipunmount
#6 0.249 running debootstrap --variant=minbase --keyring /usr/share/keyrings/debian-archive-keyring.gpg --include=debian-archive-keyring --force-check-gpg --arch riscv64 sid /crossrootfs/riscv64 http://ports.ubuntu.com/
#6 0.304 I: Retrieving InRelease
#6 0.679 I: Retrieving Release
#6 1.052 E: Failed getting release file http://ports.ubuntu.com/dists/sid/Release
#6 ERROR: executor failed running [/bin/sh -c /scripts/eng/common/cross/build-rootfs.sh riscv64 sid --skipunmount]: exit code: 1
------ It is indeed true that http://ports.ubuntu.com/dists/sid/Release 404s. Lots of other releases are at the parent directory: http://ports.ubuntu.com/dists/. Why do we use |
We use sid because risc-v is a new emerging architecture. Now that Ubuntu noble is released in April with first class risc-v support, we should switch to noble instead. Replace |
This is failing consistently with:
Not sure when it started failing, but it happens for example in #1087 and #1083.
@am11, any idea what might be causing this?
The text was updated successfully, but these errors were encountered: