-
Notifications
You must be signed in to change notification settings - Fork 81
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
addpatch: ot-keys #4443
addpatch: ot-keys #4443
Conversation
|
||
prepare() { | ||
# download dependencies | ||
- cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this works on riscv64. The failing log because it just fixes at upstream HEAD, but not the latest tag.
@felixonmars Could you please try packaging from main HEAD?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However, $(rustc -vV | sed -n 's/host: //p')
outputs riscv64_unknown_linux_gnu
on riscv machine, but rust needs riscv64gc_unknown_linux_gnu
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However,
$(rustc -vV | sed -n 's/host: //p')
outpusriscv64_unknown_linux_gnu
on riscv machine, but rust needsriscv64gc_unknown_linux_gnu
.
I believe not.
[root@centiskorch /]# rustc -vV | sed -n 's/host: //p'
riscv64gc-unknown-linux-gnu
[root@centiskorch /]# rustc -V
rustc 1.83.0 (90b35a623 2024-11-26) (Arch Linux rust 1:1.83.0-2)
[root@centiskorch /]# uname -a
Linux centiskorch.felixc.at 6.1.80-2-sophgo-11457-g83ab3eda46e6 #1 SMP Sun, 21 Apr 2024 11:50:11 +0000 riscv64 GNU/Linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://archriscv.felixc.at/.status/log.htm?url=logs/ot-keys/ot-keys-1.0.1-1.log outputs a different output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
However,
$(rustc -vV | sed -n 's/host: //p')
outputsriscv64_unknown_linux_gnu
on riscv machine, but rust needsriscv64gc_unknown_linux_gnu
.
Are you using rust package from Arch Linux RISC-V? IIRC only alpine patches the rust triple to remove the gc
part.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
archriscv.felixc.at/.status/log.htm?url=logs/ot-keys/ot-keys-1.0.1-1.log outputs a different output.
As I noted above, this is built from Commit f4f5d77d, which uses $CARCH-unknown-linux-gnu
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
archriscv.felixc.at/.status/log.htm?url=logs/ot-keys/ot-keys-1.0.1-1.log outputs a different output.
As I noted above, this is built from Commit f4f5d77d, which uses
$CARCH-unknown-linux-gnu
.
OK
Close it as complete. |
No description provided.