Skip to content

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

Closed

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.

Activity

  1. added
    needs-triage
    on Mar 31, 2025
  2. 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
  3. 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
  4. moxian commented on Mar 31, 2025

    @moxian
    Contributor

    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

  5. added
    C-bug
    O-netbsd
    T-bootstrap
    and removed
    needs-triage
    on Mar 31, 2025
  6. lambdageek commented on Oct 29, 2025

    @lambdageek
    Contributor

    I think this is a duplicate of #145699 and is probably fixed by #145763

  7. Kobzol commented on Oct 29, 2025

    @Kobzol
    Member

    Thanks for finding the dupe!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugO-netbsdT-bootstrap

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions