msys2 / msys2/setup-msys2

Compiler unable to find installed packages

Open
#261 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
Dominant language
JavaScript
Stars
392
Forks
52
Avg merge
52m
Merged PRs (30d)
7

Description

I'm getting new behaviour where the ghc the compiler we are using are unable to find installed packages where it used to be able to do so.

I have a work around for the problem, but feel that this should work out of the box with the work around.

I have documented my findings here: https://github.com/input-output-hk/cardano-node/issues/4614

The work around we are using is here: https://github.com/input-output-hk/cardano-node/pull/4590

I have raised this issue to start a conversation about what recent change might have occurred that would cause this change in behaviour and discuss if there are any options to make the work around unnecessary.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the findings in cardano-node#4614 and the workaround in cardano-node#4590, then inspect how this action sets up MSYS2 and exposes installed GHC packages. Reproduce the package lookup failure in a minimal workflow and define done as making installed packages discoverable without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, haskell, javascript
Domain
ci-cd, compilers
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.