[package - main-arm64-default][www/unit-java] Failed for unit-java8-1.26.1_1 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 03 Jun 2022 11:36:06 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:     osa@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p65d71ce9bdd9_s592e876a42/logs/unit-java8-1.26.1_1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p65d71ce9bdd9_s592e876a42
Log:

=>> Building www/unit-java
build started at Fri Jun  3 11:35:44 UTC 2022
port directory: /usr/ports/www/unit-java
package name: unit-java8-1.26.1_1
building for: FreeBSD main-arm64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400059 arm64
maintained by: osa@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1400059
Job Id: 08




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400059
UNAME_v=FreeBSD 14.0-CURRENT 1400059
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---
===> The following configuration options are available for unit-java8-1.26.1_1:
     DEBUG=off: Enable debug logging
     IPV6=on: IPv6 protocol support
     SSL=on: Enable SSL/TLS
     UNIXSOCK=on: Enable unix sockets
====> Support regular expressions: you can only select none or one of them
     NOPCRE=off: No support for Regular Expressions
     PCRE=off: Regular Expressions via devel/pcre
     PCRE2=on: Regular Expressions via devel/pcre2
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
osa@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local  --ld-opt="-L/usr/local/lib"  --log=/var/log/unit/unit.log  --modules=libexec/unit/modules  --pid=/var/run/unit/unit.pid  --state=/var/db/unit  --tmp=/var/tmp/unit  --user=www --group=www --openssl --control=unix:/var/run/unit/control.unit.sock
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/unit-java/work/.cache  HOME=/wrkdirs/usr/ports/www/unit-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/unit-java/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/unit-java/work/.cache  HOME=/wrkdirs/usr/ports/www/unit-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/unit-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--
JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/unit"  EXAMPLESDIR="share/examples/unit"  DATADIR="share/unit"  WWWDIR="www/unit"  ETCDIR="etc/unit"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local  UNIT_PIDFILE=/var/run/unit/unit.pid  UNIT_SOCK=/var/run/unit/control.unit.sock  UNIT_TMPDIR=/var/tmp/unit  WWWOWN=www  WWWGRP=www JAVASHAREDIR="/usr/local/share/java"  JAVAJARDIR="/usr/local/share/java/classes"  JAVALIBDIR="/usr/local/share/java/classes" JAVA_VERSION="8+" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/unit DOCSDIR=/usr/local/share/doc/unit EXAMPLESDIR=/usr/local/share/examples/unit  WWWDIR=/usr/local/www/unit ETCDIR=/usr/local/etc/unit
--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 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) 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 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb) 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=1400059
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    >============================
===>   unit-java8-1.26.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5_1.pkg
[main-arm64-default-job-08] Installing pkg-1.17.5_1...
[main-arm64-default-job-08] Extracting pkg-1.17.5_1: .......... done
===>   unit-java8-1.26.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of unit-java8-1.26.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by unit-java8-1.26.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by unit-java8-1.26.1_1 for building
=> SHA256 Checksum OK for unit-1.26.1.tar.gz.
=> SHA256 Checksum OK for classgraph-4.8.112.jar.
=> SHA256 Checksum OK for ecj-3.26.0.jar.
=> SHA256 Checksum OK for jetty-http-9.4.43.v20210629.jar.
=> SHA256 Checksum OK for jetty-server-9.4.43.v20210629.jar.
=> SHA256 Checksum OK for jetty-util-9.4.43.v20210629.jar.
=> SHA256 Checksum OK for tomcat-api-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-el-api-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-jsp-api-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-jasper-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-jasper-el-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-juli-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-servlet-api-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-util-9.0.52.jar.
=> SHA256 Checksum OK for tomcat-util-scan-9.0.52.jar.
===========================================================================
<snip>
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from dejavu-2.37_1:

--
Make sure that the freetype module is loaded.  If it is not, add the following
line to the "Modules" section of your X Windows configuration file:

	Load "freetype"

Add the following line to the "Files" section of X Windows configuration file:

	FontPath "/usr/local/share/fonts/dejavu/"

Note: your X Windows configuration file is typically /etc/X11/XF86Config
if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org.
=====
Message from libinotify-20211018:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from openjdk8-8.332.09.1:

--
This OpenJDK implementation requires fdescfs(5) mounted on /dev/fd and
procfs(5) mounted on /proc.

If you have not done it yet, please do the following:

	mount -t fdescfs fdesc /dev/fd
	mount -t procfs proc /proc

To make it permanent, you need the following lines in /etc/fstab:

	fdesc	/dev/fd		fdescfs		rw	0	0
	proc	/proc		procfs		rw	0	0
===>   unit-java8-1.26.1_1 depends on file: /usr/local/openjdk8/bin/java - found
===>   Returning to build of unit-java8-1.26.1_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   unit-java8-1.26.1_1 depends on shared library: libpcre2-8.so - not found
===>   Installing existing package /packages/All/pcre2-10.40.pkg
[main-arm64-default-job-08] Installing pcre2-10.40...
[main-arm64-default-job-08] Extracting pcre2-10.40: .......... done
===>   unit-java8-1.26.1_1 depends on shared library: libpcre2-8.so - found (/usr/local/lib/libpcre2-8.so)
===>   Returning to build of unit-java8-1.26.1_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for unit-java8-1.26.1_1
configuring for FreeBSD 14.0-CURRENT arm64
checking for C compiler: cc
 + using Clang C compiler
 + FreeBSD clang version 14.0.3 (https://github.com/llvm/llvm-project.git llvmorg-14.0.3-0-g1f9140064dfb)
building an "echo" program
checking for int size ... 4
checking for long size ... 8
checking for long long size ... 8
checking for void * size ... 8
checking for size_t size ... 8
checking for off_t size ... 8
checking for time_t size ... 8
checking for C99 variadic macro ... found
checking for GCC __builtin_expect() ... found
checking for GCC __builtin_unreachable() ... found
checking for GCC __builtin_prefetch() ... found
checking for GCC __builtin_clz() ... found
checking for GCC __builtin_popcount() ... found
checking for GCC __attribute__ visibility ... found
checking for GCC __attribute__ aligned ... found
checking for GCC __attribute__ malloc ... found
checking for GCC __attribute__ packed ... found
checking for GCC builtin atomic operations ... found
checking for posix_memalign() ... found
checking for Linux malloc_usable_size() ... found
checking for alloca() ... found
checking for Linux mallopt() ... not found
checking for MAP_ANON ... found
checking for MAP_POPULATE ... not found
checking for MAP_PREFAULT_READ ... found
checking for shm_open() ... found
checking for shm_open(SHM_ANON) ... found
checking for memfd_create() ... not found
checking for Linux clock_gettime(CLOCK_REALTIME_COARSE) ... found
checking for FreeBSD clock_gettime(CLOCK_REALTIME_FAST) ... found
checking for clock_gettime(CLOCK_REALTIME) ... found
checking for Linux clock_gettime(CLOCK_MONOTONIC_COARSE) ... found
checking for FreeBSD clock_gettime(CLOCK_MONOTONIC_FAST) ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for HP-UX hg_gethrtime() ... not found
checking for struct tm.tm_gmtoff ... found
checking for altzone ... not found
checking for localtime_r() ... found
checking for pthread_yield() ... found
checking for pthread spinlock ... found
checking for pthread spinlock zero initial value ... found but is not working
checking for sem_timedwait() ... found
checking for __thread ... found
checking for Linux epoll ... not found
checking for kqueue ... found
checking for kqueue EVFILT_USER ... found
checking for Solaris event port ... not found
checking for /dev/poll ... not found
checking for AIX pollset ... not found
checking for AF_INET6 ... found
checking for sockaddr.sa_len ... found
checking for struct sockaddr size ... 16
checking for struct sockaddr_in size ... 16
checking for struct sockaddr_in6 size ... 28
checking for struct sockaddr_un size ... 106
checking for struct sockaddr_storage size ... 128
checking for socketpair(AF_UNIX, SOCK_SEQPACKET) ... found
checking for struct msghdr.msg_control ... found
checking for sockopt SO_PASSCRED ... not found
checking for struct cmsgcred ... found
checking for sys/filio.h ... found
checking for ioctl(FIONBIO) ... found
checking for socket(SOCK_NONBLOCK) ... found
checking for accept4() ... found
checking for Linux sendfile() ... not found
checking for FreeBSD sendfile() ... found
checking for posix_fadvise() ... found
checking for fcntl(F_READAHEAD) ... found
checking for fcntl(F_RDAHEAD) ... found
checking for openat2() ... not found
checking for getrandom() ... found
checking for ucontext ... found
checking for dlopen() ... found
checking for posix_spawn() ... found
checking for setproctitle() ... found
checking for getgrouplist() ... found
checking for OpenSSL library ... found
checking for OpenSSL version ... "OpenSSL 1.1.1o-freebsd  3 May 2022"
checking for OpenSSL SSL_CONF_cmd() ... found
checking for OpenSSL tlsext support ... found
checking for PCRE2 library ... found
 + PCRE2 version: 10.40
checking for clone(2) ... not found
checking for Linux pivot_root() ... not found
checking for prctl(PR_SET_NO_NEW_PRIVS) ... not found
checking for Linux mount() ... not found
checking for FreeBSD nmount() ... found
checking for Linux umount2() ... not found
checking for unmount() ... found
checking for Linux capability ... not found
creating build/Makefile

Unit configuration summary:

  bin directory: ............. "/usr/local/bin"
  sbin directory: ............ "/usr/local/sbin"
  lib directory: ............. "/usr/local/lib"
  include directory: ......... "/usr/local/include"
  man pages directory: ....... "/usr/local/share/man"
  modules directory: ......... "/usr/local/libexec/unit/modules"
  state directory: ........... "/var/db/unit"
  tmp directory: ............. "/var/tmp/unit"

  pid file: .................. "/var/run/unit/unit.pid"
  log file: .................. "/var/log/unit/unit.log"

  control API socket: ........ "unix:/var/run/unit/control.unit.sock"

  non-privileged user: ....... "www"
  non-privileged group: ...... "www"

  IPv6 support: .............. YES
  Unix domain sockets support: YES
  TLS support: ............... YES

  process isolation: ......... NO

  debug logging: ............. NO

cd /wrkdirs/usr/ports/www/unit-java/work/unit-1.26.1 &&  /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/unit-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/www/unit-java/work/.cache  HOME=/wrkdirs/usr/ports/www/unit-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/unit-java/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ./configure java  --module=java8  --local-repo=/portdistfiles  --jars=/usr/local/share/java/classes
configuring Java module
checking for java executable ... found /usr/local/bin/java
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch64.hpp:237), pid=64406, tid=0x00000000000935e8
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version:  (8.0_332-b09) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.332-b09 mixed mode bsd-aarch64 compressed oops)
# Core dump written. Default location: /wrkdirs/usr/ports/www/unit-java/work/unit-1.26.1/java.core
#
# An error report file with more information is saved as:
# /wrkdirs/usr/ports/www/unit-java/work/unit-1.26.1/hs_err_pid64406.log
#
# If you would like to submit a bug report, please visit:
#   https://bugs.freebsd.org/bugzilla/enter_bug.cgi?product=Ports%20%26%20Packages&component=Individual%20Port(s)&short_desc=java/openjdk8%3A%20
#
Abort trap (core dumped)
*** Error code 134

Stop.
make: stopped in /usr/ports/www/unit-java