* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘vectra’ ...
** this is package ‘vectra’ version ‘0.5.1’
** package ‘vectra’ successfully unpacked and MD5 sums checked
** using staged installation
configure: tdc sibling not found, using pre-vendored src/tdc/
** libs
using C compiler: ‘Debian clang version 21.1.8 (3+b1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmpy4ppzy/R.INSTALL2027ae7eaebf96/vectra/src'
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I./tdc/include -fpic -g -O3 -Wall -pedantic -c agg_ops.c -o agg_ops.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I./tdc/include -fpic -g -O3 -Wall -pedantic -c array.c -o array.o
array.c:169:13: warning: unused variable 'src_bytes' [-Wunused-variable]
169 | int64_t src_bytes = (src_off + n + 7) >> 3;
| ^~~~~~~~~
1 warning generated.
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I./tdc/include -fpic -g -O3 -Wall -pedantic -c batch.c -o batch.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -I./tdc/include -fpic -g -O3 -Wall -pedantic -c block.c -o block.o
In file included from block.c:18:
/usr/lib/llvm-21/lib/clang/21/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)})
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from block.c:18:
/usr/lib/llvm-21/lib/clang/21/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/lib/llvm-21/lib/clang/21/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/usr/lib/llvm-21/lib/clang/21/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/lib/llvm-21/lib/clang/21/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)})
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:996:17: note: expanded from macro 'match'
996 | #define match Rf_match
| ^
In file included from block.c:18:
/usr/lib/llvm-21/lib/clang/21/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/lib/llvm-21/lib/clang/21/include/omp.h:141:40: note: previous declaration is here
141 | extern int __KAI_KMPC_CONVENTION omp_is_initial_device (void);
| ^
/usr/lib/llvm-21/lib/clang/21/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]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:190: block.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmpy4ppzy/R.INSTALL2027ae7eaebf96/vectra/src'
ERROR: compilation failed for package ‘vectra’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/vectra’