[package - main-arm64-default][lang/kawa] Failed for kawa-3.1.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 04 Jan 2022 12:56:26 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:     ashish@FreeBSD.org
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/pe2d17ded99d5_s5169832c96/logs/kawa-3.1.1.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=pe2d17ded99d5_s5169832c96
Log:

=>> Building lang/kawa
build started at Tue Jan  4 12:55:57 UTC 2022
port directory: /usr/ports/lang/kawa
package name: kawa-3.1.1
building for: FreeBSD main-arm64-default-job-14 14.0-CURRENT FreeBSD 14.0-CURRENT 1400046 arm64
maintained by: ashish@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400046
Job Id: 14




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400046
UNAME_v=FreeBSD 14.0-CURRENT 1400046
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--
ashish@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-kawa-frontend  --with-java-source=8 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
JAVA="/usr/local/openjdk8/bin/java" JAVAC="/usr/local/openjdk8/bin/javac" MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/lang/kawa/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/kawa/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/kawa/work/.cache  HOME=/wrkdirs/usr/ports/lang/kawa/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/kawa/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--
JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 XDG_DATA_HOME=/wrkdirs/usr/ports/lang/kawa/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/lang/kawa/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/lang/kawa/work/.cache  HOME=/wrkdirs/usr/ports/lang/kawa/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/lang/kawa/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="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -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/kawa"  EXAMPLESDIR="share/examples/kawa"  DATADIR="share/kawa"  WWWDIR="www/kawa"  ETCDIR="etc/kawa"
--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/kawa DOCSDIR=/usr/local/share/doc/kawa EXAMPLESDIR=/usr/local/share/examples/kawa  WWWDIR=/usr/local/www/kawa ETCDIR=/usr/local/etc/kawa
--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=1400046
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   kawa-3.1.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[main-arm64-default-job-14] Installing pkg-1.17.5...
[main-arm64-default-job-14] Extracting pkg-1.17.5: .......... done
===>   kawa-3.1.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of kawa-3.1.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by kawa-3.1.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by kawa-3.1.1 for building
=> SHA256 Checksum OK for kawa-3.1.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by kawa-3.1.1 for building
===>  Extracting for kawa-3.1.1
=> SHA256 Checksum OK for kawa-3.1.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for kawa-3.1.1
===>  Applying FreeBSD patches for kawa-3.1.1 from /usr/ports/lang/kawa/files
===========================================================================
=======================<phase: build-depends  >============================
===>   kawa-3.1.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-14] Installing openjdk8-8.312.07.1...
[main-arm64-default-job-14] `-- Installing alsa-lib-1.2.2_1...
[main-arm64-default-job-14] `-- Extracting alsa-lib-1.2.2_1: .......... done
[main-arm64-default-job-14] `-- Installing dejavu-2.37_1...
[main-arm64-default-job-14] |   `-- Installing fontconfig-2.13.94_1,1...
[main-arm64-default-job-14] |   | `-- Installing expat-2.4.2...
[main-arm64-default-job-14] |   | `-- Extracting expat-2.4.2: .......... done
<snip>
    same filesystem
  - certain modifications to a symbolic link (rather than the
    file it points to.)

in addition to the known limitations on all platforms using kqueue(2)
where various open and close notifications are unimplemented.

This means the following regression tests will fail:

Directory notifications:
   IN_MOVED_FROM
   IN_MOVED_TO

Open/close notifications:
   IN_OPEN
   IN_CLOSE_NOWRITE
   IN_CLOSE_WRITE

Symbolic Link notifications:
   IN_DONT_FOLLOW
   IN_ATTRIB
   IN_MOVE_SELF
   IN_DELETE_SELF

Kernel patches to address the missing directory and symbolic link
notifications are available from:

https://github.com/libinotify-kqueue/libinotify-kqueue/tree/master/patches

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.312.07.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
===>   kawa-3.1.1 depends on file: /usr/local/openjdk8/bin/java - found
===>   Returning to build of kawa-3.1.1
===>   kawa-3.1.1 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[main-arm64-default-job-14] Installing gmake-4.3_2...
[main-arm64-default-job-14] `-- Installing gettext-runtime-0.21...
[main-arm64-default-job-14] |   `-- Installing indexinfo-0.3.1...
[main-arm64-default-job-14] |   `-- Extracting indexinfo-0.3.1: .... done
[main-arm64-default-job-14] `-- Extracting gettext-runtime-0.21: .......... done
[main-arm64-default-job-14] Extracting gmake-4.3_2: .......... done
===>   kawa-3.1.1 depends on package: gmake>=4.3 - found
===>   Returning to build of kawa-3.1.1
===>   kawa-3.1.1 depends on executable: groff - not found
===>   Installing existing package /packages/All/groff-1.22.4_4.pkg
[main-arm64-default-job-14] Installing groff-1.22.4_4...
[main-arm64-default-job-14] `-- Installing libiconv-1.16...
[main-arm64-default-job-14] `-- Extracting libiconv-1.16: .......... done
[main-arm64-default-job-14] `-- Installing perl5-5.32.1_1...
[main-arm64-default-job-14] `-- Extracting perl5-5.32.1_1: .......... done
[main-arm64-default-job-14] `-- Installing psutils-1.17_5...
[main-arm64-default-job-14] |   `-- Installing libpaper-1.1.28...
[main-arm64-default-job-14] |   `-- Extracting libpaper-1.1.28: .......... done
[main-arm64-default-job-14] `-- Extracting psutils-1.17_5: .......... done
[main-arm64-default-job-14] `-- Installing uchardet-0.0.7...
[main-arm64-default-job-14] `-- Extracting uchardet-0.0.7: .......... done
[main-arm64-default-job-14] Extracting groff-1.22.4_4: .......... done
=====
Message from groff-1.22.4_4:

--
In order to be able to use the html driver, you need to install the following
packages:
 - ghostscript
 - netpbm
===>   kawa-3.1.1 depends on executable: groff - found
===>   Returning to build of kawa-3.1.1
===========================================================================
=======================<phase: lib-depends    >============================
===>   kawa-3.1.1 depends on shared library: libreadline.so.8 - not found
===>   Installing existing package /packages/All/readline-8.1.1.pkg
[main-arm64-default-job-14] Installing readline-8.1.1...
[main-arm64-default-job-14] Extracting readline-8.1.1: .......... done
===>   kawa-3.1.1 depends on shared library: libreadline.so.8 - found (/usr/local/lib/libreadline.so.8)
===>   Returning to build of kawa-3.1.1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for kawa-3.1.1
configure: loading site script /usr/ports/Templates/config.site
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... aarch64-portbld-freebsd14.0
checking host system type... aarch64-portbld-freebsd14.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether ln -s works... yes
checking for Posix find command... /usr/bin/find
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating bin/kawa.sh
config.status: creating Makefile
config.status: creating gnu/bytecode/Makefile
config.status: creating gnu/Makefile
config.status: creating gnu/kawa/servlet/Makefile
config.status: creating gnu/brl/Makefile
config.status: creating gnu/kawa/brl/Makefile
config.status: creating kawa/lib/Makefile
config.status: creating gnu/kawa/slib/Makefile
config.status: creating gnu/commonlisp/lisp/Makefile
config.status: creating gnu/commonlisp/testsuite/Makefile
config.status: creating gnu/jemacs/lisp/Makefile
config.status: creating gnu/jemacs/testsuite/Makefile
config.status: creating gnu/q2/testsuite/Makefile
config.status: creating gnu/xquery/testsuite/Makefile
config.status: creating gnu/kawa/android/Makefile
config.status: creating gnu/kawa/javafx/Makefile
config.status: creating doc/Makefile
config.status: creating testsuite/Makefile
config.status: creating bin/kawa.bat
config.status: creating bin/qexo
config.status: linking testsuite/scribble.html.in to testsuite/scribble.html
=== configuring in bin (/wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1/bin)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local'  '--enable-kawa-frontend' '--with-java-source=8' '--localstatedir=/var' '--mandir=/usr/local/man' '--disable-silent-rules' '--infodir=/usr/local/share/info/' '--build=aarch64-portbld-freebsd14.0' 'build_alias=aarch64-portbld-freebsd14.0' --cache-file=/dev/null --srcdir=.
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... aarch64-portbld-freebsd14.0
checking host system type... aarch64-portbld-freebsd14.0
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 whether cc understands -c and -o together... yes
checking whether gmake supports the include directive... yes (GNU style)
checking dependency style of cc... gcc3
checking dependency style of cc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking dependency style of c++... (cached) gcc3
checking for add_history in -lhistory... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===>  Building for kawa-3.1.1
gmake[1]: Entering directory '/wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1'
if test ! -e selected-java-source -o \
   "%java8 +use:com.sun.net.httpserver +enable:XML -with:jline3 -with:lsp4j +use:java.awt" != "`cat selected-java-source`"; \
   then gmake do-preprocess; \
fi
gmake[2]: Entering directory '/wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1'
/usr/local/openjdk8/bin/javac -d . -g gnu/kawa/util/PreProcess.java
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (assembler_aarch64.hpp:237), pid=63696, tid=0x000000000006eb0f
#  guarantee(val < (1U << nbits)) failed: Field too big for insn
#
# JRE version:  (8.0_312-b07) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.312-b07 mixed mode bsd-aarch64 compressed oops)
# Core dump written. Default location: /wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1/javac.core
#
# An error report file with more information is saved as:
# /wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1/hs_err_pid63696.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
#
gmake[2]: *** [Makefile:2110: gnu/kawa/util/PreProcess.class] Abort trap (core dumped)
gmake[2]: Leaving directory '/wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1'
gmake[1]: *** [Makefile:2113: selected-java-source] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/kawa/work/kawa-3.1.1'
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/kawa