Opened 4 weeks ago

Closed 4 weeks ago

Last modified 4 weeks ago

#69789 closed defect (fixed)

nettle @3.9.1_0: won't build on macOS 14 / XCode 15.3

Reported by: rbeyer (Ross Beyer) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: sonoma Cc:
Port: nettle

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When I try and build nettle on my M3 macOS 15 system under XCode 15.3, it yields this error:

:info:build xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

A dialog is opened asking if I want to install. However, after doing that, and then attempting to rebuild the port, the same exact error happens. So I'm not entirely sure what's wrong. Earlier in the build log (attached), there are messages saying that m4 is in the build tree and is found, but then later when clang runs, I guess it is trying to look for it in the command line developer tools, and I'm not sure why it can't be found?

Attachments (1)

nettle-main.log (96.3 KB) - added by rbeyer (Ross Beyer) 4 weeks ago.
main.log from port install -v nettle

Download all attachments as: .zip

Change History (4)

Changed 4 weeks ago by rbeyer (Ross Beyer)

Attachment: nettle-main.log added

main.log from port install -v nettle

comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma added
Owner: set to ryandesign
Status: newassigned
Summary: nettle 3.9.1_0: won't build on macOS 14 / XCode 15.3nettle @3.9.1_0: won't build on macOS 14 / XCode 15.3

The repeated request to install the command line tools, and the failure of m4 to work even after doing so, is a bug in version 15.3 of the command line tools. Apple forgot to include m4 in it. It is filed with Apple as bug number FB13684598. They have not responded to it.

We are working around it in every port that uses m4 as we discover them by using MacPorts m4 instead.

comment:2 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 28ba43a577425db0d6e7b211005ae27081fd7c8d/macports-ports (master):

nettle: Use MacPorts m4

Closes: #69789

comment:3 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.