Difference between mpbb and local builds

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Feb 2 19:00:15 UTC 2024

Link, the basic difference is that builders start with an empty system and
add only the minimum required dependencies.  Your local macports might have
all sorts of other software installed.  Also you might not be correctly
isolating your local macports environment, meaning that the local build
could pick up files from unexpected locations outside of a proper macports

So track down where your local build is getting availability.h, then decide
what should be done about it.

On Fri, Feb 2, 2024 at 11:41 AM Link Dupont via macports-dev <
macports-dev at lists.macports.org> wrote:

> I submitted a new port[1] recently. I ensured that it compiled and runs
> locally, but when I the commit was merged, I noticed that the buildbot
> builds are failing[2] with an error:
> > cli.c:8:10: fatal error: 'availability.h' file not found
> I’m puzzled why this doesn’t seem to be a problem locally. How can I go
> about reproducing this build failure locally so that I can figure out a
> fix? What sort of differences are there between ports built locally and
> ports built by the build bot?
> 1: https://ports.macports.org/port/socket_vmnet/
> 2:
> https://build.macports.org/builders/ports-14_arm64-builder/builds/16659/steps/install-port/logs/stdio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240202/b79ce5f0/attachment.htm>

More information about the macports-dev mailing list