* installing *source* package ‘TMB’ ...
** package ‘TMB’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 18.1.6’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/TMB/src'
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c external_metis.c -o external_metis.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c init.c -o init.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c local_stubs.c -o local_stubs.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c solve_subset.c -o solve_subset.o
/usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG  -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c utils.c -o utils.o
/usr/local/clang18/bin/clang -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o TMB.so external_metis.o init.o local_stubs.o solve_subset.o utils.o -L/data/gannet/ripley/R/R-clang/lib -lRlapack -L/data/gannet/ripley/R/R-clang/lib -lRblas -lFortran_main -lFortranRuntime -lFortranDecimal -lm -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/TMB/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/TMB/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/TMB/src'
installing to /data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/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
Building example simple 
using C++ compiler: ‘clang version 18.1.6’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/examples'
/usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/include" -I""  -DTMB_SAFEBOUNDS  -DLIB_UNLOAD=R_unload_simple  -DTMB_LIB_INIT=R_init_simple  -DCPPAD_FRAMEWORK -I'/data/gannet/ripley/R/R-clang/library/Matrix/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3   -c simple.cpp -o simple.o
In file included from simple.cpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
  273 |       Index count = 0;
      |             ^
In file included from simple.cpp:2:
In file included from /data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/include/TMB.hpp:96:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
   78 |   Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree 
      |         ^
/data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
   79 |   Index nsuper_et = 0; // Number of relaxed snodes in the original etree 
      |         ^
3 warnings generated.
/usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o simple.so simple.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/examples'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/examples'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/TMB.Rcheck/00LOCK-TMB/00new/TMB/examples'
Build time 137.228 seconds

** 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 (TMB)