* Start separate builds for unbuilt dependencies.
* gather-archives can therefore consider only the port being built and
not worry about its deps.
* Exclude ports that have any dependency that sets 'known_fail yes'.
* Exclude dependencies that have a failcache entry or have a recursive
dependency that does. The ports that the build was actually requested
for are still built even if a dep is in the failcache, so that the
failure will be reported to maintainers.
* Delete stale entries from the failcache for relevant ports while
we're at it.
Fixes: https://trac.macports.org/ticket/60935
We already install dependencies with the unrequested flag. This now also
installs the main port that way. There seems to be no reason to make a
distinction between the main port and its dependencies with regard to
this flag, since the idea is for all of the ports (or at least, all of
the ports that are dependencies of another port) to remain installed,
regardless of whether they were originally installed explicitly or as a dependency.
Closes: https://trac.macports.org/ticket/57571
Check if the archive for the requested port exists in its installed
location, and if so, simply skip installing.
Do the same for each dependency. Dependencies are still built if not
already installed (even if the requested port is somehow already
installed), so their archives can be uploaded.
Deactivate all ports between builds when installing dependencies.
Activate all the dependencies after they are all installed iff the
requested port will need to be built.
Fixes: https://trac.macports.org/ticket/52765
MacPorts 2.3.5 lists maintainers in a different format:
Email: username@macports.org, GitHub: username
which broke extraction of maintainers' emails.
This is a temporary workaround before a better fix is committed to base.
If a port's build has previously failed, we do not want to waste cycles
to re-attempt it (e.g. as dependencies of other ports), unless the
failed port's definition has changed.
To achieve that, create a file with a reference to the last failed build
for every failing port, and fail builds that depend on failed ports
early.
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152581 d073be05-634f-4543-b044-5fe20cf6d1d6