* installing *source* package ‘caverify’ ...
** this is package ‘caverify’ version ‘0.1.2’
** package ‘caverify’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 22.1.8’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/caverify/src'
clang-22 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG -isystem /usr/local/clang22me/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c ca_verify.c -o ca_verify.o
In file included from ca_verify.c:25:
/usr/local/clang22me/lib/clang/22/include/omp.h:529:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
529 | #pragma omp begin declare variant match(device={kind(host)})
| ^
/data/localhost/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from ca_verify.c:25:
/usr/local/clang22me/lib/clang/22/include/omp.h:530:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
530 | static inline int omp_is_initial_device(void) { return 1; }
| ^
/usr/local/clang22me/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/usr/local/clang22me/lib/clang/22/include/omp.h:531:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
531 | #pragma omp end declare variant
| ^
/usr/local/clang22me/lib/clang/22/include/omp.h:532:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
532 | #pragma omp begin declare variant match(device={kind(nohost)})
| ^
/data/localhost/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from ca_verify.c:25:
/usr/local/clang22me/lib/clang/22/include/omp.h:533:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
533 | static inline int omp_is_initial_device(void) { return 0; }
| ^
/usr/local/clang22me/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/usr/local/clang22me/lib/clang/22/include/omp.h:534:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
534 | #pragma omp end declare variant
| ^
6 errors generated.
make[1]: *** [/data/localhost/ripley/R/R-clang/etc/Makeconf:190: ca_verify.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/caverify/src'
ERROR: compilation failed for package ‘caverify’
* removing ‘/data/localhost/ripley/R/packages/tests-clang/caverify.Rcheck/caverify’