#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)
Change History (7)
Changed 3 years ago by thefinalcutbg (Hristo Konstantinov)
comment:1 Changed 3 years ago by thefinalcutbg (Hristo Konstantinov)
| Description: | modified (diff) |
|---|
comment:2 Changed 3 years ago by jmroot (Joshua Root)
| Owner: | set to ryandesign |
|---|
comment:3 follow-up: 6 Changed 3 years 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 3 years ago by ryandesign (Ryan Carsten Schmidt)
| Summary: | nettle +universal fails on MacOS Sonoma 14.3.1 and XCode 15.3 → nettle @3.9.1_0+universal: xcode-select: Failed to locate 'm4' |
|---|---|
| Version: | → 2.9.1 |
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
comment:6 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign:
It seems Apple forgot to put
m4into the 15.3 version of the command line tools.
Apple notified me that they fixed it in Xcode CLT 16 beta 3 and I verified it seems to be fixed in 16 beta, 16 beta 2, and 16 beta 3.

the log from the install process