* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘thor’ ...
** package ‘thor’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 18.1.0 (rc4-1)’
make[1]: Entering directory '/tmp/RtmpsTkSho/R.INSTALL19c857494e6b00/thor/src'
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -Ilmdb -fpic  -g -O3 -Wall -pedantic -c lmdb/mdb.c -o lmdb/mdb.o
lmdb/mdb.c:935:11: warning: defining a type within '__builtin_offsetof' is a Clang extension [-Wgnu-offsetof-extensions]
  935 |         + 270 * (MDB_LOCK_TYPE % 120)
      |                  ^~~~~~~~~~~~~
lmdb/mdb.c:913:12: note: expanded from macro 'MDB_LOCK_TYPE'
  913 |                 LOG2_MOD(ALIGNOF2(pthread_mutex_t), 5) + \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
lmdb/mdb.c:711:19: note: expanded from macro 'ALIGNOF2'
  711 |         LOW_BIT(offsetof(struct { char ch_; type align_; }, align_))
      |                          ^~~~~~
/usr/lib/llvm-18/lib/clang/18/include/__stddef_offsetof.h:11:43: note: expanded from macro 'offsetof'
   11 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                                           ^
lmdb/mdb.c:701:23: note: expanded from macro 'LOW_BIT'
  701 | #define LOW_BIT(n)              ((n) & (-(n)))
      |                                   ^
lmdb/mdb.c:704:37: note: expanded from macro 'LOG2_MOD'
  704 | #define LOG2_MOD(p2, n) (7 - 86 / ((p2) % ((1U<<(n))-1) + 11))
      |                                     ^~
lmdb/mdb.c:935:11: warning: defining a type within '__builtin_offsetof' is a Clang extension [-Wgnu-offsetof-extensions]
  935 |         + 270 * (MDB_LOCK_TYPE % 120)
      |                  ^~~~~~~~~~~~~
lmdb/mdb.c:913:12: note: expanded from macro 'MDB_LOCK_TYPE'
  913 |                 LOG2_MOD(ALIGNOF2(pthread_mutex_t), 5) + \
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
lmdb/mdb.c:711:19: note: expanded from macro 'ALIGNOF2'
  711 |         LOW_BIT(offsetof(struct { char ch_; type align_; }, align_))
      |                          ^~~~~~
/usr/lib/llvm-18/lib/clang/18/include/__stddef_offsetof.h:11:43: note: expanded from macro 'offsetof'
   11 | #define offsetof(t, d) __builtin_offsetof(t, d)
      |                                           ^
lmdb/mdb.c:701:31: note: expanded from macro 'LOW_BIT'
  701 | #define LOW_BIT(n)              ((n) & (-(n)))
      |                                           ^
lmdb/mdb.c:704:37: note: expanded from macro 'LOG2_MOD'
  704 | #define LOG2_MOD(p2, n) (7 - 86 / ((p2) % ((1U<<(n))-1) + 11))
      |                                     ^~
lmdb/mdb.c:2383:6: warning: variable 'rc' set but not used [-Wunused-but-set-variable]
 2383 |         int rc, (*insert)(MDB_ID2L, MDB_ID2 *);
      |             ^
3 warnings generated.
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -Ilmdb -fpic  -g -O3 -Wall -pedantic -c lmdb/midl.c -o lmdb/midl.o
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -Ilmdb -fpic  -g -O3 -Wall -pedantic -c registration.c -o registration.o
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -Ilmdb -fpic  -g -O3 -Wall -pedantic -c thor.c -o thor.o
clang-18 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG   -I/usr/local/include -D_FORTIFY_SOURCE=3  -Ilmdb -fpic  -g -O3 -Wall -pedantic -c util.c -o util.o
clang-18 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o thor.so lmdb/mdb.o lmdb/midl.o registration.o thor.o util.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpsTkSho/R.INSTALL19c857494e6b00/thor/src'
make[1]: Entering directory '/tmp/RtmpsTkSho/R.INSTALL19c857494e6b00/thor/src'
make[1]: Leaving directory '/tmp/RtmpsTkSho/R.INSTALL19c857494e6b00/thor/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-thor/00new/thor/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (thor)