* installing *source* package ‘glmmTMB’ ... ** package ‘glmmTMB’ successfully unpacked and MD5 sums checked ** using staged installation ** libs make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang13/glmmTMB/src' /usr/local/clang13/bin/clang++ -std=gnu++14 -I"/data/gannet/ripley/R/R-clang-trunk/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/TMB/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang13/include -fopenmp -fpic -g -O3 -Wall -pedantic -frtti -c glmmTMB.cpp -o glmmTMB.o In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:1: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Core:540: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:2: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/LU:47: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:12: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Jacobi:29: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:3: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Cholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:15: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Householder:27: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:4: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/QR:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:5: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SVD:48: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:6: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Geometry:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:53: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Dense:7: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Eigenvalues:58: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:54: 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:66: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:54: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:27: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/OrderingMethods:71: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:54: 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/SparseCholesky:43: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:54: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:32: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseQR:34: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:54: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:33: In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/IterativeLinearSolvers:46: /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:62: In file included from /data/gannet/ripley/R/test-clang/TMB/include/cppad/cppad.hpp:34: /data/gannet/ripley/R/test-clang/TMB/include/cppad/ode_gear.hpp:489:6: warning: variable 'sign' set but not used [-Wunused-but-set-variable] int sign; ^ In file included from glmmTMB.cpp:1: In file included from /data/gannet/ripley/R/test-clang/TMB/include/TMB.hpp:62: In file included from /data/gannet/ripley/R/test-clang/TMB/include/cppad/cppad.hpp:39: /data/gannet/ripley/R/test-clang/TMB/include/cppad/romberg_mul.hpp:277:10: warning: variable 'pow2' set but not used [-Wunused-but-set-variable] size_t pow2 = 1; ^ 16 warnings generated. /usr/local/clang13/bin/clang++ -std=gnu++14 -I"/data/gannet/ripley/R/R-clang-trunk/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/TMB/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -isystem /usr/local/clang13/include -fopenmp -fpic -g -O3 -Wall -pedantic -frtti -c utils.cpp -o utils.o In file included from utils.cpp:4: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:483:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(host)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ In file included from utils.cpp:4: /usr/local/clang13/lib/clang/13.0.0/include/omp.h:486:39: error: expected 'match' clause on 'omp declare variant' directive #pragma omp begin declare variant match(device={kind(nohost)}) ^ /data/gannet/ripley/R/R-clang-trunk/include/Rinternals.h:967:17: note: expanded from macro 'match' #define match Rf_match ^ 2 errors generated. make[1]: *** [/data/gannet/ripley/R/R-clang-trunk/etc/Makeconf:175: utils.o] Error 1 make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang13/glmmTMB/src' ERROR: compilation failed for package ‘glmmTMB’ * removing ‘/data/gannet/ripley/R/packages/tests-clang13/Libs/glmmTMB-lib/glmmTMB’ Command exited with non-zero status 1 Time 10:04.72, 242.69 + 3.45