Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
2 tasks done
llde opened this issue May 4, 2024 · 4 comments
Closed
2 tasks done
Labels
not-rustup Whatever is described in this issue isn't Rustup's fault
Milestone

Comments

@llde
Copy link

llde commented May 4, 2024

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
@llde llde added the bug label May 4, 2024
@llde
Copy link
Author

llde commented May 4, 2024

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

isn't written in the settings.toml

@rami3l
Copy link
Member

rami3l commented May 5, 2024

@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 :]

@rami3l rami3l added this to the 1.29.0 milestone May 5, 2024
@llde
Copy link
Author

llde commented May 7, 2024

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

@rami3l
Copy link
Member

rami3l commented May 8, 2024

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

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

@rami3l rami3l closed this as not planned Won't fix, can't repro, duplicate, stale May 8, 2024
@rami3l rami3l added not-rustup Whatever is described in this issue isn't Rustup's fault and removed bug labels May 8, 2024
@rami3l rami3l modified the milestones: 1.29.0, 1.28.0 May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-rustup Whatever is described in this issue isn't Rustup's fault
Projects
None yet
Development

No branches or pull requests

2 participants