<div dir="ltr"><div dir="ltr">On Fri, Feb 2, 2024 at 1:52 PM Clemens Lang <<a href="mailto:cal@macports.org">cal@macports.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Fri, Feb 02, 2024 at 01:40:45PM -0500, Link Dupont via macports-dev wrote:<br>
> I submitted a new port[1] recently. I ensured that it compiled and<br>
> runs locally, but when I the commit was merged, I noticed that the<br>
> buildbot builds are failing[2] with an error:<br>
> <br>
> > cli.c:8:10: fatal error: 'availability.h' file not found<br>
> <br>
> I’m puzzled why this doesn’t seem to be a problem locally. How can I<br>
> go about reproducing this build failure locally so that I can figure<br>
> out a fix? What sort of differences are there between ports built<br>
> locally and ports built by the build bot?<br>
<br>
Apart from the differences that others have mentioned, the build<br>
machines also run a case-sensitive filesystem. That seems to be the<br>
issue here, since the default installation of macOS (which yours likely<br>
is) is case-preserving, but not case-sensitive, but the header is<br>
actually<br>
<br>
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/Availability.h<br>
<br>
i.e. with a capital Availability.h, but you're including it all lower<br>
case. That would work on a standard install, but fail on the buildbots.<br></blockquote><div><br></div><div><br></div><div>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?</div></div></div>