<div dir="ltr"><div dir="ltr">On Fri, Apr 18, 2025 at 5:07 PM Ryan Carsten Schmidt <<a href="mailto:ryandesign@macports.org">ryandesign@macports.org</a>> wrote:<br></div><div class="gmail_quote gmail_quote_container"><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"><div dir="auto"><div dir="ltr"></div><div dir="ltr">On Apr 18, 2025, at 14:46, Dave Allured - NOAA Affiliate wrote:</div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>David, please apply this fix for PostgreSQL 16/17. I am tripping over this while trying to fix <a href="https://trac.macports.org/ticket/72215" target="_blank">https://trac.macports.org/ticket/72215</a>, the certsync problem, which itself is breaking other things. Thank you.</div></div></div></blockquote><div>Maybe I missed it... what fix are you proposing?</div></div></blockquote><div><br></div>Ryan, for trac #72215, certsync, I am proposing only the workaround that you suggested there. "change postgresql16 and postgresql17 to match the other ports and to avoid the base bug". I am not addressing the base issue that was mentioned. This will not pass CI until strchrnul is fixed.</div><div class="gmail_quote gmail_quote_container"><a href="https://github.com/Dave-Allured/macports-ports/commit/d16afa579a8de34ad7aa3b41d560a89fb51bf7e0">https://github.com/Dave-Allured/macports-ports/commit/d16afa579a8de34ad7aa3b41d560a89fb51bf7e0</a></div><div class="gmail_quote gmail_quote_container"><div> </div><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"><div dir="auto"><div></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Tue, Apr 8, 2025 at 2:04 PM Ryan Carsten Schmidt wrote:<br><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">On macOS 15, MacPorts will set MACOSX_DEPLOYMENT_TARGET to 15.0. Similar for any other macOS version. (The minor macOS version is not included in the deployment target.)</blockquote></div></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Apr 8, 2025 at 11:03 AM David Gilman wrote:<br></div><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">Note that macOS 15.4 added strchrnul to the C standard library. It's<br>
behind the MACOSX_DEPLOYMENT_TARGET of 15.4 or greater, however, in at<br>
least some cases a configure script could find strchrnul only to have<br>
failures at build time when MACOSX_DEPLOYMENT_TARGET is defined. If<br>
there are any ports, or the builders/the port system itself is<br>
definining MACOSX_DEPLOYMENT_TARGET to 15.0 they are at risk of<br>
tripping this when building on 15.4.<br>
<br>
This happened in PostgreSQL, there is a patch to their <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
and a discussion here.<br>
<a href="https://www.postgresql.org/message-id/flat/E1tziZ6-002AW9-2C%40gemulon.postgresql.org" rel="noreferrer" target="_blank">https://www.postgresql.org/message-id/flat/E1tziZ6-002AW9-2C%40gemulon.postgresql.org</a><br>
I can fix the issue in the PostgreSQL ports in MacPorts but giving you<br>
all a notice if you see it elsewhere.<br>
</blockquote></div></div>
</div></blockquote></div></blockquote></div></div>