* installing *source* package ‘ncdf4’ ...
** this is package ‘ncdf4’ version ‘1.24’
** package ‘ncdf4’ successfully unpacked and MD5 sums checked
** using staged installation
configure.ac: starting
checking for nc-config... yes
Using nc-config: nc-config
Output of nc-config --all:

This netCDF 4.9.2 has been built with the following features: 

  --cc            -> gcc
  --cflags        -> -I/opt/R/arm64/include -I/opt/R/arm64/include
  --libs          -> -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -L/opt/R/arm64/lib -lsz
  --static        -> -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -L/opt/R/arm64/lib -lsz
  --has-dap          -> yes
  --has-dap2         -> yes
  --has-dap4         -> yes
  --has-nc2          -> yes
  --has-nc4          -> yes
  --has-hdf5         -> yes
  --has-hdf4         -> no
  --has-logging      -> no
  --has-pnetcdf      -> no
  --has-szlib        -> yes
  --has-cdf5         -> yes
  --has-parallel4    -> no
  --has-parallel     -> no
  --has-nczarr       -> yes
  --has-zstd         -> yes
  --has-benchmarks   -> no
  --has-multifilters -> yes
  --has-stdfilters   -> deflate bz2 zstd
  --has-quantize     -> yes

  --prefix           -> /opt/R/arm64
  --includedir       -> /opt/R/arm64/include
  --libdir           -> /opt/R/arm64/lib
  --plugindir        -> 
  --version          -> netCDF 4.9.2

---
netcdf.m4: about to set rpath, here is source string: >-L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -L/opt/R/arm64/lib -lsz<
netcdf.m4: final rpath:   -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib
Netcdf library version: netCDF 4.9.2
Netcdf library has version 4 interface present: yes
Netcdf library was compiled with C compiler: gcc
configure: creating ./config.status
config.status: creating src/Makevars
 
**********************  Results of ncdf4 package configure *******************
 
netCDF v4 CPP flags      = -I/opt/R/arm64/include -I/opt/R/arm64/include
netCDF v4 LD flags       =   -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -L/opt/R/arm64/lib -lsz -L/opt/R/arm64/lib
netCDF v4 runtime path   =   -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib
 
netCDF C compiler used   = gcc
R      C compiler used   = clang -arch arm64 -std=gnu23 -falign-functions=64 -Wall -g -O2
 
******************************************************************************
 
checking whether we are using the GNU C compiler... no
checking whether clang -arch arm64 -std=gnu23 accepts -g... no
checking for clang -arch arm64 -std=gnu23 option to accept ISO C89... unsupported
netcdf cc arg1: gcc  R cc arg1: clang R_IS_GCC: 0 R_IS_CLANG: 1 NETCDF_IS_GCC: 1 NETCDF_IS_CLANG: 0  emit_warning: 0
** libs
using C compiler: ‘Apple clang version 17.0.0 (clang-1700.3.19.1)’
using SDK: ‘MacOSX14.5.sdk’
clang -arch arm64 -std=gnu23 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -I/opt/R/arm64/include  -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ncdf.c -o ncdf.o
clang -arch arm64 -std=gnu23 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o ncdf4.so ncdf.o -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -Wl,-rpath,/opt/R/arm64/lib -L/opt/R/arm64/lib -L/opt/R/arm64/lib -lnetcdf -lhdf5_hl -lhdf5 -lm -lz -lbz2 -lzstd -lxml2 -lcurl -L/opt/R/arm64/lib -lsz -L/opt/R/arm64/lib -F/Library/Frameworks/R.framework/.. -framework R
ld: warning: duplicate -rpath '/opt/R/arm64/lib' ignored
ld: warning: duplicate -rpath '/opt/R/arm64/lib' ignored
installing to /Volumes/Builds/packages/sonoma-arm64/results/4.6/ncdf4.Rcheck/00LOCK-ncdf4/00new/ncdf4/libs
** generating debug symbols (dSYM)
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (ncdf4)