Re: OCaml build failure on Windows

Thomas Leonard <[email protected]> Thu, 22 Sep 2016 19:22:41 +0100
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <CAG4opy8P3gHeAsehgBz8FmGhjaL_eB5REMy3quiYm-HK1b9Nng@mail.gmail.com>
On 7 March 2016 at 20:13, Thomas Leonard <[email protected]> wrote:
> On 6 March 2016 at 17:55, Thomas Leonard <[email protected]> wrote:
>> On 28 February 2016 at 19:22, Thomas Leonard <[email protected]> wrote:
>>> On 28 February 2016 at 18:35, Bastian Eicher <[email protected]> wrote:
>>>> Hi Thomas,
>>>>
>>>> commit bc11f017c298 (Use Format module in more places) makes the OCaml
>>>> builds on Windows fail:
>>>> https://0install.de/teamcity/viewLog.html?buildId=16107&buildTypeId=ZeroInst
>>>> all_OCaml_Windows&tab=buildLog
>>>>
>>>> Perhaps some additional build dependency needs to be installed on the build
>>>> agent?
>>>
>>> It's just that it's using an older OCaml (4.00). I've pushed a fix.
>>>
>>> We should probably drop 4.00 support at some point though. 4.03 is
>>> about to be released!

Hi Bastian,

I've now removed support for very old versions of ocurl, which has
broken the teamcity builds ("Failure: ocurl is too old - need 0.7.1 or
later").

The master branch is currently building fine with the other CIs though
(AppVeyor for Windows and Travis for Linux and OS X), e.g.

  https://ci.appveyor.com/project/talex5-ci/0install-yp593/build/5

Could we get the teamcity build machines updated, if they're still
needed? I think these instructions should work for Windows, though I
can't test them myself at the moment:

   https://github.com/0install/0install#windows-installation

For Linux, "opam update && opam upgrade" will probably fix it.


-- 
talex5 (GitHub/Twitter)        http://roscidus.com/blog/
GPG: 5DD5 8D70 899C 454A 966D  6A51 7513 3C8F 94F6 E0CC
GPG: DA98 25AE CAD0 8975 7CDA  BD8E 0713 3F96 CA74 D8BA

------------------------------------------------------------------------------