Travis CI timeouts for MacPorts builds

Joshua Root jmr at macports.org
Mon Sep 7 17:01:36 UTC 2020


On 2020-9-8 02:44 , Ralph Seichter wrote:
> * Joshua Root:
> 
>>> [1] https://travis-ci.org/github/macports/macports-ports/jobs/724689780
>>
>> It's just a matter of how long your port takes to build (including
>> installing all its dependencies).
> 
> Notmuch, which is what was built in the job [1], is small and builds in
> less than a minute on my MacBook once the prerequisites are installed.
> Perhaps you'd like to try it for yourself.
> 
> Is the Travis-based build just installing the dependencies (as in: the
> binary packages), or does it also build the dependencies from source?
> I suspect the latter. I actually tried that here, and it took ages,
> even on my octa-core machine.

Yes, if the VM's clock is to be believed it took about 12 seconds to
install notmuch itself on Azure once the 181 dependencies were
installed. But the build as a whole took 1 hour and 5 minutes.

<https://dev.azure.com/macports/macports-ports/_build/results?buildId=9200&view=logs&jobId=dbc38fd9-6d27-5399-51f7-f687fa538d8a&j=dbc38fd9-6d27-5399-51f7-f687fa538d8a&t=7442f065-0ec7-554c-f923-e2667b0fa0c3>

The ports modified by the PR are always built from source, but for
dependencies it should be installing from archives if possible.

- Josh


More information about the macports-dev mailing list