Opened 6 months ago

Last modified 2 months ago

#69639 closed defect

netcdf fails to build on Sonoma macOS 14.4.1 — at Version 1

Reported by: EJFielding (Eric Fielding) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.9.1
Keywords: sonoma Cc:
Port: netcdf

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

I was trying to do the usual upgrade outdated and it was going to install a new version of netcdf netcdf-4.9.2_2. I also tried installing it directly with sudo port install netcdf +cdf5 +dap +netcdf4 +gcc12. The build failed when it could not find the "m4" program and then it requested that I install the command-line tools. I let it run the command-line tools installation, cleaned the port, and tried again, but I got the same error.

:info:build /Library/Developer/CommandLineTools/usr/bin/make  -f libdap4/CMakeFiles/dap4.dir/build.make libdap4/CMakeFiles/dap4.dir/build
:info:build xcode-select: Failed to locate 'm4', requesting installation of command line developer tools.

Change History (2)

Changed 6 months ago by EJFielding (Eric Fielding)

Attachment: main.log added

netcdf main.log

comment:1 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: netcdf m4 removed
Owner: set to tenomoto
Status: newassigned

Ok, this will be the same bug that we discovered a little while ago, which is that Apple forgot to include m4 in the 15.3 version of the Xcode command line tools. So far Apple has not responded to my bug report. In other ports we've fixed the problem by using MacPorts m4 instead. See #69464, #69481, #69493, #69515.

Note: See TracTickets for help on using tickets.