[package - main-armv7-default][devel/R-cran-rJava] Failed for R-cran-rJava-1.0.6_3 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 19 Jul 2023 07:57:08 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     thierry@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p8fb94260154e_s7cd7a32041/logs/R-cran-rJava-1.0.6_3.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p8fb94260154e_s7cd7a32041
Log:

=>> Building devel/R-cran-rJava
build started at Wed Jul 19 07:56:45 UTC 2023
port directory: /usr/ports/devel/R-cran-rJava
package name: R-cran-rJava-1.0.6_3
building for: FreeBSD main-armv7-default-job-12 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 arm
maintained by: thierry@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400093
Job Id: 12




!!! Jail is newer than host. (Jail: 1400093, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400093
UNAME_v=FreeBSD 14.0-CURRENT 1400093
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
thierry@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work/.cache  HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/R-cran-rJava/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/R-cran-rJava/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
JAVA_HOME=/usr/local/openjdk8	 JAVA=/usr/local/openjdk8/bin/java	 JAVAC=/usr/local/openjdk8/bin/javac	 JAVAH=/usr/local/openjdk8/bin/javah	 JAR=/usr/local/openjdk8/bin/jar	 LD_LIBRARY_PATH="/usr/local/openjdk8/jre/lib/armv7/server"	 JAVA_LD_LIBRARY_PATH="/usr/local/openjdk8/jre/lib/armv7/server"	 JAVA_LIBS="-Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server -L/usr/local/openjdk8/jre/lib/armv7/server -ljvm -lpthread"	 JAVA_CPPFLAGS="-I/usr/local/openjdk8/jre/../include -I/usr/local/openjdk8/jre/../include/freebsd" F77="gfortran12" F90="gfortran12" FC="gfortran12"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc12" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc12" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work/.cache  HOME=/wrkdirs/usr/ports/devel/R-cran-rJava/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/R-cran-rJa
va/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/R-cran-rJava/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=""-Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server " -Wl,-rpath=/usr/local/lib/gcc12  -L/usr/local/lib/gcc12 -B/usr/local/bin -fstack-protector-strong " LIBS
=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" R_MOD_DIR=lib/R/library/rJava OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rJava"  EXAMPLESDIR="share/examples/rJava"  DATADIR="share/rJava"  WWWDIR="www/rJava"  ETCDIR="etc/rJava"
--End PLIST_SUB--

--SUB_LIST--
JAVASHAREDIR="/usr/local/share/java"  JAVAJARDIR="/usr/local/share/java/classes"  JAVALIBDIR="/usr/local/share/java/classes" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rJava DOCSDIR=/usr/local/share/doc/rJava EXAMPLESDIR=/usr/local/share/examples/rJava  WWWDIR=/usr/local/www/rJava ETCDIR=/usr/local/etc/rJava
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400093
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License LGPL21 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.4.pkg
[main-armv7-default-job-12] Installing pkg-1.20.4...
[main-armv7-default-job-12] Extracting pkg-1.20.4: .......... done
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-rJava-1.0.6_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by R-cran-rJava-1.0.6_3 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by R-cran-rJava-1.0.6_3 for building
=> SHA256 Checksum OK for rJava_1.0-6.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by R-cran-rJava-1.0.6_3 for building
===>  Extracting for R-cran-rJava-1.0.6_3
=> SHA256 Checksum OK for rJava_1.0-6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for R-cran-rJava-1.0.6_3
===========================================================================
=======================<phase: build-depends  >============================
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/openjdk8/bin/java - not found
===>   Installing existing package /packages/All/openjdk8-8.372.07.1_1.pkg
[main-armv7-default-job-12] Installing openjdk8-8.372.07.1_1...
[main-armv7-default-job-12] `-- Installing alsa-lib-1.2.2_1...
[main-armv7-default-job-12] `-- Extracting alsa-lib-1.2.2_1: .......... done
[main-armv7-default-job-12] `-- Installing dejavu-2.37_1...
<snip>
[main-armv7-default-job-12] `-- Installing pango-1.50.14...
[main-armv7-default-job-12] |   `-- Installing encodings-1.0.5,1...
[main-armv7-default-job-12] |   `-- Extracting encodings-1.0.5,1: .......... done
[main-armv7-default-job-12] |   `-- Installing fribidi-1.0.13...
[main-armv7-default-job-12] |   `-- Extracting fribidi-1.0.13: .......... done
[main-armv7-default-job-12] |   `-- Installing libXft-2.3.7...
[main-armv7-default-job-12] |   `-- Extracting libXft-2.3.7: .......... done
[main-armv7-default-job-12] |   `-- Installing libthai-0.1.29...
[main-armv7-default-job-12] |   | `-- Installing libdatrie-0.2.13_1...
[main-armv7-default-job-12] |   | `-- Extracting libdatrie-0.2.13_1: .......... done
[main-armv7-default-job-12] |   `-- Extracting libthai-0.1.29: .......... done
[main-armv7-default-job-12] |   `-- Installing xorg-fonts-truetype-7.7_1...
[main-armv7-default-job-12] |   | `-- Installing font-bh-ttf-1.0.3_4...
[main-armv7-default-job-12] |   | `-- Extracting font-bh-ttf-1.0.3_4: .......... done
[main-armv7-default-job-12] |   | `-- Installing font-misc-ethiopic-1.0.4...
[main-armv7-default-job-12] |   | `-- Extracting font-misc-ethiopic-1.0.4: ...... done
[main-armv7-default-job-12] |   | `-- Installing font-misc-meltho-1.0.3_4...
[main-armv7-default-job-12] |   | `-- Extracting font-misc-meltho-1.0.3_4: .......... done
[main-armv7-default-job-12] |   `-- Extracting xorg-fonts-truetype-7.7_1: ... done
[main-armv7-default-job-12] `-- Extracting pango-1.50.14: .......... done
[main-armv7-default-job-12] `-- Installing tcl86-8.6.13...
[main-armv7-default-job-12] `-- Extracting tcl86-8.6.13: .......... done
[main-armv7-default-job-12] `-- Installing tk86-8.6.13...
[main-armv7-default-job-12] `-- Extracting tk86-8.6.13: .......... done
[main-armv7-default-job-12] Extracting R-4.3.1: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from python39-3.9.17:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py39-gdbm       databases/py-gdbm@py39
py39-sqlite3    databases/py-sqlite3@py39
py39-tkinter    x11-toolkits/py-tkinter@py39
=====
Message from ca_root_nss-3.91:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.


This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from gcc12-12.2.0_6:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc12

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from ghostscript9-agpl-base-9.56.1_11:

--
This package installs a script named dvipdf that depends on dvips.  If you
want to use this script you need to install print/tex-dvipsk.
=====
Message from libthai-0.1.29:

--
===>   NOTICE:

The libthai port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/bin/R - found
===>   Returning to build of R-cran-rJava-1.0.6_3
===>   R-cran-rJava-1.0.6_3 depends on executable: gfortran12 - found
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   R-cran-rJava-1.0.6_3 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so)
===>   R-cran-rJava-1.0.6_3 depends on shared library: libpcre2-8.so - found (/usr/local/lib/libpcre2-8.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for R-cran-rJava-1.0.6_3
/usr/local/bin/R CMD javareconf -e exit
Java interpreter : /usr/local/bin/java
Java version     : 1.8.0_372
Java home path   : /usr/local/openjdk8/jre
Java compiler    : /usr/local/bin/javac
Java headers gen.: /usr/local/bin/javah
Java archive tool: /usr/local/bin/jar

trying to compile and link a JNI program 
detected JNI cpp flags    : -I$(JAVA_HOME)/../include -I$(JAVA_HOME)/../include/freebsd
detected JNI linker flags : -L$(JAVA_HOME)/lib/arm/server -ljvm -lpthread
using C compiler: 'FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)'
gmake[1]: Entering directory '/tmp/Rjavareconf.SD4bf7'
cc -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/openjdk8/jre/../include -I/usr/local/openjdk8/jre/../include/freebsd  -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include    -fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c conftest.c -o conftest.o
cc -shared -L/usr/local/lib/R/lib -Wl,-rpath=/usr/local/lib/gcc12 -L/usr/local/lib/gcc12 -B/usr/local/bin -L/usr/local/lib -fstack-protector-strong -o conftest.so conftest.o -L/usr/local/openjdk8/jre/lib/arm/server -ljvm -lpthread -L/usr/local/lib/R/lib -lR
gmake[1]: Leaving directory '/tmp/Rjavareconf.SD4bf7'

The following Java variables have been exported:
JAVA_HOME JAVA JAVAC JAVAH JAR JAVA_LIBS JAVA_CPPFLAGS JAVA_LD_LIBRARY_PATH
Running: exit
===========================================================================
=======================<phase: build          >============================
===========================================================================
=======================<phase: run-depends    >============================
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/openjdk8/bin/java - found
===>   R-cran-rJava-1.0.6_3 depends on file: /usr/local/bin/R - found
===>   R-cran-rJava-1.0.6_3 depends on executable: gfortran12 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for R-cran-rJava-1.0.6_3
===>   Generating temporary packing list
* installing *source* package 'rJava' ...
** package 'rJava' successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
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 cc 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/local/openjdk8/bin/java'
archiver    : '/usr/local/openjdk8/bin/jar'
compiler    : '/usr/local/openjdk8/bin/javac'
header prep.: '/usr/local/openjdk8/bin/javah'
cpp flags   : '-I/usr/local/openjdk8/jre/../include -I/usr/local/openjdk8/jre/../include/freebsd'
java libs   : '-Wl,-rpath=/usr/local/openjdk8/jre/lib/armv7/server -L/usr/local/openjdk8/jre/lib/armv7/server -ljvm -lpthread'
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... configure: error: Cannot compile a simple JNI program. See config.log for details.

Make sure you have Java Development Kit installed and correctly registered in R.
If in doubt, re-run "R CMD javareconf" as root.

ERROR: configuration failed for package 'rJava'
* removing '/wrkdirs/usr/ports/devel/R-cran-rJava/work/stage/usr/local/lib/R/library/rJava'
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/R-cran-rJava