[Mesa-dev] AppVeyor fails with 404 during wget

Jose Fonseca jfonseca at vmware.com
Tue Sep 13 16:50:48 UTC 2016


On 13/09/16 17:44, Jose Fonseca wrote:
> On 13/09/16 16:22, Steven Toth wrote:
>> AppVeyor is failing to build today (my github master - pulled from
>> mesa master this morning), its getting a 404 attempting to wget
>> win_flex_bison-2.4.5.zip from sourceforge during initialization.
>>
>> To be fair, this is the first time I've ever used appveyor, and I
>> don't have rolling builds enabled. So, not sure why others aren't
>> seeing this. Feel free to point out any dumb mistake I've made.
>>
>> FYI.
>>
>
> It looks like the winflexbison URL changed some time ago.  But this
> didn't cause any build failures because the ZIP was being recovered from
> the cache.
>
> I'll look into it.
>
> Jose

It looks the archive was moved into a old_versions subdir.

The attached patch should fix it.  Could you please try it on your repos 
and confirm.

Jose
-------------- next part --------------
diff --git a/appveyor.yml b/appveyor.yml
index c2efa7e..6e69cbf 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -55,7 +55,7 @@ install:
 - python -m pip install --egg scons==2.4.1
 - scons --version
 # Install flex/bison
-- if not exist "%WINFLEXBISON_ARCHIVE%" appveyor DownloadFile "http://downloads.sourceforge.net/project/winflexbison/%WINFLEXBISON_ARCHIVE%"
+- if not exist "%WINFLEXBISON_ARCHIVE%" appveyor DownloadFile "https://downloads.sourceforge.net/project/winflexbison/old_versions/%WINFLEXBISON_ARCHIVE%"
 - 7z x -y -owinflexbison\ "%WINFLEXBISON_ARCHIVE%" > nul
 - set Path=%CD%\winflexbison;%Path%
 - win_flex --version


More information about the mesa-dev mailing list