Open
Description
I found this using the pkgsrc wip/rust185-bin package, but this can be reproduced in a NetBSD 10.99.12/x86_64 sandbox with the default installation suggestion of:
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
I get a Linux binary of rust-objcopy
installed:
# file .rustup/toolchains/stable-x86_64-unknown-netbsd/lib/rustlib/x86_64-unknown-netbsd/bin/rust-objcopy
.rustup/toolchains/stable-x86_64-unknown-netbsd/lib/rustlib/x86_64-unknown-netbsd/bin/rust-objcopy: ELF 64-bit LSB pie executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-
64.so.2, BuildID[sha1]=24d28b2bcbdfbf3f133800c03229dd8644773e55, for GNU/Linux 3.2.0, not stripped
The other installed binaries are NetBSD 9.0 binaries, so that's fine.
I didn't check the other architectures, so please
- find out what went wrong here
- fix it
- create new binary packages for the affected architectures
Thank you.