-
Notifications
You must be signed in to change notification settings - Fork 841
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
Windows msys2: pacman reports PGP signature errors. #5567
Comments
Workaround: stack exec -- pacman -Sy msys2-keyring The packaged msys2 is almost a year old now; so is pacman's trustdb. |
Me too: and I bothered the wrong people when it is really a |
Do any of the following assist?
|
That could explain why my stack CI started failing under Windows: https://github.com/agda/agda/runs/6435596174?check_suite_focus=true
Can I get |
Indeed, clearing the cache fixed my workflow: https://github.com/agda/agda/runs/6441965841?check_suite_focus=true How can I get a robust cache key for a stack CI? Seems difficult if parts of Atm, I have the key scheme OS-Stack-GHC-Yaml.lock (e.g. Windows-2.7.5-9.0.1-6c2bfc0ffd8aad4b0b1235aef7781dfad8790e9625165f2dee19f9919bba4397), but the MSYS update does not affect any of these components.
|
@andreasabel, on your question "Can I get |
@andreasabel, my knowledge of CI is limited, but what is the purpose of I had understood that, in the |
This is not something that our CI is doing (check https://github.com/agda/agda/blob/d25dd477747155339afb9ad1159cffda0ef1111a/src/github/workflows/stack.yml), this must be something that In short, the CI does the following steps:
See also:
Maybe something goes wrong if |
@andreasabel, as I note above, my knowledge of CI is limited, but I don't understand how it can be caching-related. - with:
path: ${{ steps.haskell-setup.outputs.stack-root }}
key: |
${{ runner.os }}-stack-00-${{ env.STACK_VER }}-${{ hashFiles(format('stack-{0}.yaml.lock', env.GHC_VER)) }}
uses: actions/cache@v2
name: Cache dependencies
id: cache is caching the stack root directory - but, on Windows, that directory has nothing to do with the stack-supplied MSYS2. MSYS2 is a tool in the |
Adding a link to this issue: https://gitlab.haskell.org/ghc/ghc/-/issues/14183 as it may provide an clue. |
@mpilgrem wrote:
Well, I imagine it like this:
Does this sound plausible? |
I tried the following experiment, but it was a blind alley. I am using a version of module Main where
import Lib
import Acme.Missiles
main :: IO ()
main = do
someFunc
launchMissiles
So, entries (a) in a file in my stack root (b) with paths to my existing stack-supplied MSYS2 (which is in I investigated what happened if I disabled that MSYS2:
Back in the project folder,
When I tried If I deleted I tried the same thing but with a |
I am going to close this issue given the passage of time and because I think the original issue is no longer applicable. |
General summary/comments (optional)
I'm trying to install the text-icu library. When I run
stack install text-icu
I get an error:It suggests installing the icu development package. But when I try to say
stack exec -- pacman -S icu-devel
I get PGP signature errors.Steps to reproduce
stack exec -- pacman -S icu-devel
Expected
Latest icu-devel packages installed.
Actual
Stack version
Method of installation
The text was updated successfully, but these errors were encountered: