[package - main-amd64-default][security/wazuh-indexer] Failed for wazuh-indexer-4.7.0 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 20 Dec 2023 10:29:27 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:     acm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/p95fa05afac27_seac3646fcd/logs/wazuh-indexer-4.7.0.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p95fa05afac27_seac3646fcd
Log:

=>> Building security/wazuh-indexer
build started at Wed Dec 20 10:29:20 UTC 2023
port directory: /usr/ports/security/wazuh-indexer
package name: wazuh-indexer-4.7.0
building for: FreeBSD main-amd64-default-job-07 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 amd64
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 909 Dec 19 01:01 /usr/ports/security/wazuh-indexer/Makefile
Ports top last git commit: 95fa05afac2
Ports top unclean checkout: no
Port dir last git commit: abaf8dc39cc
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1500007
Job Id: 07




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500007
UNAME_v=FreeBSD 15.0-CURRENT 1500007
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/main-amd64-default/07/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work/.cache  HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/wazuh-indexer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/wazuh-indexer/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work/.cache  HOME=/wrkdirs/usr/ports/security/wazuh-indexer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/wazuh-indexer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/wazuh-indexer/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 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_INSTA
LL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wazuh"  EXAMPLESDIR="share/examples/wazuh"  DATADIR="share/wazuh"  WWWDIR="www/wazuh"  ETCDIR="etc/wazuh-indexer"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/wazuh DOCSDIR=/usr/local/share/doc/wazuh EXAMPLESDIR=/usr/local/share/examples/wazuh  WWWDIR=/usr/local/www/wazuh ETCDIR=/usr/local/etc/wazuh-indexer
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  33554432
stack size              (kbytes, -s)  524288
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   wazuh-indexer-4.7.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[main-amd64-default-job-07] Installing pkg-1.20.9...
[main-amd64-default-job-07] Extracting pkg-1.20.9: .......... done
===>   wazuh-indexer-4.7.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of wazuh-indexer-4.7.0
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
=> wazuh-4.7.0-indexer.yml doesn't seem to exist in /portdistfiles/wazuh-4.7.0.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/acm/wazuh/wazuh-4.7.0-indexer.yml
wazuh-4.7.0-indexer.yml                               2216  B   36 MBps    00s
===> Fetching all distfiles required by wazuh-indexer-4.7.0 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by wazuh-indexer-4.7.0 for building
=> SHA256 Checksum OK for wazuh-4.7.0/wazuh-4.7.0-indexer.yml.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by wazuh-indexer-4.7.0 for building
===>  Extracting for wazuh-indexer-4.7.0
=> SHA256 Checksum OK for wazuh-4.7.0/wazuh-4.7.0-indexer.yml.
cp -f /portdistfiles/wazuh-4.7.0/wazuh-4.7.0-indexer.yml /wrkdirs/usr/ports/security/wazuh-indexer/work/wazuh-4.7.0
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for wazuh-indexer-4.7.0
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for wazuh-indexer-4.7.0
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
[main-amd64-default-job-07] |   | `-- Extracting libXtst-1.2.3_2: .......... done
[main-amd64-default-job-07] |   | `-- Installing libinotify-20211018...
[main-amd64-default-job-07] |   | `-- Extracting libinotify-20211018: .......... done
[main-amd64-default-job-07] |   `-- Extracting openjdk8-8.392.08.1: .......... done
[main-amd64-default-job-07] `-- Extracting jna-5.7.0_1: .......... done
[main-amd64-default-job-07] `-- Installing openjdk17-17.0.9+9.1...
[main-amd64-default-job-07] |   `-- Installing harfbuzz-8.3.0...
[main-amd64-default-job-07] |   | `-- Installing glib-2.78.3,2...
[main-amd64-default-job-07] |   |   `-- Installing libffi-3.4.4...
[main-amd64-default-job-07] |   |   `-- Extracting libffi-3.4.4: .......... done
[main-amd64-default-job-07] |   |   `-- Installing libiconv-1.17...
[main-amd64-default-job-07] |   |   `-- Extracting libiconv-1.17: .......... done
[main-amd64-default-job-07] |   |   `-- Installing libxml2-2.10.4_2...
[main-amd64-default-job-07] |   |   `-- Extracting libxml2-2.10.4_2: .......... done
[main-amd64-default-job-07] |   |   `-- Installing pcre2-10.42...
[main-amd64-default-job-07] |   |   `-- Extracting pcre2-10.42: .......... done
[main-amd64-default-job-07] |   |   `-- Installing python39-3.9.18...
[main-amd64-default-job-07] |   |   | `-- Installing mpdecimal-2.5.1...
[main-amd64-default-job-07] |   |   | `-- Extracting mpdecimal-2.5.1: .......... done
[main-amd64-default-job-07] |   |   `-- Extracting python39-3.9.18: .......... done
[main-amd64-default-job-07] |   | `-- Extracting glib-2.78.3,2: .......... done
[main-amd64-default-job-07] |   | `-- Installing graphite2-1.3.14...
[main-amd64-default-job-07] |   | `-- Extracting graphite2-1.3.14: .......... done
[main-amd64-default-job-07] |   `-- Extracting harfbuzz-8.3.0: .......... done
[main-amd64-default-job-07] |   `-- Installing jpeg-turbo-3.0.1...
[main-amd64-default-job-07] |   `-- Extracting jpeg-turbo-3.0.1: .......... done
[main-amd64-default-job-07] |   `-- Installing lcms2-2.16...
[main-amd64-default-job-07] |   | `-- Installing tiff-4.4.0_2...
[main-amd64-default-job-07] |   |   `-- Installing jbigkit-2.1_1...
[main-amd64-default-job-07] |   |   `-- Extracting jbigkit-2.1_1: .......... done
[main-amd64-default-job-07] |   |   `-- Installing libdeflate-1.19...
[main-amd64-default-job-07] |   |   `-- Extracting libdeflate-1.19: .......... done
[main-amd64-default-job-07] |   |   `-- Installing zstd-1.5.5...
[main-amd64-default-job-07] |   |   | `-- Installing liblz4-1.9.4,1...
[main-amd64-default-job-07] |   |   | `-- Extracting liblz4-1.9.4,1: .......... done
[main-amd64-default-job-07] |   |   `-- Extracting zstd-1.5.5: .......... done
[main-amd64-default-job-07] |   | `-- Extracting tiff-4.4.0_2: .......... done
[main-amd64-default-job-07] |   `-- Extracting lcms2-2.16: .......... done
[main-amd64-default-job-07] |   `-- Installing libXrandr-1.5.2...
[main-amd64-default-job-07] |   `-- Extracting libXrandr-1.5.2: .......... done
[main-amd64-default-job-07] |   `-- Installing xorg-fonts-truetype-7.7_1...
[main-amd64-default-job-07] |   | `-- Installing encodings-1.0.5,1...
[main-amd64-default-job-07] |   | `-- Extracting encodings-1.0.5,1: .......... done
[main-amd64-default-job-07] |   | `-- Installing font-bh-ttf-1.0.3_5...
[main-amd64-default-job-07] |   | `-- Extracting font-bh-ttf-1.0.3_5: .......... done
[main-amd64-default-job-07] |   | `-- Installing font-misc-ethiopic-1.0.4...
[main-amd64-default-job-07] |   | `-- Extracting font-misc-ethiopic-1.0.4: ...... done
[main-amd64-default-job-07] |   | `-- Installing font-misc-meltho-1.0.3_5...
[main-amd64-default-job-07] |   | `-- Extracting font-misc-meltho-1.0.3_5: .......... done
[main-amd64-default-job-07] |   `-- Extracting xorg-fonts-truetype-7.7_1: ... done
[main-amd64-default-job-07] `-- Extracting openjdk17-17.0.9+9.1: .......... done
===> Creating groups.
Creating group 'opensearch' with gid '855'.
===> Creating users
Creating user 'opensearch' with uid '855'.
[main-amd64-default-job-07] Extracting opensearch210-2.10.0: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from freetype2-2.13.2:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from dejavu-2.37_3:

--
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.392.08.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
=====
Message from python39-3.9.18:

--
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 openjdk17-17.0.9+9.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
=====
Message from opensearch210-2.10.0:

--
Opensearch was installed

Please see /usr/local/etc/opensearch for a sample version of
opensearch.yml.

OpenSearch requires memory locking of large amounts of RAM.
You may need to set:

sysctl security.bsd.unprivileged_mlock=1

When running within a jail, it's highly advisable to set:

enforce_statfs = 1

for the jail running opensearch instance.

If OpenSearch was built with the PLUGINS option enabled (default) it will not
start until the security plugin is properly configured.  Please refer to the
OpenSearch documentation for setting-up TLS:

https://opensearch.org/docs/security-plugin/configuration/tls
===>   wazuh-indexer-4.7.0 depends on file: /usr/local/lib/opensearch/bin/opensearch - found
===>   Returning to build of wazuh-indexer-4.7.0
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for wazuh-indexer-4.7.0
===>   Generating temporary packing list
/bin/mkdir -p /wrkdirs/usr/ports/security/wazuh-indexer/work/stage/usr/local/etc/wazuh-4.7.0-indexer
install  -m 0644 /wrkdirs/usr/ports/security/wazuh-indexer/work/wazuh-4.7.0/wazuh-4.7.0-indexer.yml  /wrkdirs/usr/ports/security/wazuh-indexer/work/stage/usr/local/etc/wazuh-indexer/wazuh-indexer.yml
install: /wrkdirs/usr/ports/security/wazuh-indexer/work/stage/usr/local/etc/wazuh-indexer/wazuh-indexer.yml: No such file or directory
*** Error code 71

Stop.
make: stopped in /usr/ports/security/wazuh-indexer