* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘rJava’ ...
** package ‘rJava’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... gcc-11
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 gcc-11 accepts -g... yes
checking for gcc-11 option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc-11 -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 gcc-11 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/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/jri)
configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local'  'CC=gcc-11' 'CFLAGS=-g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native' '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... gcc-11
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 gcc-11 accepts -g... yes
checking for gcc-11 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: ‘gcc-11 (Debian 11.3.0-12) 11.3.0’
make[1]: Entering directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/src'
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c Rglue.c -o Rglue.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from Rglue.c:2:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from Rglue.c:2:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
Rglue.c:39:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   39 | REPC SEXP RJava_has_jri_cb() {
      |           ^~~~~~~~~~~~~~~~
Rglue.c:1214:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 1214 | REPC SEXP RpollException() {
      |           ^~~~~~~~~~~~~~
Rglue.c:1225:10: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
 1225 | REP void RclearException() {
      |          ^~~~~~~~~~~~~~~
Rglue.c:1051:13: warning: ‘new_jrectRef’ defined but not used [-Wunused-function]
 1051 | static SEXP new_jrectRef(JNIEnv *env, jobject a, const char *sig, SEXP dim ) {
      |             ^~~~~~~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c arrayc.c -o arrayc.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from arrayc.c:7:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from arrayc.c:7:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c callJNI.c -o callJNI.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/string.h:26,
                 from callJNI.c:2:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from callJNI.c:3:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c callback.c -o callback.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from callback.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from callback.c:1:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c fields.c -o fields.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from fields.c:7:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from fields.c:7:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
fields.c: In function ‘inputToClass’:
fields.c:91:13: warning: unused variable ‘c’ [-Wunused-variable]
   91 |       char *c = clnam;
      |             ^
fields.c: In function ‘RgetField’:
fields.c:149:9: warning: unused variable ‘clnam’ [-Wunused-variable]
  149 |   char *clnam = 0, *detsig = 0;
      |         ^~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c init.c -o init.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from init.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from init.c:1:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
init.c: In function ‘initJVM’:
init.c:163:38: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
  163 |     vm_options[propNum++].extraInfo  = vfprintf_hook;
      |                                      ^
init.c:167:38: warning: ISO C forbids assignment between function pointer and ‘void *’ [-Wpedantic]
  167 |     vm_options[propNum++].extraInfo  = exit_hook;
      |                                      ^
init.c: At top level:
init.c:751:10: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  751 | REP void doneJVM() {
      |          ^~~~~~~
init.c:762:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  762 | REPC SEXP initRJavaTools(){
      |           ^~~~~~~~~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c jri_glue.c -o jri_glue.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R.h:43,
                 from jri_glue.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from jri_glue.c:3:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c loader.c -o loader.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from loader.c:7:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from loader.c:7:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
loader.c:34:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   34 | REPC SEXP RJava_primary_class_loader() {
      |           ^~~~~~~~~~~~~~~~~~~~~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c otables.c -o otables.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from otables.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from otables.c:1:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
otables.c:11:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   11 | HIDE SEXP R_getUnboundValue() {
      |           ^~~~~~~~~~~~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c rJava.c -o rJava.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdlib.h:26,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/R.h:43,
                 from rJava.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from rJava.c:4:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
rJava.c:14:13: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   14 | static SEXP getCurrentCall() {
      |             ^~~~~~~~~~~~~~
rJava.c:142:14: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  142 | HIDE JNIEnv *getJNIEnv()
      |              ^~~~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c registration.c -o registration.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /home/hornik/tmp/R.check/r-patched-gcc/Work/build/include/Rinternals.h:39,
                 from registration.c:1:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
registration.c:6:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
    6 | int dummy__() {
      |     ^~~~~~~
gcc-11 -I"/home/hornik/tmp/R.check/r-patched-gcc/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 -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -c tools.c -o tools.o
In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from /usr/lib/jvm/java-17-openjdk-amd64/include/jni.h:39,
                 from rJava.h:22,
                 from tools.c:7:
/usr/include/features.h:423:5: warning: #warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform [-Wcpp]
  423 | #   warning _FORTIFY_SOURCE > 2 is treated like 2 on this platform
      |     ^~~~~~~
In file included from tools.c:7:
rJava.h:123:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  123 | HIDE JNIEnv* getJNIEnv();
      | ^~~~
rJava.h:167:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  167 | HIDE SEXP R_getUnboundValue() ;
      | ^~~~
tools.c:109:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  109 | REPC SEXP RgetNullReference() {
      |           ^~~~~~~~~~~~~~~~~
tools.c:131:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  131 | REPC SEXP RJava_checkJVM() {
      |           ^~~~~~~~~~~~~~
tools.c:141:11: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  141 | REPC SEXP RJava_needs_init() {
      |           ^~~~~~~~~~~~~~~~
gcc-11 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/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-patched-gcc/Work/build/lib -lR
(cd ../jri && make)
make[2]: Entering directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/jri'
make -C src JRI.jar
make[3]: Entering directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/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
gcc-11 -c -o Rengine.o Rengine.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-patched-gcc/Work/build/include -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include 
In file included from Rengine.c:6:
rjava.h:13:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   13 | int RJava_request_lock();
      | ^~~
rjava.h:14:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   14 | int RJava_clear_lock();
      | ^~~
rjava.h:17:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   17 | void RJava_init_ctrl();
      | ^~~~
In file included from Rengine.c:24:
Rcallbacks.h:25:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   25 | void Re_ResetConsole();
      | ^~~~
Rcallbacks.h:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   26 | void Re_FlushConsole();
      | ^~~~
Rcallbacks.h:27:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   27 | void Re_ClearerrConsole();
      | ^~~~
In file included from Rengine.c:25:
Rinit.h:5:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
    5 | void initRinside();
      | ^~~~
gcc-11 -c -o jri.o jri.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-patched-gcc/Work/build/include -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include 
gcc-11 -c -o Rcallbacks.o Rcallbacks.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-patched-gcc/Work/build/include -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include 
In file included from Rcallbacks.c:7:
Rcallbacks.h:25:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   25 | void Re_ResetConsole();
      | ^~~~
Rcallbacks.h:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   26 | void Re_FlushConsole();
      | ^~~~
Rcallbacks.h:27:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   27 | void Re_ClearerrConsole();
      | ^~~~
Rcallbacks.c:39:9: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   39 | JNIEnv *checkEnvironment()
      |         ^~~~~~~~~~~~~~~~
Rcallbacks.c:144:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  144 | void Re_ResetConsole()
      |      ^~~~~~~~~~~~~~~
Rcallbacks.c:149:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  149 | void Re_FlushConsole()
      |      ^~~~~~~~~~~~~~~
Rcallbacks.c:166:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  166 | void Re_ClearerrConsole()
      |      ^~~~~~~~~~~~~~~~~~
gcc-11 -c -o Rinit.o Rinit.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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-patched-gcc/Work/build/include -I/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include 
In file included from Rinit.c:3:
Rinit.h:5:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
    5 | void initRinside();
      | ^~~~
In file included from Rinit.c:4:
Rcallbacks.h:25:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   25 | void Re_ResetConsole();
      | ^~~~
Rcallbacks.h:26:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   26 | void Re_FlushConsole();
      | ^~~~
Rcallbacks.h:27:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   27 | void Re_ClearerrConsole();
      | ^~~~
Rinit.c:88:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   88 | void initRinside() {
      |      ^~~~~~~~~~~
gcc-11 -c -o globals.o globals.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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 
gcc-11 -c -o rjava.o rjava.c -g -Iinclude  -DRIF_HAS_CSTACK -DRIF_HAS_RSIGHAND -DHAVE_CONFIG_H -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native  -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:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   13 | int RJava_request_lock();
      | ^~~
rjava.h:14:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   14 | int RJava_clear_lock();
      | ^~~
rjava.h:17:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   17 | void RJava_init_ctrl();
      | ^~~~
rjava.c:16:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   16 | int RJava_request_lock() {
      |     ^~~~~~~~~~~~~~~~~~
rjava.c:27:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   27 | int RJava_clear_lock() {
      |     ^~~~~~~~~~~~~~~~
rjava.c:47:6: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   47 | void RJava_init_ctrl() {
      |      ^~~~~~~~~~~~~~~
gcc-11 -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-patched-gcc/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/RtmpiZ9HnA/R.INSTALL186aa02858638e/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/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/jri'
make[1]: Leaving directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/src'
make[1]: Entering directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/src'
make[1]: Leaving directory '/tmp/RtmpiZ9HnA/R.INSTALL186aa02858638e/rJava/src'
installing via 'install.libs.R' to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-rJava/00new/rJava
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘rJava’
    finding HTML links ... done
    Exceptions                              html  
    J                                       html  
    accessOp                                html  
    aslist                                  html  
    clone                                   html  
    instanceof                              html  
    jarray                                  html  
    jarrayRef-class                         html  
    java-tools                              html  
    javaImport                              html  
    jcall                                   html  
    jcast                                   html  
    jcastToArray                            html  
    jcheck                                  html  
    jclassName                              html  
    jengine                                 html  
    jequals                                 html  
    jfield                                  html  
    jfloat-class                            html  
    jfloat                                  html  
    jgc                                     html  
    jinit                                   html  
    jmemprof                                html  
    jnew                                    html  
    jnull                                   html  
    jobjRef-class                           html  
    jpackage                                html  
    jrectRef-class                          html  
    jreflection                             html  
    jserialize                              html  
    jsimplify                               html  
    loader                                  html  
    new                                     html  
    rep                                     html  
    show                                    html  
    toJava                                  html  
    with                                    html  
** 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)