Right,

I think seems to be a bug in the script that wasn't noticed before.

On line 40 there are () missing around the condition. So it's checking both
URLs i think.

The download to Haskell.org succeeds but the msys2 one fails since that
package is gone.

The whole thing after the || needs to be in ().

This would need to be fixed in that branch but the tag won't move.

Any ideas here Ben?

Sent from my Mobile

On Thu, Oct 8, 2020, 17:42 Shayne Fletcher <shayne.fletcher...@gmail.com>
wrote:

>
>
> On Thu, Oct 8, 2020 at 12:19 PM Shayne Fletcher <
> shayne.fletcher...@gmail.com> wrote:
>
>>
>>
>> On Thu, Oct 8, 2020 at 12:13 PM Phyx <loneti...@gmail.com> wrote:
>>
>>> Hi Shayne,
>>>
>>> 8.8.1 had a different mechanism but the primary is still haskell.org.
>>>
>>>
>> I think we are looking at ghc-8.4.3 here (being used on 8.8.1 sources).
>>
>>
>>> You don't need to run the entire pipeline to test this. Just run
>>>
>>> ./mk/get-win32-tarballs.sh download x86_64
>>>
>>>
>> I've thrown that into the build script. Stand-by. Let's see what we get.
>>
>>
> Here we go!
>
> ```
>
> 2020-10-08T16:35:14.8128041Z Downloading 
> mingw-w64-x86_64-crt-git-5.0.0.4795.e3d96cb1-1-any.pkg.tar.xz to 
> ghc-tarballs/mingw-w64/x86_64...
> 2020-10-08T16:35:15.3839177Z #=#=#
> 2020-10-08T16:35:15.3841316Z
> 2020-10-08T16:35:15.4836014Z ################                                 
>                          22.6%
> 2020-10-08T16:35:15.4918420Z 
> ##################################################################        
> 92.9%
> 2020-10-08T16:35:15.4921362Z 
> ######################################################################## 
> 100.0%
> 2020-10-08T16:35:15.7741545Z #=#=#
> 2020-10-08T16:35:15.8742272Z ##O#- #
> 2020-10-08T16:35:15.9760569Z ##O=#  #
> 2020-10-08T16:35:16.9768720Z #=#=-#  #
> 2020-10-08T16:35:17.4160288Z -#O#- #   #
> 2020-10-08T16:35:17.4162806Z -=#=#   #   #
> 2020-10-08T16:35:17.4164112Z curl: (22) The requested URL returned error: 404 
> Not Found
> 2020-10-08T16:35:17.4407190Z
> 2020-10-08T16:35:17.4425090Z ERROR: Download failed.
> 2020-10-08T16:35:17.4564686Z ghc-lib-gen.EXE: Failed when running system 
> command: stack --stack-yaml hadrian/stack.yaml exec -- bash -c 
> "./mk/get-win32-tarballs.sh download x86_64"
> ```
>
> Hope this helps!
>
> --
> Shayne Fletcher
>
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to