• Bug#1109862: rustc - please depend on gcc-for-host, binutils-for-host

    From Bastian Blank@21:1/5 to All on Fri Jul 25 11:20:01 2025
    Package: rustc
    Version: 1.85.0+dfsg3-1
    Severity: normal
    X-Debbugs-Cc: [email protected]

    rustc currently depends on gcc and binutils. This means it wants the
    native compiler and will break if a cross compiler for this arch is
    already installed.

    Please change that to gcc-for-host and binutils-for-host.

    As rustc is multi architecture, isn't this dependency kind of wrong?

    Bastian

    -- System Information:
    Debian Release: 13.0
    APT prefers testing
    APT policy: (700, 'testing'), (500, 'unstable-debug'), (500, 'proposed-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 6.15-amd64 (SMP w/16 CPU threads; PREEMPT)
    Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
    Shell: /bin/sh linked to /usr/bin/dash
    Init: systemd (via /run/systemd/system)
    LSM: AppArmor: enabled

    Versions of packages rustc depends on:
    ii binutils 2.44-3
    ii gcc 4:14.2.0-1
    ii libc6 2.41-10
    ii libc6-dev [libc-dev] 2.41-10
    ii libgcc-s1 14.2.0-19
    ii libstd-rust-dev 1.85.0+dfsg3-1

    Versions of packages rustc recommends:
    pn cargo <none>
    pn rust-llvm <none>

    rustc suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)