-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
mingw-w64-x86_64-cmake fails to start #23531
Comments
i've also tested the |
Are you sure you used the corresponding shell, if yes then there is an issue in your OS. |
i'm pretty sure, but how should I test/verify/...? and why is the VM (based on
everything works fine here (I just tested) the recent update, was basically doing a Windows system update (still Win10; but now the system build says The upstream Cmake is in the All the other Cmake's installed on the system appear to work fine:
|
You said "MINGW2 MinGW 64-bit shell" that shell does not exist, are you sure you used MINGW64 not MSYS shell. |
indeed, that was a typo. |
You could try installing gdb (
|
Description / Steps to reproduce the issue
MINGW2 MinGW 64-bit
shellmingw64
to the latest and greatestfilesystem 2025.02-23.1
)mingw-w64-x86_64-cmake
pacman -S "${MINGW_PACKAGE_PREFIX}-cmake"
Expected behavior
i expect to be greeted with a the Cmake banner:
Actual behavior
nothing is printed, and instead i get an error code
127
(afair this is "file not found").it took me a while to narrow this down, as I already had the
cmake
package (without the${MINGW_PACKAGE_PREFIX}-
) installed, and rancmake
before updating.this would then cache the path to the
cmake
binary as/usr/bin/cmake
, and subsequent runs would use the binary from thecmake
-package, which is working correctly.starting up a new shell, would clear the cache (so
cmake
is now resolved to${MINGW_PREFIX}/bin/cmake
- e.g./mingw64/bin/cmake
), and things start to fail.Verification
Windows Version
MSYS_NT-10.0-14393
MINGW environments affected
Are you willing to submit a PR?
if I new how to fix the problem, I probably would submit a PR (but I don't)
The text was updated successfully, but these errors were encountered: