<div dir="ltr"><div dir="ltr">There are multiple tickets on M4. There is a fix in the works. Yours seems like the same thing. Please see PR <a href="https://github.com/macports/macports-ports/pull/22984">https://github.com/macports/macports-ports/pull/22984</a> .</div><div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2024 at 7:16 PM Larry Stone <<a href="mailto:lstone19@stonejongleux.com">lstone19@stonejongleux.com</a>> 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">This seems like an Xcode issue more than MacPorts but since MacPorts is why I have Xcode and its command line tools installed, I’ll ask here.<br>
<br>
I upgraded to Sonoma about three weeks ago. All went well including following the MacPorts instructions for major MacOS upgrades. All was working fine. At the time, Xcode and CLT was version 15.1 but both have been upgraded to 15.3 since then.<br>
<br>
Today, for the first time since upgrading to Sonoma, I ran the MacPorts update sequence starting with port selfudpate. One of the packages needing updating was Postfix which requires local building. The upgrade script errored and an error box popped up saying "the m4 command requires the command line developer tools.” Uh, they’re installed. Thinking maybe something had changed, I let it rerun the CLT installation but per System Information, the version was the same. Tried to upgrade Postfix again and the same thing.<br>
<br>
Looking in the CLT directory, I saw usr/bin/gm4 but not m4. A search suggested that gm4 is just m4 with a different name (maybe GNU m4) and to link m4 to gm4. I did and Postfix upgraded OK.<br>
<br>
So what happened? Built OK three weeks ago with CLT 15.1 but failed today with CLT 15.3. Was m4 in 15.1 but is now missing? (Normally, I’d just go to the Time Machine disk to take a look but I had to reinitialize it just a few days ago due to an error trying to expand the Time Machine partition on the disk). Am I OK linking m4 to gm4?<br>
<br>
-- <br>
Larry Stone<br>
<a href="mailto:lstone19@stonejongleux.com" target="_blank">lstone19@stonejongleux.com</a><br>
<br>
<br>
<br>
<br>
</blockquote></div></div>