appveyor / ci

AppVeyor community support repository
https://www.appveyor.com
344 stars 64 forks source link

C:\MinGW\msys\1.0\bin\bash The system cannot find the path specified. #3893

Closed igsilya closed 6 months ago

igsilya commented 8 months ago

The builds started failing a few hours ago. Visual Studio 2019 image seem to miss the msys installation:

C:\MinGW\msys\1.0\bin\bash -lc "echo \"C:/MinGW /mingw\" > /etc/fstab"
The system cannot find the path specified.
Command exited with code 1

Example: https://ci.appveyor.com/project/igsilya/ovs/build/job/1s49rn253o7apswo

OwenMcDonnell commented 8 months ago

I aborted an image update in progress to try to remedy this. Let me know if you are still seeing this failure.

igsilya commented 8 months ago

New builds are working now. Thanks! Will keep an eye on how they go.

OwenMcDonnell commented 8 months ago

Going to deploy a new image today that hopefully addresses the issue. Let me know if the issue recurs.

OwenMcDonnell commented 7 months ago

This should be fixed now on both Visual Studio 2019 and Visual Studio 2022 images.

igsilya commented 7 months ago

Can confirm, the builds are working fine for the last few days. Thanks!

igsilya commented 6 months ago

Hi @OwenMcDonnell , we got this problem again today: https://ci.appveyor.com/project/blp/ovs/builds/48647442 Could you please take a look?

OwenMcDonnell commented 6 months ago

I Will be working on a fix for this in the coming days. In the meantime please use Previous Visual Studio 2019 image.

OwenMcDonnell commented 6 months ago

@igsilya can you confirm this is working again with current image?

igsilya commented 6 months ago

@OwenMcDonnell , seems to be working so far: https://ci.appveyor.com/project/igsilya/ovs/builds/48705167

OwenMcDonnell commented 6 months ago

@igsilya Not sure if you're subscribed to Appveyor's technical newsletter or not, but with the latest update we've also announced the end of support for MinGW 32 bit v.5.3.0 at the next image update. At that time, you'll still be able to run builds with Previous Visual Studio 2019 image, but that then will be replaced at the next image update. At which point you'll have to switch to MinGW-w64 and MSYS2 or else run your own script to install the, now very old, MinGW 32 bit. I'm not too familiar with development using these toolchains, but it seems that you may only need to update your builds to use C:\msys64\usr\bin\bash instead of C:\MinGW\msys\1.0\bin\bash.

igsilya commented 6 months ago

@OwenMcDonnell thanks for the heads up! I'm not an expert in our windows build myself, but I know we link with some 32-bit libraries, so maybe some other adjustments will be needed. We'll look into that.

Closing this issue for now as the new image appears to be working fine. Thanks again!

GitMensch commented 6 months ago

Can you please also fix the VS 2022 image? It has the same issue (the C:\MinGW folder is empty).

Note: I don't see a reference in https://www.appveyor.com/updates/2023/12/03/ that MinGW is (to be) removed and https://www.appveyor.com/docs/windows-images-software/#mingw-msys-cygwin also list that to be available.

When it is removed: how long will it stay available in the "Previous" images (I guess until the next update) and how long with the others (pre 2019)?