Skip to content

error: toolchain 'stable-x86_64-pc-windows-msvc' is not installable with rustup 1.27.0 on wine #3807

Description

@llde

Verification

Problem

trying a fresh install of rustup and downloading the default stable seems to suceeed, but then error with:
error: toolchain 'stable-x86_64-pc-windows-msvc' is not installable

after the verbose message that follow tmp directory deletions:
verbose: toolchain 'stable-x86_64-pc-windows-msvc' installed

VS2019 and the C++ build tools are isntalled on this prefix.
Using latest Wine from git

While this seems to be a specific wine deficiency (similar to the issue removing tmp directories in the 1.26.0. version), I'd like to know what rustup flow is and what cause the error.
If it's the case that this failing step is working correctyl but expect something that a previous step failed to produce, maybe a warning/error on the previous step may be worth to add

Steps

Correct prefix setted in the WINE_PREFIX envvar

  1. Have a prefix with C++ build tools installed and no .crago and .rustup folders in the user directory
  2. wine rustup-init.exe
  3. Install the default toolchain

Possible Solution(s)

No response

Notes

No response

Rustup version

1.27.0

Installed toolchains

None

OS version

ArchLinux x64, Wine/Wine Staging 9.8

Activity

  1. llde commented on May 4, 2024

    @llde
    Author

    Isse seems that the line
    default_toolchain = "stable-x86_64-pc-windows-msvc"

    isn't written in the settings.toml

  2. rami3l commented on May 5, 2024

    @rami3l
    Member

    @llde I'm trying to revamp the logging system in #3803. I do hope this will make things easier for you in the near future :]

  3. added this to the 1.29.0 milestone on May 5, 2024
  4. llde commented on May 7, 2024

    @llde
    Author

    BTW I investigated the bug and discovered is related to an issue in the wine-staging ntdll-Junction_Points patchset that implement REPARSE POINTS

    Bug and a patch to make rustup 1.27.0 (and that also fix an issue with the previous 1.26.0) were made here https://bugs.winehq.org/show_bug.cgi?id=56647

    Still, better detection of where an error occurs is welcome

  5. rami3l commented on May 8, 2024

    @rami3l
    Member

    @llde Wow that's impressive! Thanks a lot for the investigation!

    Anyway, I'm closing this issue as upstreamed now.

  6. added
    not-rustupWhatever is described in this issue isn't Rustup's fault
    and removed on May 8, 2024
  7. modified the milestones: 1.29.0, 1.28.0 on May 8, 2024
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

    not-rustupWhatever is described in this issue isn't Rustup's fault

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions