Frogging-Family / wine-tkg-git

The wine-tkg build systems, to create custom Wine and Proton builds
883 stars 159 forks source link

Fails to build, cargo spams: "not found in this scope" #1154

Closed SheMelody closed 5 months ago

SheMelody commented 5 months ago

Schermata_20240417_215346

SheMelody commented 5 months ago

This cannot be reproduced all systems: upon further investigation, this seems to be an actual problem with rustup. It's about broken i686 target. Even though you have it, it won't work. Now, I won't explain how this problem works here, but if you need a fix, here's what you need to do in short: First, even if you shouldn't do it, install the following i686 toolchain in rustup anyway: stable-i686-unknown-linux-gnu Afterwards, install the following target in rustup: i686-unknown-linux-gnu Now, upon running rustup show, make sure that the current toolchain is stable-x86_64-unknown-linux-gnu and that both targets i686-unknown-linux-gnu and x86_64-unknown-linux-gnu are avaiable.

Note that, even though you're not supposed to do it, you need to install the i686 toolchain, which is what made me think this was a problem with this script, while it isn't.