* installing *source* package ‘SelectionTools’ ...
** this is package ‘SelectionTools’ version ‘26.3’
** package ‘SelectionTools’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 23.1.1’
make[1]: Entering directory '/data/localhost/ripley/R/packages/tests-clang/SelectionTools/src'
/usr/local/clang23/bin/clang-23 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang23/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c MathLib12.c -o MathLib12.o
/usr/local/clang23/bin/clang-23 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang23/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c SelectionTools01.c -o SelectionTools01.o
In file included from SelectionTools01.c:50:
/usr/local/clang23/lib/clang/23/include/omp.h:546:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
  546 |     #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 SelectionTools01.c:50:
/usr/local/clang23/lib/clang/23/include/omp.h:547:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
  547 |     static inline int omp_is_initial_device(void) { return 1; }
      |                       ^
/usr/local/clang23/lib/clang/23/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/usr/local/clang23/lib/clang/23/include/omp.h:548:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
  548 |     #pragma omp end declare variant
      |     ^
/usr/local/clang23/lib/clang/23/include/omp.h:549:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
  549 |     #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 SelectionTools01.c:50:
/usr/local/clang23/lib/clang/23/include/omp.h:550:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
  550 |     static inline int omp_is_initial_device(void) { return 0; }
      |                       ^
/usr/local/clang23/lib/clang/23/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/usr/local/clang23/lib/clang/23/include/omp.h:551:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
  551 |     #pragma omp end declare variant
      |     ^
6 errors generated.
make[1]: *** [/data/localhost/ripley/R/R-clang/etc/Makeconf:190: SelectionTools01.o] Error 1
/usr/local/clang23/bin/clang-23 -std=gnu23 -I"/data/localhost/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang23/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c SelectionTools02.c -o SelectionTools02.o
In file included from SelectionTools02.c:44:
/usr/local/clang23/lib/clang/23/include/omp.h:546:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
  546 |     #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 SelectionTools02.c:44:
/usr/local/clang23/lib/clang/23/include/omp.h:547:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
  547 |     static inline int omp_is_initial_device(void) { return 1; }
      |                       ^
/usr/local/clang23/lib/clang/23/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/usr/local/clang23/lib/clang/23/include/omp.h:548:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
  548 |     #pragma omp end declare variant
      |     ^
/usr/local/clang23/lib/clang/23/include/omp.h:549:39: error: expected 'match', 'adjust_args', or 'append_args' clause on 'omp declare variant' directive
  549 |     #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 SelectionTools02.c:44:
/usr/local/clang23/lib/clang/23/include/omp.h:550:23: error: static declaration of 'omp_is_initial_device' follows non-static declaration
  550 |     static inline int omp_is_initial_device(void) { return 0; }
      |                       ^
/usr/local/clang23/lib/clang/23/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/usr/local/clang23/lib/clang/23/include/omp.h:551:5: error: '#pragma omp end declare variant' with no matching '#pragma omp begin declare variant'
  551 |     #pragma omp end declare variant
      |     ^
6 errors generated.
make[1]: *** [/data/localhost/ripley/R/R-clang/etc/Makeconf:190: SelectionTools02.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/localhost/ripley/R/packages/tests-clang/SelectionTools/src'
ERROR: compilation failed for package ‘SelectionTools’
* removing ‘/data/localhost/ripley/R/packages/tests-clang/SelectionTools.Rcheck/SelectionTools’