* installing *source* package ‘ncdf4’ ...
** 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.8.1 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 -lcurl -L/opt/R/arm64/lib -lsz
  --static        -> -lhdf5_hl -lhdf5 -lm -lz -lcurl -L/opt/R/arm64/lib -lsz

  --has-c++       -> no
  --cxx           -> 

  --has-c++4      -> no
  --cxx4          -> 

  --has-fortran   -> no
  --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

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

---
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 -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.8.1
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 -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 -falign-functions=64 -Wall -g -O2
 
******************************************************************************
 
checking whether we are using the GNU C compiler... no
checking whether clang -arch arm64 accepts -g... no
checking for clang -arch arm64 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 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang -arch arm64 -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 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -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 -lcurl -L/opt/R/arm64/lib -lsz -L/opt/R/arm64/lib -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/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)