Hi Phyx,

On Thu, Oct 8, 2020 at 9:10 AM Phyx <loneti...@gmail.com> wrote:

> > `./configure --enable-tarballs-autodownload` GHC build step on Windows
> has been failing because repo.msys2.org
>
> Afaik GHC doesn't rely ok repo.msys2.org for builds, only for mirroring.
> The primary url is haskell.org https://downloads.haskell.org/ghc/mingw/
>
> So it's down time shouldn't have affected you (and works for me).
>
>
I should have mentioned... as always the situation is more complicated 😉
  - This is in the context of ghc-lib CI;
  - I don't have direct access to a windows box;

A procedure to reproduce it would be,
```
cd ghc
git fetch --tags && git checkout ghc-8.8.1-release
git submodule update --init --recursive
stack --stack-yaml hadrian/stack.yaml exec -- bash -c "./configure
--enable-tarballs-autodownload"
```
Looking into the hadrian/stack/yaml on that tag, that's an 8.4.3 resolver
in case that's relevant.


> Which url does it say is inaccessible?
>

Sadly, doesn't say
```

2020-10-08T14:41:46.4566084Z configure: loading site script
/usr/local/etc/config.site
2020-10-08T14:41:46.5682736Z checking for gfind... no
2020-10-08T14:41:46.5700226Z checking for find... /usr/bin/find
2020-10-08T14:41:46.6978096Z checking for sort... /usr/bin/sort
2020-10-08T14:41:46.9667887Z checking for GHC Git commit id...
inferred 9c787d4d24f2b515934c8503ee2bbd7cfac4da20
2020-10-08T14:41:47.5669999Z checking for ghc...
/c/Users/VssAdministrator/AppData/Local/Programs/stack/x86_64-windows/ghc-8.4.3/bin/ghc
2020-10-08T14:41:48.0265433Z checking version of ghc... 8.4.3
2020-10-08T14:41:49.2214006Z GHC path canonicalised to:
c:/Users/VssAdministrator/AppData/Local/Programs/stack/x86_64-windows/ghc-8.4.3/bin/ghc
2020-10-08T14:41:49.8138282Z checking build system type... x86_64-w64-mingw32
2020-10-08T14:41:49.8152277Z checking host system type... x86_64-w64-mingw32
2020-10-08T14:41:49.8172851Z checking target system type... x86_64-w64-mingw32
2020-10-08T14:41:49.8197624Z Host platform inferred as: x86_64-unknown-mingw32
2020-10-08T14:41:50.1249990Z Target platform inferred as: x86_64-unknown-mingw32
2020-10-08T14:41:51.4787854Z GHC build  : x86_64-unknown-mingw32
2020-10-08T14:41:51.4788960Z GHC host   : x86_64-unknown-mingw32
2020-10-08T14:41:51.4790058Z GHC target : x86_64-unknown-mingw32
2020-10-08T14:41:51.4791914Z LLVM target: x86_64-unknown-windows
2020-10-08T14:41:51.6809080Z checking for path to top of build tree...
D:/a/1/s/ghc
2020-10-08T14:41:51.7094005Z configure: Checking for Windows toolchain
tarballs...
2020-10-08T14:41:53.0985704Z #=#=#
2020-10-08T14:41:53.0986841Z
2020-10-08T14:41:53.1745226Z ###################
                                26.4%
2020-10-08T14:41:53.1762650Z
########################################################################
100.0%
2020-10-08T14:41:53.4899178Z #=#=#
2020-10-08T14:41:53.5914142Z ##O#- #
2020-10-08T14:41:53.6973216Z ##O=#  #
2020-10-08T14:41:53.7049675Z #=#=-#  #
2020-10-08T14:41:53.7051106Z curl: (22) The requested URL returned
error: 404 Not Found
2020-10-08T14:41:53.7596464Z
2020-10-08T14:41:53.7600456Z ERROR: Download failed.
2020-10-08T14:41:53.7614446Z

2020-10-08T14:41:53.7615639Z Error fetching msys2 tarballs; see errors
above. ```

-- 
Shayne Fletcher
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to