You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
1.85.1: NetBSD x86_64 installation provides Linux rust-objcopy #139195
C-bugCategory: This is a bug.O-netbsdOperating system: NetBSDT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
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
changed the title [-]1.85.1: NetBSD x86_64 provides gets Linux `rust-objcopy`[/-][+]1.85.1: NetBSD x86_64 provides Linux `rust-objcopy`[/+]on Mar 31, 2025
changed the title [-]1.85.1: NetBSD x86_64 provides Linux `rust-objcopy`[/-][+]1.85.1: NetBSD x86_64 installation provides Linux `rust-objcopy`[/+]on Mar 31, 2025
C-bugCategory: This is a bug.O-netbsdOperating system: NetBSDT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Activity
[-]1.85.1: NetBSD x86_64 provides gets Linux `rust-objcopy`[/-][+]1.85.1: NetBSD x86_64 provides Linux `rust-objcopy`[/+][-]1.85.1: NetBSD x86_64 provides Linux `rust-objcopy`[/-][+]1.85.1: NetBSD x86_64 installation provides Linux `rust-objcopy`[/+]moxian commentedon Mar 31, 2025
Effectively duplicate of #138943
This should not cause any issues in practice, but please mention if that's not the case.
@rustbot label: +T-bootstrap +O-netbsd +C-bug -needs-triage
lambdageek commentedon Oct 29, 2025
I think this is a duplicate of #145699 and is probably fixed by #145763
Kobzol commentedon Oct 29, 2025
Thanks for finding the dupe!