Skip to content

Doesn't work with msys2: ln: failed to create symbolic link '/usr/local/bin/gcc': No such file or directory #408

@eyal0

Description

@eyal0

I don't know much about Windows but I am using msys2 in order to compile in Windows. I think that it's supposed to make it easier to build Windows programs using a linux-like platform.

https://www.msys2.org/docs/what-is-msys2/
https://github.com/msys2/setup-msys2?tab=readme-ov-file

Anyway, it isn't working with this ccache. msys2 installs its own shell and all commands after msys2 are installed use that one. You can see that each step in my CI has a shell specified:

Image https://github.com/pcb2gcode/pcb2gcode/actions/runs/21046790178/job/60523135275

But the cache isn't using that shell and I don't know why. Maybe that is what causes the problem?

Image

We'd like to see the msys2 shell in use there instead of the one provided by git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions