Skip to content
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

Merged
merged 2 commits into from May 1, 2020

Conversation

tblah
Copy link
Contributor

@tblah tblah commented Apr 24, 2020

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).

@reitermarkus
Copy link
Member

bors try

bors bot added a commit that referenced this pull request Apr 28, 2020
@bors
Copy link
Contributor

bors bot commented Apr 29, 2020

try

Build failed:

@tblah
Copy link
Contributor Author

tblah commented Apr 29, 2020

Thanks for taking a look.

I don't think the failed pipeline was related to this change.
From the logs:

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

@reitermarkus
Copy link
Member

@tblah, yeah, the powerpc image seems to keep breaking for various reasons. If you like, please try to fix it. Otherwise feel free to move it into disabled and comment out the line in the CI config.

@Alexhuszagh, pinging you in case you want to have a look since you were the last contributor for the powerpc images.

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.
@tblah
Copy link
Contributor Author

tblah commented Apr 30, 2020

@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.

@reitermarkus
Copy link
Member

bors try

bors bot added a commit that referenced this pull request Apr 30, 2020
@bors
Copy link
Contributor

bors bot commented Apr 30, 2020

try

Build succeeded:

@reitermarkus
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented May 1, 2020

Build succeeded:

@bors bors bot merged commit 29350e5 into cross-rs:master May 1, 2020
@reitermarkus
Copy link
Member

Thanks, @tblah!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants