[package - main-arm64-default][net-mgmt/zabbix4-java] Failed for zabbix4-java-4.0.30 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 22 May 2022 13:43:18 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:     pg@pakhom.spb.ru
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/pa3e075eb6037_s5af718a592/logs/zabbix4-java-4.0.30.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pa3e075eb6037_s5af718a592
Log:

=>> Building net-mgmt/zabbix4-java
build started at Sun May 22 13:42:48 UTC 2022
port directory: /usr/ports/net-mgmt/zabbix4-java
package name: zabbix4-java-4.0.30
building for: FreeBSD main-arm64-default-job-08 14.0-CURRENT FreeBSD 14.0-CURRENT 1400059 arm64
maintained by: pg@pakhom.spb.ru
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 zabbix4-java-4.0.30:
     IPV6=on: IPv6 protocol support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
pg@pakhom.spb.ru
--End MAINTAINER--

--CONFIGURE_ARGS--
--cache-file=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/config.cache  --with-libevent=/usr/local --datadir=/usr/local/etc/zabbix4  --enable-java  --sysconfdir=/usr/local/etc/zabbix4  --with-iconv=/usr --enable-ipv6 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/zabbix4-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--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/.cache  HOME=/wrkdirs/usr/ports/net-mgmt/zabbix4-java/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-mgmt/zabbix4-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  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG"  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG "  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--
PROXY="@comment " SERVER="@comment " PORTVERSION=4.0.30  ZABBIX_BUILD=java JAVASHAREDIR="share/java"  JAVAJARDIR="share/java/classes" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/zabbix4"  EXAMPLESDIR="share/examples/zabbix4"  DATADIR="share/zabbix4"  WWWDIR="www/zabbix4"  ETCDIR="etc/zabbix4"
--End PLIST_SUB--

--SUB_LIST--
ZABBIX_BUILD=java 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/zabbix4 DOCSDIR=/usr/local/share/doc/zabbix4 EXAMPLESDIR=/usr/local/share/examples/zabbix4  WWWDIR=/usr/local/www/zabbix4 ETCDIR=/usr/local/etc/zabbix4
--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 GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   zabbix4-java-4.0.30 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
===>   zabbix4-java-4.0.30 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of zabbix4-java-4.0.30
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by zabbix4-java-4.0.30 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by zabbix4-java-4.0.30 for building
=> SHA256 Checksum OK for zabbix-4.0.30.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by zabbix4-java-4.0.30 for building
===>  Extracting for zabbix4-java-4.0.30
=> SHA256 Checksum OK for zabbix-4.0.30.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for zabbix4-java-4.0.30
===========================================================================
=======================<phase: build-depends  >============================
===>   zabbix4-java-4.0.30 depends on file: /usr/local/openjdk8/bin/java - not found
===>   Installing existing package /packages/All/openjdk8-8.332.09.1.pkg
[main-arm64-default-job-08] Installing openjdk8-8.332.09.1...
[main-arm64-default-job-08] `-- Installing alsa-lib-1.2.2_1...
[main-arm64-default-job-08] `-- Extracting alsa-lib-1.2.2_1: .......... done
[main-arm64-default-job-08] `-- Installing dejavu-2.37_1...
[main-arm64-default-job-08] |   `-- Installing fontconfig-2.13.94_2,1...
<snip>
checking for function sysctl (KERN_MAXPROC)... yes
checking for function sysctl (KERN_CPTIME,KERN_CPTIME2)... no
checking for function clock_gettime in time.h... yes
checking for macro __va_copy() in stdarg.h... yes
checking for macro __VA_ARGS__... yes
checking return type of signal handlers... void
checking for getloadavg... yes
checking for hstrerror... yes
checking for getenv... (cached) yes
checking for putenv... (cached) yes
checking for sigqueue... yes
checking for round... yes
checking for /proc filesystem... yes
checking for file /proc/stat... no
checking for file /proc/cpuinfo... no
checking for file /proc/0/psinfo... no
checking for file /proc/loadavg... no
checking for file /proc/net/dev... no
checking for long long format... yes
checking for -rdynamic linking option... yes
checking for libperfstat 5.2.0.40 fileset... no
checking for libperfstat 5.3.0.60 fileset... no
checking for architecture... freebsd (freebsd14.0)
checking size of void *... 8
checking for javac... javac
checking for jar... jar
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for ICONV support... yes
checking for mkdir -p candidate... ok (/bin/mkdir -p)
configure: updating cache /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating database/Makefile
config.status: creating database/ibm_db2/Makefile
config.status: creating database/mysql/Makefile
config.status: creating database/oracle/Makefile
config.status: creating database/postgresql/Makefile
config.status: creating database/sqlite3/Makefile
config.status: creating misc/Makefile
config.status: creating src/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zbxlog/Makefile
config.status: creating src/libs/zbxalgo/Makefile
config.status: creating src/libs/zbxmemory/Makefile
config.status: creating src/libs/zbxcrypto/Makefile
config.status: creating src/libs/zbxconf/Makefile
config.status: creating src/libs/zbxdbcache/Makefile
config.status: creating src/libs/zbxdbhigh/Makefile
config.status: creating src/libs/zbxmedia/Makefile
config.status: creating src/libs/zbxsysinfo/Makefile
config.status: creating src/libs/zbxcommon/Makefile
config.status: creating src/libs/zbxsysinfo/agent/Makefile
config.status: creating src/libs/zbxsysinfo/common/Makefile
config.status: creating src/libs/zbxsysinfo/simple/Makefile
config.status: creating src/libs/zbxsysinfo/linux/Makefile
config.status: creating src/libs/zbxsysinfo/aix/Makefile
config.status: creating src/libs/zbxsysinfo/freebsd/Makefile
config.status: creating src/libs/zbxsysinfo/hpux/Makefile
config.status: creating src/libs/zbxsysinfo/openbsd/Makefile
config.status: creating src/libs/zbxsysinfo/osx/Makefile
config.status: creating src/libs/zbxsysinfo/solaris/Makefile
config.status: creating src/libs/zbxsysinfo/osf/Makefile
config.status: creating src/libs/zbxsysinfo/netbsd/Makefile
config.status: creating src/libs/zbxsysinfo/unknown/Makefile
config.status: creating src/libs/zbxnix/Makefile
config.status: creating src/libs/zbxsys/Makefile
config.status: creating src/libs/zbxcomms/Makefile
config.status: creating src/libs/zbxcommshigh/Makefile
config.status: creating src/libs/zbxdb/Makefile
config.status: creating src/libs/zbxdbupgrade/Makefile
config.status: creating src/libs/zbxjson/Makefile
config.status: creating src/libs/zbxhttp/Makefile
config.status: creating src/libs/zbxserver/Makefile
config.status: creating src/libs/zbxicmpping/Makefile
config.status: creating src/libs/zbxexec/Makefile
config.status: creating src/libs/zbxself/Makefile
config.status: creating src/libs/zbxmodules/Makefile
config.status: creating src/libs/zbxregexp/Makefile
config.status: creating src/libs/zbxtasks/Makefile
config.status: creating src/libs/zbxipcservice/Makefile
config.status: creating src/libs/zbxhistory/Makefile
config.status: creating src/libs/zbxcompress/Makefile
config.status: creating src/zabbix_agent/Makefile
config.status: creating src/zabbix_get/Makefile
config.status: creating src/zabbix_sender/Makefile
config.status: creating src/zabbix_server/Makefile
config.status: creating src/zabbix_server/alerter/Makefile
config.status: creating src/zabbix_server/dbsyncer/Makefile
config.status: creating src/zabbix_server/dbconfig/Makefile
config.status: creating src/zabbix_server/discoverer/Makefile
config.status: creating src/zabbix_server/housekeeper/Makefile
config.status: creating src/zabbix_server/httppoller/Makefile
config.status: creating src/zabbix_server/pinger/Makefile
config.status: creating src/zabbix_server/poller/Makefile
config.status: creating src/zabbix_server/snmptrapper/Makefile
config.status: creating src/zabbix_server/timer/Makefile
config.status: creating src/zabbix_server/trapper/Makefile
config.status: creating src/zabbix_server/escalator/Makefile
config.status: creating src/zabbix_server/proxypoller/Makefile
config.status: creating src/zabbix_server/selfmon/Makefile
config.status: creating src/zabbix_server/vmware/Makefile
config.status: creating src/zabbix_server/taskmanager/Makefile
config.status: creating src/zabbix_server/ipmi/Makefile
config.status: creating src/zabbix_server/odbc/Makefile
config.status: creating src/zabbix_server/scripts/Makefile
config.status: creating src/zabbix_server/preprocessor/Makefile
config.status: creating src/zabbix_proxy/Makefile
config.status: creating src/zabbix_proxy/heart/Makefile
config.status: creating src/zabbix_proxy/housekeeper/Makefile
config.status: creating src/zabbix_proxy/proxyconfig/Makefile
config.status: creating src/zabbix_proxy/datasender/Makefile
config.status: creating src/zabbix_proxy/taskmanager/Makefile
config.status: creating src/zabbix_java/Makefile
config.status: creating man/Makefile
config.status: creating include/config.h
config.status: executing depfiles commands


Configuration:

  Detected OS:           freebsd14.0
  Install path:          /usr/local
  Compilation arch:      freebsd

  Compiler:              cc
  Compiler flags:         -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  

  Library-specific flags:
    iconv:                 -I/usr/include

  Enable server:         no

  Enable proxy:          no

  Enable agent:          no

  Enable Java gateway:   yes
  Java gateway details:
    Java compiler:         javac
    Java archiver:         jar

  LDAP support:          no
  IPv6 support:          yes

***********************************************************
*            Now run 'make install'                       *
*                                                         *
*            Thank you for using Zabbix!                  *
*              <http://www.zabbix.com>                    *
***********************************************************

===========================================================================
=======================<phase: build          >============================
===>  Building for zabbix4-java-4.0.30
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in zabbix_java
--- class ---
/bin/mkdir -p class/src
/bin/mkdir -p class/tests
--- bin/zabbix-java-gateway-4.0.30.jar ---
javac -d class/src -classpath lib/android-json-4.3_r3.1.jar:lib/logback-core-1.2.3.jar:lib/logback-classic-1.2.3.jar:lib/slf4j-api-1.7.30.jar src/com/zabbix/gateway/*.java
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch64.hpp:237), pid=68544, tid=0x0000000000065531
#  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/net-mgmt/zabbix4-java/work/zabbix-4.0.30/src/zabbix_java/javac.core
#
# An error report file with more information is saved as:
# /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/src/zabbix_java/hs_err_pid68544.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)
*** [bin/zabbix-java-gateway-4.0.30.jar] Error code 134

make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/src/zabbix_java
1 error

make[3]: stopped in /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/src/zabbix_java

make[2]: stopped in /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30/src

make[1]: stopped in /wrkdirs/usr/ports/net-mgmt/zabbix4-java/work/zabbix-4.0.30
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/zabbix4-java