
this isn't exactly a GHC issue but perhaps someone knows how to get it
resolved? (suspecting commercial/stack i've raised [this issue](
https://github.com/commercialhaskell/stack/issues/5732) there).
tl;dr `stack exec -- pacman -S ...` like commands required for building GHC
on windows are broken and have been for sometime
ghc-lib CI runs this command on windows,
```
stack --resolver lts-18.23 exec -- pacman -S autoconf automake-wrapper
make patch python tar mintty --noconfirm
```
this normally works ok but as of today,
```
warning: database file for 'clang32' does not exist (use '-Sy' to download)
warning: mintty-1~3.6.0-1 is up to date -- reinstalling
error: failed to prepare transaction (could not find database)
```
in another project (ghc-lib-parser-ex), a similar command (different
compiler version/stack yaml) has been producing the following reliably long
enough that i'm sorry to say i just gave up testing it windows.
```
:: File /var/cache/pacman/pkg/automake1.9-1.9.6-3-any.pkg.tar.zst is
corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]
error: automake1.10: signature from "David Macek

On Wed, May 4, 2022 at 5:55 PM Shayne Fletcher
this isn't exactly a GHC issue but perhaps someone knows how to get it resolved? (suspecting commercial/stack i've raised [this issue]( https://github.com/commercialhaskell/stack/issues/5732) there).
tl;dr `stack exec -- pacman -S ...` like commands required for building GHC on windows are broken and have been for sometime
Thanks to commericalhaskell/stack maintainer Mike Pilgrem and Michael Snoyman, the 64-bit MSYS2 that `stack` downloads has been bumped to version 20220503 and issue #5732 above is resolved! -- Shayne Fletcher
participants (1)
-
Shayne Fletcher