[package - main-arm64-default][lang/erlang-java] Failed for erlang-java-24.1.7,1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 16 Dec 2021 21:35:57 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:     erlang@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p753e6f25c4b3_s479ea5cf2d/logs/erlang-java-24.1.7,1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p753e6f25c4b3_s479ea5cf2d
Log:

=>> Building lang/erlang-java
build started at Thu Dec 16 21:34:55 UTC 2021
port directory: /usr/ports/lang/erlang-java
package name: erlang-java-24.1.7,1
building for: FreeBSD main-arm64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400044 arm64
maintained by: erlang@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400044
Job Id: 01




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400044
UNAME_v=FreeBSD 14.0-CURRENT 1400044
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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--
erlang@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-threads  --with-javac  --without-odbc  --without-wx --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
ac_cv_prog_JAVAC="/usr/local/openjdk8/bin/javac" MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/erlang-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/erlang-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/erlang-java/work/.cache  HOME=/wrkdirs/usr/ports/lang/erlang-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/erlang-java/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/erlang-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/erlang-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/erlang-java/work/.cache  HOME=/wrkdirs/usr/ports/lang/erlang-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/erlang-java/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -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--
APP_VERSION=1.12.1 JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/erlang"  EXAMPLESDIR="share/examples/erlang"  DATADIR="share/erlang"  WWWDIR="www/erlang"  ETCDIR="etc/erlang"
--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/erlang DOCSDIR=/usr/local/share/doc/erlang EXAMPLESDIR=/usr/local/share/examples/erlang  WWWDIR=/usr/local/www/erlang ETCDIR=/usr/local/etc/erlang
--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: aarch64-unknown-freebsd14.0 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: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400044
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   erlang-java-24.1.7,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-arm64-default-job-01] Installing pkg-1.17.5...
[main-arm64-default-job-01] Extracting pkg-1.17.5: .......... done
===>   erlang-java-24.1.7,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of erlang-java-24.1.7,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by erlang-java-24.1.7,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by erlang-java-24.1.7,1 for building
=> SHA256 Checksum OK for erlang/erlang-otp-OTP-24.1.7_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by erlang-java-24.1.7,1 for building
===>  Extracting for erlang-java-24.1.7,1
=> SHA256 Checksum OK for erlang/erlang-otp-OTP-24.1.7_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for erlang-java-24.1.7,1
===========================================================================
=======================<phase: build-depends  >============================
===>   erlang-java-24.1.7,1 depends on file: /usr/local/openjdk8/bin/java - not found
===>   Installing existing package /packages/All/openjdk8-8.312.07.1.pkg
[main-arm64-default-job-01] Installing openjdk8-8.312.07.1...
[main-arm64-default-job-01] `-- Installing alsa-lib-1.2.2_1...
[main-arm64-default-job-01] `-- Extracting alsa-lib-1.2.2_1: .......... done
[main-arm64-default-job-01] `-- Installing dejavu-2.37_1...
[main-arm64-default-job-01] |   `-- Installing fontconfig-2.13.94_1,1...
[main-arm64-default-job-01] |   | `-- Installing expat-2.4.1...
[main-arm64-default-job-01] |   | `-- Extracting expat-2.4.1: .......... done
[main-arm64-default-job-01] |   | `-- Installing freetype2-2.11.1...
<snip>
checking whether SCTP_COOKIE_WAIT is declared... yes
checking whether SCTPS_COOKIE_WAIT is declared... no
checking whether SCTP_COOKIE_ECHOED is declared... yes
checking whether SCTPS_COOKIE_ECHOED is declared... no
checking whether SCTP_ESTABLISHED is declared... yes
checking whether SCTPS_ESTABLISHED is declared... no
checking whether SCTP_SHUTDOWN_PENDING is declared... yes
checking whether SCTPS_SHUTDOWN_PENDING is declared... no
checking whether SCTP_SHUTDOWN_SENT is declared... yes
checking whether SCTPS_SHUTDOWN_SENT is declared... no
checking whether SCTP_SHUTDOWN_RECEIVED is declared... yes
checking whether SCTPS_SHUTDOWN_RECEIVED is declared... no
checking whether SCTP_SHUTDOWN_ACK_SENT is declared... yes
checking whether SCTPS_SHUTDOWN_ACK_SENT is declared... no
checking for struct sctp_paddrparams.spp_pathmtu... yes
checking for struct sctp_paddrparams.spp_sackdelay... no
checking for struct sctp_paddrparams.spp_flags... yes
checking for struct sctp_remote_error.sre_data... yes
checking for struct sctp_send_failed.ssf_data... yes
checking for struct sctp_event_subscribe.sctp_authentication_event... yes
checking for struct sctp_event_subscribe.sctp_sender_dry_event... yes
checking for sched.h... (cached) yes
checking setns.h usability... no
checking setns.h presence... no
checking for setns.h... no
checking for setns... no
checking for linux/types.h... no
checking for linux/errqueue.h... no
checking valgrind/valgrind.h usability... no
checking valgrind/valgrind.h presence... no
checking for valgrind/valgrind.h... no
checking for SO_BSDCOMPAT declaration... no
checking for INADDR_LOOPBACK in netinet/in.h... yes
checking for sys_errlist declaration in stdio.h or errno.h... yes
checking if windows.h includes winsock2.h... no
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for off_t... (cached) yes
checking for pid_t... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether struct sockaddr has sa_len field... yes
checking size of char... 1
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 8
checking size of void *... (cached) 8
checking size of long long... (cached) 8
checking size of size_t... 8
checking size of off_t... 8
checking size of time_t... 8
checking size of suseconds_t... 8
checking size of _Float16... 2
checking for C compiler 'restrict' support... yes
checking if we should add -fno-tree-copyrename to CFLAGS for computed gotos to work properly... no
checking for broken gcc-4.3.0 compiler... no
checking whether byte ordering is bigendian... (cached) no
checking whether double word ordering is middle-endian... (cached) no
checking for fdatasync... yes
checking for library containing fdatasync... none required
checking for sendfile... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for ws2tcpip.h... no
checking for getaddrinfo... yes
checking whether getaddrinfo accepts enough flags... yes
checking for getnameinfo... yes
checking for getipnodebyname... yes
checking for getipnodebyaddr... yes
checking for gethostbyname2... yes
checking for ieee_handler... no
checking for fpsetmask... yes
checking for finite... yes
checking for isnan... yes
checking for isinf... yes
checking for res_gethostbyname... no
checking for dlopen... (cached) yes
checking for pread... (cached) yes
checking for pwrite... (cached) yes
checking for memmove... (cached) yes
checking for strerror... (cached) yes
checking for strerror_r... (cached) yes
checking for strncasecmp... (cached) yes
checking for gethrtime... (cached) no
checking for localtime_r... (cached) yes
checking for gmtime_r... yes
checking for mprotect... (cached) yes
checking for madvise... yes
checking for posix_madvise... yes
checking for mmap... (cached) yes
checking for mremap... no
checking for memcpy... (cached) yes
checking for mallopt... no
checking for sbrk... no
checking for _sbrk... no
checking for __sbrk... no
checking for brk... no
checking for _brk... no
checking for __brk... no
checking for flockfile... yes
checking for fstat... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for setsid... (cached) yes
checking for posix2time... yes
checking for time2posix... yes
checking for setlocale... (cached) yes
checking for nl_langinfo... (cached) yes
checking for poll... (cached) yes
checking for mlockall... yes
checking for ppoll... yes
checking for vsyslog... yes
checking for inet_pton... yes
checking for isfinite... no
checking for posix_memalign... yes
checking for writev... yes
checking whether posix2time is declared... yes
checking whether time2posix is declared... yes
checking for vprintf... (cached) yes
checking for _doprnt... no
checking for conflicting declaration of fread... yes
checking for putc_unlocked... yes
checking for fwrite_unlocked... yes
checking for openpty... yes
checking net/if_dl.h usability... yes
checking net/if_dl.h presence... yes
checking for net/if_dl.h... yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for netpacket/packet.h... (cached) no
checking for sys/un.h... (cached) yes
checking for getifaddrs... yes
checking for struct sockaddr_un.sun_path... yes
checking whether in6addr_any is declared... yes
checking whether in6addr_loopback is declared... yes
checking whether IN6ADDR_ANY_INIT is declared... yes
checking whether IN6ADDR_LOOPBACK_INIT is declared... yes
checking whether IPV6_V6ONLY is declared... yes
checking for sched_getaffinity/sched_setaffinity... yes
checking for pset functionality... no
checking for processor_bind functionality... no
checking for cpuset_getaffinity/cpuset_setaffinity... yes
checking for 'end' symbol... yes
checking for '_end' symbol... yes
checking if __after_morecore_hook can track malloc()s core memory use... no
checking for IP version 6 support... yes
checking for multicast support... yes
checking for clock_gettime in -lrt... (cached) yes
checking for clock_gettime() with wall clock type... CLOCK_REALTIME
checking for clock_getres... (cached) yes
checking for clock_get_attributes... (cached) no
checking for gettimeofday... (cached) yes
checking for mach clock_get_time() with wall clock type... no
checking for clock_gettime in -lrt... (cached) yes
checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... (cached) no
checking for clock_gettime() with custom monotonic clock type... CLOCK_UPTIME
checking for clock_getres... (cached) yes
checking for clock_get_attributes... (cached) no
checking for gethrtime... (cached) no
checking for mach clock_get_time() with monotonic clock type... (cached) no
checking for clock_gettime in -lrt... (cached) yes
checking for clock_gettime(CLOCK_MONOTONIC_RAW, _)... (cached) no
checking for clock_gettime() with high resolution monotonic clock type... CLOCK_UPTIME_PRECISE
checking for clock_getres... (cached) yes
checking for clock_get_attributes... (cached) no
checking for gethrtime... (cached) no
checking for mach clock_get_time() with monotonic clock type... (cached) no
checking if gethrvtime works and how to use it... not working
checking if clock_gettime can be used to get thread CPU time... yes
checking for m4... m4
configure: WARNING: JIT disabled due to lack to support on arm64-freebsd
checking whether to redefine FD_SETSIZE... no
checking for working poll()... yes
checking whether host os has known kqueue bugs... no
checking whether kernel poll support should be enabled... yes; kqueue
checking whether putenv() stores a copy of the key-value pair... no
checking for a compiler that handles jumptables... cc
checking for kstat_open in -lkstat... (cached) no
checking for kvm_open in -lkvm... yes
checking for javac.sh... (cached) /usr/local/openjdk8/bin/javac
checking for JDK version 1.6... Abort trap (core dumped)
no
configure: error: No java compiler found in PATH (checked for javac.sh javac guavac gcj jikes bock)
ERROR: /wrkdirs/usr/ports/lang/erlang-java/work/otp-OTP-24.1.7/erts/configure failed!
kill: -95691: No such process
===>  Script "configure" failed unexpectedly.
Please report the problem to erlang@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/lang/erlang-java/work/otp-OTP-24.1.7/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/erlang-java