[MacPorts] #69639: netcdf fails to build on Sonoma macOS 14.4.1
MacPorts
noreply at macports.org
Mon Apr 1 03:05:28 UTC 2024
#69639: netcdf fails to build on Sonoma macOS 14.4.1
-------------------------+----------------------
Reporter: EJFielding | Owner: tenomoto
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.1
Resolution: | Keywords:
Port: netcdf |
-------------------------+----------------------
Changes (by ryandesign):
* status: new => assigned
* owner: (none) => tenomoto
* keywords: netcdf m4 =>
Old description:
> 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.
>
> }}}
New description:
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.
}}}
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/69639#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list