* 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/usr/include -I/usr/include/hdf -DH5_USE_110_API
  --libs          -> -L/usr/lib64 -lnetcdf
  --static        -> -ljpeg -lmfhdf -ldf -ljpeg -lhdf5_hl -lhdf5 -lm -lz -lcurl -ltirpc

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

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

  --has-fortran   -> yes
  --fc            -> gfortran
  --fflags        -> -I/usr/lib64/gfortran/modules
  --flibs         -> -lnetcdff
  --has-f90       -> 
  --has-f03       -> yes

  --has-dap       -> yes
  --has-dap2      -> yes
  --has-dap4      -> yes
  --has-nc2       -> yes
  --has-nc4       -> yes
  --has-hdf5      -> yes
  --has-hdf4      -> yes
  --has-logging   -> no
  --has-pnetcdf   -> no
  --has-szlib     -> yes
  --has-cdf5      -> yes
  --has-parallel4 -> no
  --has-parallel  -> no
  --has-nczarr    -> yes

  --prefix        -> /usr
  --includedir    -> /usr/include
  --libdir        -> /usr/lib64
  --version       -> netCDF 4.8.1

---
netcdf.m4: about to set rpath, here is source string: >-L/usr/lib64 -lnetcdf<
netcdf.m4: final rpath:   -Wl,-rpath,/usr/lib64
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/usr/include -I/usr/include/hdf -DH5_USE_110_API
netCDF v4 LD flags       =   -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lnetcdf -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu
netCDF v4 runtime path   =   -Wl,-rpath,/usr/lib64
 
netCDF C compiler used   = gcc
R      C compiler used   = gcc-13 -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes
 
******************************************************************************
 
netcdf cc arg1: gcc  R cc arg1: gcc-13 R_IS_GCC: 1 R_IS_CLANG: 0 NETCDF_IS_GCC: 1 NETCDF_IS_CLANG: 0  emit_warning: 0
** libs
using C compiler: ‘gcc-13 (GCC) 13.2.0’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ncdf4/src'
gcc-13 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I/usr/include -I/usr/include/hdf -DH5_USE_110_API  -I/usr/local/include    -fpic  -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes  -c ncdf.c -o ncdf.o
gcc-13 -shared -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -fpic -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -o ncdf4.so ncdf.o -Wl,-rpath,/usr/lib64 -L/usr/lib64 -lnetcdf -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ncdf4/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/ncdf4/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/ncdf4/src'
installing to /data/gannet/ripley/R/packages/tests-devel/ncdf4.Rcheck/00LOCK-ncdf4/00new/ncdf4/libs
** 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)