Difference between mpbb and local builds

Dave Allured - NOAA Affiliate dave.allured at noaa.gov
Fri Feb 2 21:09:41 UTC 2024


On Fri, Feb 2, 2024 at 1:52 PM Clemens Lang <cal at macports.org> wrote:

> Hi,
>
> On Fri, Feb 02, 2024 at 01:40:45PM -0500, Link Dupont via macports-dev
> 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?
>
> Apart from the differences that others have mentioned, the build
> machines also run a case-sensitive filesystem. That seems to be the
> issue here, since the default installation of macOS (which yours likely
> is) is case-preserving, but not case-sensitive, but the header is
> actually
>
>
> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/Availability.h
>
> i.e. with a capital Availability.h, but you're including it all lower
> case. That would work on a standard install, but fail on the buildbots.
>


Now this is odd.  Socket_vmnet is a package specifically intended for Mac
OS, yet availability.h has been hard coded as all lowercase in the source
code for more than two years.  Are there two versions, [A/a]vailability.h?
Or perhaps this is a real upstream bug, and they never tested it on a case
sensitive file system?  Thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20240202/384fd0d7/attachment.htm>


More information about the macports-dev mailing list