[package - 133i386-default][security/caldera] Failed for caldera-5.0.0_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 26 Jul 2024 04:50:09 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/beefy15/data/133i386-default/6e2f94a5f2a9/logs/caldera-5.0.0_10.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=133i386-default&build=6e2f94a5f2a9
Log:

=>> Building security/caldera
build started at Fri Jul 26 04:48:54 UTC 2024
port directory: /usr/ports/security/caldera
package name: caldera-5.0.0_10
building for: FreeBSD 133i386-default-job-13 13.3-RELEASE-p4 FreeBSD 13.3-RELEASE-p4 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  6243 Jul  9 01:01 /usr/ports/security/caldera/Makefile
Ports top last git commit: 6e2f94a5f2a
Ports top unclean checkout: no
Port dir last git commit: 1a80ec7c228
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500019
Jail OSVERSION: 1303001
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1303001
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=13.3-RELEASE-p4
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.3-RELEASE-p4
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/133i386-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/133i386-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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_10:
     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=freebsd13  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=13.3 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=freebsd13  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
---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_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-default-job-13] Installing pkg-1.21.3...
[133i386-default-job-13] Extracting pkg-1.21.3: .......... done
===>   caldera-5.0.0_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of caldera-5.0.0_10
===========================================================================
=======================<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_10 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_10 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_10 for building
===>  Extracting for caldera-5.0.0_10
=> 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_10
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for caldera-5.0.0_10 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_10 depends on package: npm-node18>0 - not found
===>   Installing existing package /packages/All/npm-node18-10.8.2.pkg
[133i386-default-job-13] Installing npm-node18-10.8.2...
[133i386-default-job-13] `-- Installing gmake-4.4.1...
[133i386-default-job-13] |   `-- Installing gettext-runtime-0.22.5...
[133i386-default-job-13] |   | `-- Installing indexinfo-0.3.1...
[133i386-default-job-13] |   | `-- Extracting indexinfo-0.3.1: .... done
[133i386-default-job-13] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[133i386-default-job-13] `-- Extracting gmake-4.4.1: .......... done
[133i386-default-job-13] `-- Installing node18-18.20.4...
[133i386-default-job-13] |   `-- Installing brotli-1.1.0,1...
[133i386-default-job-13] |   `-- Extracting brotli-1.1.0,1: .......... done
[133i386-default-job-13] |   `-- Installing c-ares-1.30.0...
[133i386-default-job-13] |   `-- Extracting c-ares-1.30.0: .......... done
[133i386-default-job-13] |   `-- Installing ca_root_nss-3.93_2...
[133i386-default-job-13] |   `-- Extracting ca_root_nss-3.93_2: ....... done
Scanning /usr/share/certs/blacklisted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
[133i386-default-job-13] |   `-- Installing icu-74.2_1,1...
[133i386-default-job-13] |   `-- Extracting icu-74.2_1,1: .......... done
[133i386-default-job-13] |   `-- Installing libnghttp2-1.62.1...
[133i386-default-job-13] |   `-- Extracting libnghttp2-1.62.1: .......... done
[133i386-default-job-13] |   `-- Installing libuv-1.48.0...
[133i386-default-job-13] |   `-- Extracting libuv-1.48.0: .......... done
[133i386-default-job-13] `-- Extracting node18-18.20.4: .......... done
[133i386-default-job-13] `-- Installing python311-3.11.9_1...
[133i386-default-job-13] |   `-- Installing libffi-3.4.6...
[133i386-default-job-13] |   `-- Extracting libffi-3.4.6: .......... done
[133i386-default-job-13] |   `-- Installing mpdecimal-4.0.0...
[133i386-default-job-13] |   `-- Extracting mpdecimal-4.0.0: .......... done
[133i386-default-job-13] |   `-- Installing readline-8.2.10...
[133i386-default-job-13] |   `-- Extracting readline-8.2.10: .......... done
[133i386-default-job-13] `-- Extracting python311-3.11.9_1: .......... done
[133i386-default-job-13] Extracting npm-node18-10.8.2: .......... 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_10 depends on package: npm-node18>0 - found
===>   Returning to build of caldera-5.0.0_10
===>   caldera-5.0.0_10 depends on file: /usr/local/bin/go121 - not found
===>   Installing existing package /packages/All/go121-1.21.12.pkg
[133i386-default-job-13] Installing go121-1.21.12...
[133i386-default-job-13] Extracting go121-1.21.12: .......... done
===>   caldera-5.0.0_10 depends on file: /usr/local/bin/go121 - found
===>   Returning to build of caldera-5.0.0_10
===>   caldera-5.0.0_10 depends on executable: node - found
===>   caldera-5.0.0_10 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_10
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for caldera-5.0.0_10

> 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