-
Notifications
You must be signed in to change notification settings - Fork 382
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
Add riscv64gc-unknown-linux-gnu support #413
Add riscv64gc-unknown-linux-gnu support #413
Conversation
bors try |
tryBuild failed: |
Thanks for taking a look. I don't think the failed pipeline was related to this change.
|
@tblah, yeah, the @Alexhuszagh, pinging you in case you want to have a look since you were the last contributor for the |
Reading package lists... W: GPG error: http://archive.debian.org/debian jessie Release: The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 KEYEXPIRED 1587841717 W: The repository 'http://archive.debian.org/debian jessie Release' is not signed. + mkdir -p -m 777 /qemu/powerpc + cd /qemu/powerpc + apt-get -d --no-install-recommends download busybox:powerpc dropbear:powerpc libc6:powerpc libgcc1:powerpc libstdc++6:powerpc linux-image-4.9.0-0.bpo.6-powerpc:powerpc ncurses-base zlib1g:powerpc WARNING: The following packages cannot be authenticated! dropbear:powerpc E: Some packages could not be authenticated The command '/bin/sh -c /linux-image.sh powerpc' returned a non-zero code: 100 PowerPC seems not to have long term support for powerpc: https://www.debian.org/releases/jessie/ The problem is that the keys which signed the powerpc packages have expired so they will always fail package verification. Disabling signature verification will get around that but has obvious security concerns.
@reitermarkus it looks to me like the signing keys for the Debian Jessie PowerPC repo have expired so apt is refusing to download dropbear from there. Debian Jessie is still in support but apparently that support doesn't apply to PowerPC. 32-bit PowerPC isn't supported on Debian releases since Jessie. a7d6482 disables apt signature verification before installing packages from the Debian PowerPC repos. This has obvious security concerns, for example if the Debian package mirror is compromised and made to serve malware. I'll leave this up to you. |
bors try |
tryBuild succeeded: |
bors r+ |
Build succeeded: |
Thanks, @tblah! |
rust support for riscv64gc-unknown-linux-gnu is not yet advertised, but is merged.
There are issues with riscv64gc-unknown-linux-gnu but it works well enough to build many crates (including rustc).