* installing *source* package ‘mritc’ ...
** this is package ‘mritc’ version ‘0.6.0’
** package ‘mritc’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/mritc/src'
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c getDenSubBias_omp.c -o getDenSubBias_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c getDenSub_omp.c -o getDenSub_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c registerDynamicSymbol.c -o registerDynamicSymbol.o
In file included from registerDynamicSymbol.c:8:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
  996 | #define match                   Rf_match
      |                                 ^
In file included from registerDynamicSymbol.c:8:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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; }
      |                       ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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
      |     ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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/gannet/ripley/R/R-clang/include/Rinternals.h:996:17: note: expanded from macro 'match'
  996 | #define match                   Rf_match
      |                                 ^
In file included from registerDynamicSymbol.c:8:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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; }
      |                       ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/lib/clang/22/include/omp.h:141:40: note: previous declaration is here
  141 |     extern int  __KAI_KMPC_CONVENTION  omp_is_initial_device (void);
      |                                        ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.8-Linux-X64/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/gannet/ripley/R/R-clang/etc/Makeconf:190: registerDynamicSymbol.o] Error 1
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateBiasInde_omp.c -o updateBiasInde_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateBiasWeights_omp.c -o updateBiasWeights_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateCounts.c -o updateCounts.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateDistanceUnit_omp.c -o updateDistanceUnit_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateIndicesHMRFEM.c -o updateIndicesHMRFEM.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateIndices_omp.c -o updateIndices_omp.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateSmoothWeights.c -o updateSmoothWeights.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateY.c -o updateY.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c updateYBias.c -o updateYBias.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c yIndicesSummaries.c -o yIndicesSummaries.o
clang-22 -std=gnu23 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -isystem /usr/local/clang22/include -I/usr/local/clang/include   -fopenmp -fpic  -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3  -c yIndicesSummariesBias.c -o yIndicesSummariesBias.o
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/mritc/src'
ERROR: compilation failed for package ‘mritc’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/mritc.Rcheck/mritc’