Opened 7 weeks ago

Closed 7 weeks ago

#69493 closed defect (fixed)

nettle @3.9.1_0+universal: xcode-select: Failed to locate 'm4'

Reported by: thefinalcutbg (Hristo Konstantinov) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: Cc:
Port: nettle

Description (last modified by thefinalcutbg (Hristo Konstantinov))

Trying to install nettle +universal fails. During the installation a dialog with the following message pops-up: "The "m4" command requires the command line developer tools". However I already have CL dev tools installed, but even if I reinstall it through the dialog, the m4 command is still not found, next time I try to install nettle again. Calling m4 in the terminal by itself works just fine. I need nettle universal version, since it is a dependency of xmlsec (which is the actual universal binary I need, and I can't install it without nettle).

Attachments (1)

main.log (166.8 KB) - added by thefinalcutbg (Hristo Konstantinov) 7 weeks ago.
the log from the install process

Download all attachments as: .zip

Change History (6)

Changed 7 weeks ago by thefinalcutbg (Hristo Konstantinov)

Attachment: main.log added

the log from the install process

comment:1 Changed 7 weeks ago by thefinalcutbg (Hristo Konstantinov)

Description: modified (diff)

comment:2 Changed 7 weeks ago by jmroot (Joshua Root)

Owner: set to ryandesign

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

The error in the log is:

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

It seems Apple forgot to put m4 into the 15.3 version of the command line tools. This is the same problem as #69467 and #69481. It will be fixed by https://github.com/macports/macports-ports/pull/22984.

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

Summary: nettle +universal fails on MacOS Sonoma 14.3.1 and XCode 15.3nettle @3.9.1_0+universal: xcode-select: Failed to locate 'm4'
Version: 2.9.1

comment:5 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

In 48589c81916ab6bd8fa2d696a8b7a49d8c751dd6/macports-ports (master):

libtool: Use MacPorts m4

Fixes build of many ports that use libtool when using Xcode 15.3 in
which m4 is not included.

Closes: #69467
Closes: #69481
Closes: #69493
See: #69471

Reverses a previous decision not to use MacPorts m4 except on Tiger:

See: #47545

as it was already reversed in autoconf:

See: #62411

Note: See TracTickets for help on using tickets.