[package - 140i386-default][security/caldera] Failed for caldera-5.0.0_11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 07 Sep 2024 09:26:05 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/beefy21/data/140i386-default/13f486017d78/logs/caldera-5.0.0_11.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=140i386-default&build=13f486017d78
Log:

=>> Building security/caldera
build started at Sat Sep  7 09:25:36 UTC 2024
port directory: /usr/ports/security/caldera
package name: caldera-5.0.0_11
building for: FreeBSD 140i386-default-job-20 14.0-RELEASE-p10 FreeBSD 14.0-RELEASE-p10 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 6243 Aug 10 01:01 /usr/ports/security/caldera/Makefile
Ports top last git commit: 13f486017d
Ports top unclean checkout: no
Port dir last git commit: aa8c0111bf
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1400097
Job Id: 20

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1400097
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=14.0-RELEASE-p10
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.0-RELEASE-p10
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/140i386-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/140i386-default/20/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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---
===> The following configuration options are available for caldera-5.0.0_11:
     HAPROXY=on: Support for HTTPS
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/security/caldera/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/caldera/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/caldera/work/.cache  HOME=/wrkdirs/usr/ports/security/caldera/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/caldera/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/caldera/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/caldera/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/caldera/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/caldera/work/.cache  HOME=/wrkdirs/usr/ports/security/caldera/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/caldera/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/caldera/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  " 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 0
644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/caldera"  EXAMPLESDIR="share/examples/caldera"  DATADIR="share/caldera"  WWWDIR="www/caldera"  ETCDIR="etc/caldera"
--End PLIST_SUB--

--SUB_LIST--
PYTHON_CMD=/usr/local/bin/python3.11  WWWDIR=/usr/local/www/caldera PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd14  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/caldera DOCSDIR=/usr/local/share/doc/caldera EXAMPLESDIR=/usr/local/share/examples/caldera  WWWDIR=/usr/local/www/caldera ETCDIR=/usr/local/etc/caldera
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   caldera-5.0.0_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140i386-default-job-20] Installing pkg-1.21.3...
[140i386-default-job-20] Extracting pkg-1.21.3: .......... done
===>   caldera-5.0.0_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of caldera-5.0.0_11
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by caldera-5.0.0_11 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by caldera-5.0.0_11 for building
=> SHA256 Checksum OK for caldera-cache-5.0.0.tar.gz.
=> SHA256 Checksum OK for caldera-freebsd-logos.tar.gz.
=> SHA256 Checksum OK for mitre-caldera-5.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-access-775181b_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-atomic-4f489bb_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-builder-de24b68_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-compass-85e2ebf_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-debrief-eba44d5_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-emu-7215768_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-fieldmanual-cb53f2b_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-gameboard-dacb6ce_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-human-0e344ea_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-magma-99f0056_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-manx-a7e83a6_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-response-8ea6ab5_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-sandcat-b408f3f_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-ssl-1ae8431_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-stockpile-fe0c5b7_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-training-37f998f_GH0.tar.gz.
===========================================================================
=======================<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 APACHE20 accepted by the user
===> Fetching all distfiles required by caldera-5.0.0_11 for building
===>  Extracting for caldera-5.0.0_11
=> SHA256 Checksum OK for caldera-cache-5.0.0.tar.gz.
=> SHA256 Checksum OK for caldera-freebsd-logos.tar.gz.
=> SHA256 Checksum OK for mitre-caldera-5.0.0_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-access-775181b_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-atomic-4f489bb_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-builder-de24b68_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-compass-85e2ebf_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-debrief-eba44d5_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-emu-7215768_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-fieldmanual-cb53f2b_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-gameboard-dacb6ce_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-human-0e344ea_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-magma-99f0056_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-manx-a7e83a6_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-response-8ea6ab5_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-sandcat-b408f3f_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-ssl-1ae8431_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-stockpile-fe0c5b7_GH0.tar.gz.
=> SHA256 Checksum OK for mitre-training-37f998f_GH0.tar.gz.
/bin/rm -f -R /wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/.github
cd /wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0 && /bin/rm -f .coveragerc .dockerignore .eslintrc.js .flake8  .git* .pre* .stylelintrc.json Dockerfile
===========================================================================
=======================<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 caldera-5.0.0_11
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for caldera-5.0.0_11 from /usr/ports/security/caldera/files
cd /wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0 &&  /usr/bin/find . -type f -name "*.orig" -exec /bin/rm -f "{}" \;
/usr/bin/sed -i.bak -i "" -e 's|4.2.0|5.0.0|g' /wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/app/version.py
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   caldera-5.0.0_11 depends on package: npm-node18>0 - not found
===>   Installing existing package /packages/All/npm-node18-10.8.2_1.pkg
[140i386-default-job-20] Installing npm-node18-10.8.2_1...
[140i386-default-job-20] `-- Installing gmake-4.4.1...
[140i386-default-job-20] |   `-- Installing gettext-runtime-0.22.5...
[140i386-default-job-20] |   | `-- Installing indexinfo-0.3.1...
[140i386-default-job-20] |   | `-- Extracting indexinfo-0.3.1: .... done
[140i386-default-job-20] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[140i386-default-job-20] `-- Extracting gmake-4.4.1: .......... done
[140i386-default-job-20] `-- Installing node18-18.20.4...
[140i386-default-job-20] |   `-- Installing brotli-1.1.0,1...
[140i386-default-job-20] |   `-- Extracting brotli-1.1.0,1: .......... done
[140i386-default-job-20] |   `-- Installing c-ares-1.33.1...
[140i386-default-job-20] |   `-- Extracting c-ares-1.33.1: .......... done
[140i386-default-job-20] |   `-- Installing ca_root_nss-3.93_2...
[140i386-default-job-20] |   `-- Extracting ca_root_nss-3.93_2: ....... done
Scanning /usr/share/certs/untrusted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
[140i386-default-job-20] |   `-- Installing icu-74.2_1,1...
[140i386-default-job-20] |   `-- Extracting icu-74.2_1,1: .......... done
[140i386-default-job-20] |   `-- Installing libnghttp2-1.62.1...
[140i386-default-job-20] |   `-- Extracting libnghttp2-1.62.1: .......... done
[140i386-default-job-20] |   `-- Installing libuv-1.48.0...
[140i386-default-job-20] |   `-- Extracting libuv-1.48.0: .......... done
[140i386-default-job-20] `-- Extracting node18-18.20.4: .......... done
[140i386-default-job-20] `-- Installing python311-3.11.9_1...
[140i386-default-job-20] |   `-- Installing libffi-3.4.6...
[140i386-default-job-20] |   `-- Extracting libffi-3.4.6: .......... done
[140i386-default-job-20] |   `-- Installing mpdecimal-4.0.0...
[140i386-default-job-20] |   `-- Extracting mpdecimal-4.0.0: .......... done
[140i386-default-job-20] |   `-- Installing readline-8.2.13...
[140i386-default-job-20] |   `-- Extracting readline-8.2.13: .......... done
[140i386-default-job-20] `-- Extracting python311-3.11.9_1: .......... done
[140i386-default-job-20] Extracting npm-node18-10.8.2_1: .......... done
=====
Message from ca_root_nss-3.93_2:

--
FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of
the system administrator.

This package installs symlinks to support root certificate discovery
for software that either uses other cryptographic libraries than
OpenSSL, or use OpenSSL but do not follow recommended practice.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem
=====
Message from node18-18.20.4:

--
Note: If you need npm (Node Package Manager), please install www/npm.
=====
Message from python311-3.11.9_1:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
===>   caldera-5.0.0_11 depends on package: npm-node18>0 - found
===>   Returning to build of caldera-5.0.0_11
===>   caldera-5.0.0_11 depends on file: /usr/local/bin/go121 - not found
===>   Installing existing package /packages/All/go121-1.21.13_1.pkg
[140i386-default-job-20] Installing go121-1.21.13_1...
[140i386-default-job-20] Extracting go121-1.21.13_1: .......... done
===>   caldera-5.0.0_11 depends on file: /usr/local/bin/go121 - found
===>   Returning to build of caldera-5.0.0_11
===>   caldera-5.0.0_11 depends on executable: node - found
===>   caldera-5.0.0_11 depends on file: /usr/local/bin/python3.11 - found
===========================================================================
=======================<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 caldera-5.0.0_11
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for caldera-5.0.0_11

> magma@0.0.0 build
> node prebundle.js && vite build

Copying all plugin GUI source files to magma
Copying over "access" files...
Copying over "atomic" files...
Copying over "builder" files...
Copying over "compass" files...
Copying over "debrief" files...
Copying over "emu" files...
Copying over "gameboard" files...
Copying over "human" files...
Copying over "manx" files...
Copying over "response" files...
Copying over "sandcat" files...
Copying over "ssl" files...
Copying over "stockpile" files...
Copying over "training" files...
Plugin GUI source files copied!
failed to load config from /wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/vite.config.js
error during build:
Error: Unsupported platform: freebsd ia32 LE
    at pkgAndSubpathForCurrentPlatform (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/esbuild/lib/main.js:1741:11)
    at generateBinPath (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/esbuild/lib/main.js:1776:36)
    at esbuildCommandAndArgs (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/esbuild/lib/main.js:1872:31)
    at ensureServiceIsRunning (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/esbuild/lib/main.js:2034:25)
    at Object.build (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/esbuild/lib/main.js:1927:26)
    at bundleConfigFile (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/vite/dist/node/chunks/dep-689425f3.js:61954:34)
    at loadConfigFromFile (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/vite/dist/node/chunks/dep-689425f3.js:61931:35)
    at resolveConfig (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/vite/dist/node/chunks/dep-689425f3.js:61456:34)
    at doBuild (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/vite/dist/node/chunks/dep-689425f3.js:41564:26)
    at build (/wrkdirs/usr/ports/security/caldera/work/caldera-5.0.0/plugins/magma/node_modules/vite/dist/node/chunks/dep-689425f3.js:41552:22)
*** Error code 1

Stop.
make: stopped in /usr/ports/security/caldera