* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘rJava’ ... ** package ‘rJava’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... clang-15 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 clang-15 accepts -g... yes checking for clang-15 option to accept ISO C89... none needed checking how to run the C preprocessor... clang-15 -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 clang-15 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/bin/java' archiver : '/usr/bin/jar' compiler : '/usr/bin/javac' header prep.: '' cpp flags : '-I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux' java libs : '-L/usr/lib/jvm/java-17-openjdk-amd64/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)... yes 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... yes configure: creating ./config.status config.status: creating src/Makevars config.status: creating R/zzz.R config.status: creating src/config.h === configuring in jri (/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/jri) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' 'CC=clang-15' 'CFLAGS=-g -O3 -Wall -pedantic' 'LDFLAGS=-Wl,-O1' 'CPPFLAGS=-I/usr/local/include' --cache-file=/dev/null --srcdir=. checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for gcc... clang-15 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 the compiler supports GNU C... yes checking whether clang-15 accepts -g... yes checking for clang-15 option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for sys/select.h... yes checking Java version... 17.0.6 checking Java compatibility version (integer)... 17 checking whether actually works... no checking whether javah was replaced by javac -h... yes checking for target flags... -h . -target 1.8 -source 1.8 checking whether Java interpreter works... checking whether JNI programs can be compiled... yes checking whether JNI programs can be run... yes checking JNI data types... ok checking whether Rinterface.h exports R_CStackXXX variables... yes checking whether Rinterface.h exports R_SignalHandlers... yes configure: creating ./config.status config.status: creating src/Makefile config.status: creating Makefile config.status: creating run config.status: creating src/config.h ** libs using C compiler: ‘Debian clang version 15.0.6’ make[1]: Entering directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/src' clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Rglue.c -o Rglue.o In file included from Rglue.c:2: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void Rglue.c:39:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RJava_has_jri_cb() { ^ void Rglue.c:406:7: warning: variable 'i' set but not used [-Wunused-but-set-variable] int i=0; ^ Rglue.c:1214:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RpollException() { ^ void Rglue.c:1225:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REP void RclearException() { ^ void Rglue.c:1051:13: warning: unused function 'new_jrectRef' [-Wunused-function] static SEXP new_jrectRef(JNIEnv *env, jobject a, const char *sig, SEXP dim ) { ^ 7 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c arrayc.c -o arrayc.o In file included from arrayc.c:7: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void 2 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c callJNI.c -o callJNI.o In file included from callJNI.c:3: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void 2 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c callback.c -o callback.o In file included from callback.c:1: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void 2 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c fields.c -o fields.o In file included from fields.c:7: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void fields.c:91:13: warning: unused variable 'c' [-Wunused-variable] char *c = clnam; ^ fields.c:149:9: warning: unused variable 'clnam' [-Wunused-variable] char *clnam = 0, *detsig = 0; ^ 4 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o In file included from init.c:1: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void init.c:163: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] vm_options[propNum++].extraInfo = vfprintf_hook; ^ ~~~~~~~~~~~~~ init.c:167:38: warning: assigning to 'void *' from 'void (int)' converts between void pointer and function pointer [-Wpedantic] vm_options[propNum++].extraInfo = exit_hook; ^ ~~~~~~~~~ init.c:751:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REP void doneJVM() { ^ void init.c:762:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP initRJavaTools(){ ^ void 6 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c jri_glue.c -o jri_glue.o In file included from jri_glue.c:3: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void 2 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c loader.c -o loader.o In file included from loader.c:7: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void loader.c:34:37: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RJava_primary_class_loader() { ^ void 3 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c otables.c -o otables.o In file included from otables.c:1: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void otables.c:11:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() { ^ void 3 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rJava.c -o rJava.o In file included from rJava.c:4: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void rJava.c:14:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static SEXP getCurrentCall() { ^ void rJava.c:142:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv *getJNIEnv() ^ void 4 warnings generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c registration.c -o registration.o registration.c:6:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int dummy__() { ^ void 1 warning generated. clang-15 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I. -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c tools.c -o tools.o In file included from tools.c:7: ./rJava.h:123:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE JNIEnv* getJNIEnv(); ^ void ./rJava.h:167:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] HIDE SEXP R_getUnboundValue() ; ^ void tools.c:109:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RgetNullReference() { ^ void tools.c:131:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RJava_checkJVM() { ^ void tools.c:141:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] REPC SEXP RJava_needs_init() { ^ void 5 warnings generated. clang-15 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 tools.o -L/usr/lib/jvm/java-17-openjdk-amd64/lib/server -ljvm -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR (cd ../jri && make) make[2]: Entering directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/jri' make -C src JRI.jar make[3]: Entering directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/jri/src' /usr/bin/javac -h . -target 1.8 -source 1.8 -d . ../Mutex.java ../RBool.java ../RConsoleOutputStream.java ../REXP.java ../RFactor.java ../RList.java ../RMainLoopCallbacks.java ../RVector.java ../Rengine.java ../package-info.java warning: [options] bootstrap class path not set in conjunction with -source 8 ../RFactor.java:42: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal id.addElement(new Integer(i[j]-base)); ^ ../RFactor.java:56: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal id.addElement(new Integer(i)); ^ Note: ../REXP.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 warnings if [ -n "" ]; then -d . -classpath . org.rosuda.JRI.Rengine; fi clang-15 -c -o Rengine.o Rengine.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include In file included from Rengine.c:6: ./rjava.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_request_lock(); ^ void ./rjava.h:14:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_clear_lock(); ^ void ./rjava.h:17:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void RJava_init_ctrl(); ^ void In file included from Rengine.c:24: ./Rcallbacks.h:25:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ResetConsole(); ^ void ./Rcallbacks.h:26:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_FlushConsole(); ^ void ./Rcallbacks.h:27:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ClearerrConsole(); ^ void In file included from Rengine.c:25: ./Rinit.h:5:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void initRinside(); ^ void 7 warnings generated. clang-15 -c -o jri.o jri.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include clang-15 -c -o Rcallbacks.o Rcallbacks.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include In file included from Rcallbacks.c:7: ./Rcallbacks.h:25:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ResetConsole(); ^ void ./Rcallbacks.h:26:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_FlushConsole(); ^ void ./Rcallbacks.h:27:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ClearerrConsole(); ^ void Rcallbacks.c:39:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] JNIEnv *checkEnvironment() ^ void Rcallbacks.c:144:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ResetConsole() ^ void Rcallbacks.c:149:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_FlushConsole() ^ void Rcallbacks.c:166:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ClearerrConsole() ^ void 7 warnings generated. clang-15 -c -o Rinit.o Rinit.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include -I/home/hornik/tmp/R.check/r-devel-clang/Work/build/include In file included from Rinit.c:3: ./Rinit.h:5:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void initRinside(); ^ void In file included from Rinit.c:4: ./Rcallbacks.h:25:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ResetConsole(); ^ void ./Rcallbacks.h:26:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_FlushConsole(); ^ void ./Rcallbacks.h:27:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void Re_ClearerrConsole(); ^ void Rinit.c:88:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void initRinside() { ^ void 5 warnings generated. clang-15 -c -o globals.o globals.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux clang-15 -c -o rjava.o rjava.c -g -Iinclude -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux -fpic -I/usr/lib/jvm/java-17-openjdk-amd64/include -I/usr/lib/jvm/java-17-openjdk-amd64/include/linux In file included from rjava.c:1: ./rjava.h:13:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_request_lock(); ^ void ./rjava.h:14:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_clear_lock(); ^ void ./rjava.h:17:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void RJava_init_ctrl(); ^ void rjava.c:16:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_request_lock() { ^ void rjava.c:27:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] int RJava_clear_lock() { ^ void rjava.c:47:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] void RJava_init_ctrl() { ^ void 6 warnings generated. clang-15 -o libjri.so Rengine.o jri.o Rcallbacks.o Rinit.o globals.o rjava.o -Wl,-O1 -shared -L/usr/lib/jvm/java-17-openjdk-amd64/lib/server -ljvm -Wl,--export-dynamic -fopenmp -Wl,-O1 -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR -lpcre2-8 -llzma -lbz2 -lz -ltirpc -lrt -ldl -lm -licuuc -licui18n /usr/bin/javac -h . -target 1.8 -source 1.8 -d . ../Mutex.java ../RBool.java ../RConsoleOutputStream.java ../REXP.java ../RFactor.java ../RList.java ../RMainLoopCallbacks.java ../RVector.java ../Rengine.java ../package-info.java warning: [options] bootstrap class path not set in conjunction with -source 8 ../RFactor.java:42: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal id.addElement(new Integer(i[j]-base)); ^ ../RFactor.java:56: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal id.addElement(new Integer(i)); ^ Note: ../REXP.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 3 warnings /usr/bin/jar fc JRI.jar org libjri.so make[3]: Leaving directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/jri/src' rm -f libjri.so cp src/libjri.so libjri.so /usr/bin/javac -h . -target 1.8 -source 1.8 -classpath src/JRI.jar -d examples examples/rtest.java warning: [options] bootstrap class path not set in conjunction with -source 8 Note: examples/rtest.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 warning /usr/bin/javac -h . -target 1.8 -source 1.8 -classpath src/JRI.jar -d examples examples/rtest2.java warning: [options] bootstrap class path not set in conjunction with -source 8 Note: examples/rtest2.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 warning make[2]: Leaving directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/jri' make[1]: Leaving directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/src' make[1]: Entering directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/src' make[1]: Leaving directory '/tmp/Rtmpwp1jl8/R.INSTALL23125e74645bb9/rJava/src' installing via 'install.libs.R' to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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)