* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘unix’ ...
** package ‘unix’ successfully unpacked and MD5 sums checked
** using staged installation
Checking for AppArmor... (Linux)
Found pkg-config cflags/libs!
Using PKG_CFLAGS=
Using PKG_LIBS=-lapparmor 
** libs
using C compiler: ‘Debian clang version 17.0.5 (1)’
make[1]: Entering directory '/tmp/Rtmpfuw0ry/R.INSTALLd3da946cfc2cd/unix/src'
rm -f unix.so chroot.o fork.o process.o register.o rlimit.o userinfo.o util.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c chroot.c -o chroot.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c fork.c -o fork.o
fork.c:343:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  343 |       Rf_errorcall(R_NilValue, CHAR(STRING_ELT(res, 0)));
      |                                ^~~~~~~~~~~~~~~~~~~~~~~~
/home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:200:17: note: expanded from macro 'CHAR'
  200 | #define CHAR(x) R_CHAR(x)
      |                 ^~~~~~~~~
fork.c:343:32: note: treat the string as an argument to avoid this
  343 |       Rf_errorcall(R_NilValue, CHAR(STRING_ELT(res, 0)));
      |                                ^
      |                                "%s", 
/home/hornik/tmp/R.check/r-devel-clang/Work/build/include/Rinternals.h:200:17: note: expanded from macro 'CHAR'
  200 | #define CHAR(x) R_CHAR(x)
      |                 ^
1 warning generated.
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c process.c -o process.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c register.c -o register.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c rlimit.c -o rlimit.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c userinfo.c -o userinfo.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -DHAVE_APPARMOR  -DSYS_BUILD_SAFEtrue  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c util.c -o util.o
clang-17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o unix.so chroot.o fork.o process.o register.o rlimit.o userinfo.o util.o -lapparmor -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/Rtmpfuw0ry/R.INSTALLd3da946cfc2cd/unix/src'
make[1]: Entering directory '/tmp/Rtmpfuw0ry/R.INSTALLd3da946cfc2cd/unix/src'
make[1]: Leaving directory '/tmp/Rtmpfuw0ry/R.INSTALLd3da946cfc2cd/unix/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-unix/00new/unix/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (unix)