[package - 132i386-default][security/caldera] Failed for caldera-5.0.0_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 24 Feb 2024 23:59:10 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/132i386-default/5d5d54cd608d/logs/caldera-5.0.0_2.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=132i386-default&build=5d5d54cd608d
Log:

=>> Building security/caldera
build started at Sat Feb 24 23:58:36 UTC 2024
port directory: /usr/ports/security/caldera
package name: caldera-5.0.0_2
building for: FreeBSD 132i386-default-job-12 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  5985 Feb 24 01:01 /usr/ports/security/caldera/Makefile
Ports top last git commit: 5d5d54cd608
Ports top unclean checkout: no
Port dir last git commit: 72be9abe968
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1302001
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.2-RELEASE-p10
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.2-RELEASE-p10
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/132i386-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/132i386-default/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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_2:
     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.9" 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.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 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.9  WWWDIR=/usr/local/www/caldera PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 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_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[132i386-default-job-12] Installing pkg-1.20.9_1...
[132i386-default-job-12] Extracting pkg-1.20.9_1: .......... done
===>   caldera-5.0.0_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of caldera-5.0.0_2
===========================================================================
=======================<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_2 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_2 for building
=> SHA256 Checksum OK for caldera-cache-5.0.0.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_2 for building
===>  Extracting for caldera-5.0.0_2
=> SHA256 Checksum OK for caldera-cache-5.0.0.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_2
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for caldera-5.0.0_2 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_2 depends on package: npm-node18>0 - not found
===>   Installing existing package /packages/All/npm-node18-10.4.0.pkg
[132i386-default-job-12] Installing npm-node18-10.4.0...
[132i386-default-job-12] `-- Installing gmake-4.3_3...
[132i386-default-job-12] |   `-- Installing gettext-runtime-0.22.3_1...
[132i386-default-job-12] |   | `-- Installing indexinfo-0.3.1...
[132i386-default-job-12] |   | `-- Extracting indexinfo-0.3.1: .... done
[132i386-default-job-12] |   `-- Extracting gettext-runtime-0.22.3_1: .......... done
[132i386-default-job-12] `-- Extracting gmake-4.3_3: .......... done
[132i386-default-job-12] `-- Installing node18-18.18.2_2...
[132i386-default-job-12] |   `-- Installing brotli-1.1.0,1...
[132i386-default-job-12] |   `-- Extracting brotli-1.1.0,1: .......... done
[132i386-default-job-12] |   `-- Installing c-ares-1.27.0...
[132i386-default-job-12] |   `-- Extracting c-ares-1.27.0: .......... done
[132i386-default-job-12] |   `-- Installing ca_root_nss-3.93_2...
[132i386-default-job-12] |   `-- 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...
[132i386-default-job-12] |   `-- Installing icu-74.2,1...
[132i386-default-job-12] |   `-- Extracting icu-74.2,1: .......... done
[132i386-default-job-12] |   `-- Installing libnghttp2-1.59.0...
[132i386-default-job-12] |   `-- Extracting libnghttp2-1.59.0: .......... done
[132i386-default-job-12] |   `-- Installing libuv-1.48.0...
[132i386-default-job-12] |   `-- Extracting libuv-1.48.0: .......... done
[132i386-default-job-12] `-- Extracting node18-18.18.2_2: .......... done
[132i386-default-job-12] `-- Installing python39-3.9.18_1...
[132i386-default-job-12] |   `-- Installing libffi-3.4.4_1...
[132i386-default-job-12] |   `-- Extracting libffi-3.4.4_1: .......... done
[132i386-default-job-12] |   `-- Installing mpdecimal-2.5.1...
[132i386-default-job-12] |   `-- Extracting mpdecimal-2.5.1: .......... done
[132i386-default-job-12] |   `-- Installing readline-8.2.7_1...
[132i386-default-job-12] |   `-- Extracting readline-8.2.7_1: .......... done
[132i386-default-job-12] `-- Extracting python39-3.9.18_1: .......... done
[132i386-default-job-12] Extracting npm-node18-10.4.0: .......... 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.18.2_2:

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

--
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
===>   caldera-5.0.0_2 depends on package: npm-node18>0 - found
===>   Returning to build of caldera-5.0.0_2
===>   caldera-5.0.0_2 depends on file: /usr/local/bin/go120 - not found
===>   Installing existing package /packages/All/go120-1.20.14.pkg
[132i386-default-job-12] Installing go120-1.20.14...
[132i386-default-job-12] Extracting go120-1.20.14: .......... done
===>   caldera-5.0.0_2 depends on file: /usr/local/bin/go120 - found
===>   Returning to build of caldera-5.0.0_2
===>   caldera-5.0.0_2 depends on executable: node - found
===>   caldera-5.0.0_2 depends on file: /usr/local/bin/python3.9 - 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_2
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for caldera-5.0.0_2

> 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