Skip to content

1.85.1: NetBSD x86_64 installation provides Linux rust-objcopy #139195

Open
@0-wiz-0

Description

@0-wiz-0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.O-netbsdOperating system: NetBSDT-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions