[MacPorts] #58076: mongodb: portindex error

MacPorts noreply at macports.org
Fri Aug 9 02:55:34 UTC 2019

#58076: mongodb: portindex error
  Reporter:  iEFdev   |      Owner:  ryandesign
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.5.4
Resolution:           |   Keywords:
      Port:  mongodb  |

Comment (by l2dy):

 It's triggered by `git checkout -qf macports/master~4` in `bootstrap.sh`,
 note the `~4`, which was added to compensate PortIndex (on rsync) delays.
 And `portindex -e` would fail the build early to save build time if
 anything went wrong.

 Usually, a CI system assumes that the master branch would pass tests. CI
 is used to discover problems and PortIndex error is the most basic type of
 errors in a Portfile, so I think the current behavior is acceptable. If
 the port being reindexed happens to be a dependency of the port being
 tested, it would affect the build anyway.

Ticket URL: <https://trac.macports.org/ticket/58076#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list