[package - 131releng-armv7-default][devel/R-cran-rJava] Failed for R-cran-rJava-1.0.6_1 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 30 Nov 2022 19:20:12 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/ampere3/data/131releng-armv7-default/62230210f012/logs/R-cran-rJava-1.0.6_1.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=131releng-armv7-default&build=62230210f012
Log:

=>> Building devel/R-cran-rJava
build started at Wed Nov 30 19:19:22 UTC 2022
port directory: /usr/ports/devel/R-cran-rJava
package name: R-cran-rJava-1.0.6_1
building for: FreeBSD 131releng-armv7-default-job-10 13.1-RELEASE-p4 FreeBSD 13.1-RELEASE-p4 1301000 arm
maintained by: thierry@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p4 1301000
UNAME_r=13.1-RELEASE-p4
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/131releng-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131releng-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131releng-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131releng-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="gfortran11" F90="gfortran11" FC="gfortran11"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" 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="gfortran11" F90="gfortran11" FC="gfortran11"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" 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 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/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CX
 XFLAGS="-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=13.1 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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: armv7-unknown-freebsd13.1-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p4
OSREL=13.1
OSVERSION=1301000
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_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131releng-armv7-default-job-10] Installing pkg-1.18.4...
[131releng-armv7-default-job-10] Extracting pkg-1.18.4: .......... done
===>   R-cran-rJava-1.0.6_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-rJava-1.0.6_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by R-cran-rJava-1.0.6_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21 accepted by the user
===> Fetching all distfiles required by R-cran-rJava-1.0.6_1 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_1 for building
===>  Extracting for R-cran-rJava-1.0.6_1
=> SHA256 Checksum OK for rJava_1.0-6.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for R-cran-rJava-1.0.6_1
===========================================================================
=======================<phase: build-depends  >============================
===>   R-cran-rJava-1.0.6_1 depends on file: /usr/local/openjdk8/bin/java - not found
===>   Installing existing package /packages/All/openjdk8-8.352.08.1_1.pkg
[131releng-armv7-default-job-10] Installing openjdk8-8.352.08.1_1...
[131releng-armv7-default-job-10] `-- Installing alsa-lib-1.2.2_1...
[131releng-armv7-default-job-10] `-- Extracting alsa-lib-1.2.2_1: .......... done
[131releng-armv7-default-job-10] `-- Installing dejavu-2.37_1...
[131releng-armv7-default-job-10] |   `-- Installing fontconfig-2.14.0,1...
[131releng-armv7-default-job-10] |   | `-- Installing expat-2.5.0...
[131releng-armv7-default-job-10] |   | `-- Extracting expat-2.5.0: .......... done
[131releng-armv7-default-job-10] |   | `-- Installing freetype2-2.12.1_2...
[131releng-armv7-default-job-10] |   |   `-- Installing brotli-1.0.9,1...
[131releng-armv7-default-job-10] |   |   `-- Extracting brotli-1.0.9,1: .......... done
[131releng-armv7-default-job-10] |   |   `-- Installing png-1.6.38...
[131releng-armv7-default-job-10] |   |   `-- Extracting png-1.6.38: .......... done
[131releng-armv7-default-job-10] |   | `-- Extracting freetype2-2.12.1_2: .......... done
[131releng-armv7-default-job-10] |   `-- Extracting fontconfig-2.14.0,1: .......... done
<snip>
[131releng-armv7-default-job-10] |   |   | `-- Extracting libdeflate-1.14: .......... done
[131releng-armv7-default-job-10] |   |   | `-- Installing zstd-1.5.2_1...
[131releng-armv7-default-job-10] |   |   |   `-- Installing liblz4-1.9.4,1...
[131releng-armv7-default-job-10] |   |   |   `-- Extracting liblz4-1.9.4,1: .......... done
[131releng-armv7-default-job-10] |   |   | `-- Extracting zstd-1.5.2_1: .......... done
[131releng-armv7-default-job-10] |   |   `-- Extracting tiff-4.4.0_1: .......... done
[131releng-armv7-default-job-10] |   | `-- Extracting lcms2-2.13.1: .......... done
[131releng-armv7-default-job-10] |   `-- Extracting openjpeg-2.5.0: .......... done
[131releng-armv7-default-job-10] |   `-- Installing poppler-data-0.4.11...
[131releng-armv7-default-job-10] |   `-- Extracting poppler-data-0.4.11: .......... done
[131releng-armv7-default-job-10] `-- Extracting ghostscript9-agpl-base-9.56.1_6: .......... done
[131releng-armv7-default-job-10] `-- Installing gmake-4.3_2...
[131releng-armv7-default-job-10] `-- Extracting gmake-4.3_2: .......... done
[131releng-armv7-default-job-10] `-- Installing harfbuzz-5.3.1...
[131releng-armv7-default-job-10] |   `-- Installing graphite2-1.3.14...
[131releng-armv7-default-job-10] |   `-- Extracting graphite2-1.3.14: .......... done
[131releng-armv7-default-job-10] `-- Extracting harfbuzz-5.3.1: .......... done
[131releng-armv7-default-job-10] `-- Installing icu-72.1,1...
[131releng-armv7-default-job-10] `-- Extracting icu-72.1,1: .......... done
[131releng-armv7-default-job-10] `-- Installing libXScrnSaver-1.2.3_2...
[131releng-armv7-default-job-10] `-- Extracting libXScrnSaver-1.2.3_2: .......... done
[131releng-armv7-default-job-10] `-- Installing libXmu-1.1.3,1...
[131releng-armv7-default-job-10] `-- Extracting libXmu-1.1.3,1: .......... done
[131releng-armv7-default-job-10] `-- Installing pango-1.50.9...
[131releng-armv7-default-job-10] |   `-- Installing encodings-1.0.5,1...
[131releng-armv7-default-job-10] |   `-- Extracting encodings-1.0.5,1: .......... done
[131releng-armv7-default-job-10] |   `-- Installing fribidi-1.0.12...
[131releng-armv7-default-job-10] |   `-- Extracting fribidi-1.0.12: .......... done
[131releng-armv7-default-job-10] |   `-- Installing libXft-2.3.7...
[131releng-armv7-default-job-10] |   `-- Extracting libXft-2.3.7: .......... done
[131releng-armv7-default-job-10] |   `-- Installing xorg-fonts-truetype-7.7_1...
[131releng-armv7-default-job-10] |   | `-- Installing font-bh-ttf-1.0.3_4...
[131releng-armv7-default-job-10] |   | `-- Extracting font-bh-ttf-1.0.3_4: .......... done
[131releng-armv7-default-job-10] |   | `-- Installing font-misc-ethiopic-1.0.4...
[131releng-armv7-default-job-10] |   | `-- Extracting font-misc-ethiopic-1.0.4: ...... done
[131releng-armv7-default-job-10] |   | `-- Installing font-misc-meltho-1.0.3_4...
[131releng-armv7-default-job-10] |   | `-- Extracting font-misc-meltho-1.0.3_4: .......... done
[131releng-armv7-default-job-10] |   `-- Extracting xorg-fonts-truetype-7.7_1: ... done
[131releng-armv7-default-job-10] `-- Extracting pango-1.50.9: .......... done
[131releng-armv7-default-job-10] `-- Installing tcl86-8.6.13...
[131releng-armv7-default-job-10] `-- Extracting tcl86-8.6.13: .......... done
[131releng-armv7-default-job-10] `-- Installing tk86-8.6.13...
[131releng-armv7-default-job-10] `-- Extracting tk86-8.6.13: .......... done
[131releng-armv7-default-job-10] Extracting R-4.2.2: .......... done
Running fc-cache to build fontconfig cache...
Generating GIO modules cache
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from python39-3.9.15_1:

--
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.83:

--
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 gcc11-11.3.0_5:

--
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/gcc11

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

--
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.
===>   R-cran-rJava-1.0.6_1 depends on file: /usr/local/bin/R - found
===>   Returning to build of R-cran-rJava-1.0.6_1
===>   R-cran-rJava-1.0.6_1 depends on executable: gfortran11 - found
===>   R-cran-rJava-1.0.6_1 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   R-cran-rJava-1.0.6_1 depends on shared library: libicuuc.so - found (/usr/local/lib/libicuuc.so)
===>   R-cran-rJava-1.0.6_1 depends on shared library: libpcre2-8.so - found (/usr/local/lib/libpcre2-8.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for R-cran-rJava-1.0.6_1
/usr/local/bin/R CMD javareconf -e exit
Java interpreter : /usr/local/bin/java
Java version     : 1.8.0_352
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
gmake[1]: Entering directory '/tmp/Rjavareconf.yJNu9e'
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/gcc11 -L/usr/local/lib/gcc11 -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.yJNu9e'

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_1 depends on file: /usr/local/openjdk8/bin/java - found
===>   R-cran-rJava-1.0.6_1 depends on file: /usr/local/bin/R - found
===>   R-cran-rJava-1.0.6_1 depends on executable: gfortran11 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for R-cran-rJava-1.0.6_1
===>   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