* installing *source* package ‘rJava’ ... ** package ‘rJava’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... /usr/local/clang18/bin/clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /usr/local/clang18/bin/clang accepts -g... yes checking for /usr/local/clang18/bin/clang option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/local/clang18/bin/clang -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes configure: checking whether /usr/local/clang18/bin/clang supports static inline... yes checking whether setjmp.h is POSIX.1 compatible... yes checking whether sigsetjmp is declared... yes checking whether siglongjmp is declared... yes checking Java support in R... present: interpreter : '/usr/lib/jvm/java-17/bin/java' archiver : '/usr/lib/jvm/java-17/bin/jar' compiler : '/usr/lib/jvm/java-17/bin/javac' header prep.: '' cpp flags : '-I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux' java libs : '-L/usr/lib/jvm/java-17/lib/server -ljvm' checking whether Java run-time works... yes checking whether -Xrs is supported... yes checking whether -Xrs will be used... yes checking whether JVM will be loaded dynamically... no checking whether JNI programs can be compiled... yes checking whether JNI programs run... yes checking JNI data types... ok checking whether JRI should be compiled (autodetect)... no checking whether debugging output should be enabled... no checking whether memory profiling is desired... no checking whether threads support is requested... no checking whether callbacks support is requested... no checking whether JNI cache support is requested... no checking whether headless init is enabled... no checking whether JRI is requested... no configure: creating ./config.status config.status: creating src/Makevars config.status: creating R/zzz.R config.status: creating src/config.h ** libs using C compiler: ‘clang version 18.1.4’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rJava/src' /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c Rglue.c -o Rglue.o Rglue.c:262:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] 262 | int i=0; | ^ 1 warning generated. /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c arrayc.c -o arrayc.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c callJNI.c -o callJNI.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c callback.c -o callback.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c fields.c -o fields.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o init.c:175:38: warning: assigning to 'void *' from 'int (FILE *, const char *, struct __va_list_tag *)' (aka 'int (struct _IO_FILE *, const char *, struct __va_list_tag *)') converts between void pointer and function pointer [-Wpedantic] 175 | vm_options[propNum++].extraInfo = vfprintf_hook; | ^ ~~~~~~~~~~~~~ init.c:179:38: warning: assigning to 'void *' from 'void (int)' converts between void pointer and function pointer [-Wpedantic] 179 | vm_options[propNum++].extraInfo = exit_hook; | ^ ~~~~~~~~~ 2 warnings generated. /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c jri_glue.c -o jri_glue.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c loader.c -o loader.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c otables.c -o otables.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rJava.c -o rJava.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c registration.c -o registration.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c rjstring.c -o rjstring.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17/include -I/usr/lib/jvm/java-17/include/linux -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c tools.c -o tools.o /usr/local/clang18/bin/clang -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o rJava.so Rglue.o arrayc.o callJNI.o callback.o fields.o init.o jri_glue.o loader.o otables.o rJava.o registration.o rjstring.o tools.o -L/usr/lib/jvm/java-17/lib/server -ljvm make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rJava/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/rJava/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/rJava/src' installing via 'install.libs.R' to /data/gannet/ripley/R/packages/tests-clang/rJava.Rcheck/00LOCK-rJava/00new/rJava ** R ** inst ** 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 (rJava)