12 Commits

Author SHA1 Message Date
Joshua Root
0e465824df Remove port-tclsh workaround
Reverts e30835a.
See: https://trac.macports.org/ticket/72359
2025-04-29 22:45:18 +10:00
Joshua Root
7adad068f3 failcache: do nothing for keys longer than NAME_MAX
This can happen for ports with huge numbers of variants. A failure of
failcache_success after a successful build would previously appear to
be a failure to build the port.
2023-12-15 09:21:20 +11:00
Joshua Root
e30835a206 mpb: resolve port-tclsh symlink before executing
This avoids an undesirable modification of auto_path due to Tcl trying
to be helpful.

Closes: https://trac.macports.org/ticket/64507
2022-01-25 03:16:52 +11:00
Joshua Root
bb4a1f6089 mpbb: preprocessing improvements
* 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
2021-01-04 23:31:46 +11:00
Joshua Root
3eefad3b67 mpbb: clear failcache entries for old port versions
Without this, the number of failcache entries would increase forever,
as only the entry with the current hash is deleted upon success, while
it's usually an older version with a different hash that failed.
2021-01-04 17:41:37 +11:00
Ryan Schmidt
e060d60a99 Move get-maintainers to functions 2018-03-07 06:39:46 -06:00
Ryan Schmidt
5caaad3d7c Fix typo in comment 2018-03-07 05:08:06 -06:00
Lawrence Velázquez
fa12d54d2d Remove references to "mp-buildbot" 2016-12-01 16:02:54 -05:00
Lawrence Velázquez
27270ba271 mpbb: Add note about "stale" failcache entries
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@154004 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-10-17 21:14:43 +00:00
Ryan Schmidt
caba6bdec5 mp-buildbot: rename canonical_variants.tcl
Rename canonical_variants.tcl to canonical-variants.tcl to match the other
filenames.

git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152647 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-14 12:09:06 +00:00
Lawrence Velázquez
492f060af6 mpbb: Move parseopt to support library
git-svn-id: https://svn.macports.org/repository/macports/contrib/mp-buildbot@152623 d073be05-634f-4543-b044-5fe20cf6d1d6
2016-09-13 14:25:38 +00:00
Clemens Lang
4c4cc7ae32 mp-buildbot: Don't re-run previously failed builds
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
2016-09-12 19:14:24 +00:00