[package - 133releng-armv7-quarterly][security/trivy] Failed for trivy-0.57.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 20 Nov 2024 23:46:15 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:     mfechner@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere1/data/133releng-armv7-quarterly/019c097f521d/logs/trivy-0.57.0.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=133releng-armv7-quarterly&build=019c097f521d
Log:

=>> Building security/trivy
build started at Wed Nov 20 23:36:36 UTC 2024
port directory: /usr/ports/security/trivy
package name: trivy-0.57.0
building for: FreeBSD 133releng-armv7-quarterly-job-12 13.3-RELEASE-p8 FreeBSD 13.3-RELEASE-p8 1303001 arm
maintained by: mfechner@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  870 Nov 16 01:02 /usr/ports/security/trivy/Makefile
Ports top last git commit: 019c097f5
Ports top unclean checkout: no
Port dir last git commit: 64c20d6da
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p8 1303001
UNAME_r=13.3-RELEASE-p8
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.2
MASTERMNT=/usr/local/poudriere/data/.m/133releng-armv7-quarterly/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/133releng-armv7-quarterly/12/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133releng-armv7-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133releng-armv7-quarterly/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---
---End OPTIONS List---

--MAINTAINER--
mfechner@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/security/trivy/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/trivy/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/trivy/work/.cache  HOME=/wrkdirs/usr/ports/security/trivy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/trivy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/trivy/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/trivy/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/trivy/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/trivy/work/.cache  HOME=/wrkdirs/usr/ports/security/trivy/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/trivy/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/security/trivy/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 0644"  BSD_IN
STALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/trivy DOCSDIR=/usr/local/share/doc/trivy EXAMPLESDIR=/usr/local/share/examples/trivy  WWWDIR=/usr/local/www/trivy ETCDIR=/usr/local/etc/trivy
--End SUB_LIST--

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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)  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
===>   trivy-0.57.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133releng-armv7-quarterly-job-12] Installing pkg-1.21.3...
[133releng-armv7-quarterly-job-12] Extracting pkg-1.21.3: .......... done
===>   trivy-0.57.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of trivy-0.57.0
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   trivy-0.57.0 depends on file: /usr/local/bin/go122 - not found
===>   Installing existing package /packages/All/go122-1.22.6_1.pkg
[133releng-armv7-quarterly-job-12] Installing go122-1.22.6_1...
[133releng-armv7-quarterly-job-12] Extracting go122-1.22.6_1: .......... done
===>   trivy-0.57.0 depends on file: /usr/local/bin/go122 - found
===>   Returning to build of trivy-0.57.0
===>   trivy-0.57.0 depends on package: ca_root_nss>0 - not found
===>   Installing existing package /packages/All/ca_root_nss-3.104.pkg
[133releng-armv7-quarterly-job-12] Installing ca_root_nss-3.104...
[133releng-armv7-quarterly-job-12] Extracting ca_root_nss-3.104: ....... done
Scanning /usr/share/certs/blacklisted for certificates...
Scanning /usr/share/certs/trusted for certificates...
Scanning /usr/local/share/certs for certificates...
=====
Message from ca_root_nss-3.104:

--
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
===>   trivy-0.57.0 depends on package: ca_root_nss>0 - found
===>   Returning to build of trivy-0.57.0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by trivy-0.57.0 for building
===> Fetching github.com/aquasecurity/trivy dependencies
# get https://proxy.golang.org/github.com/%21google%21cloud%21platform/docker-credential-gcr/@v/v2.0.5+incompatible.mod
# get https://proxy.golang.org/github.com/%21microsoft/hcsshim/@v/v0.12.0.mod
# get https://proxy.golang.org/github.com/%21intevation/gval/@v/v1.3.0.mod
# get https://proxy.golang.org/github.com/%21intevation/jsonpath/@v/v0.2.1.mod
# get https://proxy.golang.org/github.com/%21azure/go-autorest/autorest/date/@v/v0.3.0.mod
# get https://proxy.golang.org/github.com/%21make%21now%21just/heredoc/@v/v1.0.0.mod
# get https://proxy.golang.org/github.com/%21azure/go-autorest/tracing/@v/v0.6.0.mod
# get https://proxy.golang.org/github.com/%21masterminds/goutils/@v/v1.1.1.mod
# get https://proxy.golang.org/github.com/%21azure%21a%21d/microsoft-authentication-library-for-go/@v/v1.2.2.mod
<snip>
github.com/bitnami/go-version/pkg/version
github.com/aquasecurity/trivy/pkg/detector/library/compare/bitnami
github.com/aquasecurity/trivy/pkg/detector/library/compare/maven
github.com/aquasecurity/trivy/pkg/detector/library/compare/pep440
github.com/aquasecurity/go-gem-version
github.com/aquasecurity/trivy/pkg/detector/library/compare/rubygems
github.com/aquasecurity/trivy/pkg/detector/library
github.com/aquasecurity/trivy/pkg/scanner/langpkg
github.com/aquasecurity/trivy/pkg/scanner/ospkg
github.com/aquasecurity/trivy/pkg/vulnerability
github.com/aquasecurity/trivy/pkg/commands/auth
github.com/aquasecurity/trivy/pkg/commands/clean
github.com/aquasecurity/trivy/pkg/commands/convert
github.com/NYTimes/gziphandler
github.com/aquasecurity/trivy/pkg/version
github.com/aquasecurity/trivy-kubernetes/utils
github.com/aquasecurity/trivy-kubernetes/pkg/k8s/docker
github.com/aquasecurity/trivy-kubernetes/pkg/k8s
github.com/aquasecurity/trivy-kubernetes/pkg/artifacts
github.com/dsnet/compress/internal/errors
github.com/dsnet/compress
github.com/dsnet/compress/internal/prefix
github.com/dsnet/compress/bzip2
k8s.io/apimachinery/pkg/util/rand
k8s.io/client-go/informers/internalinterfaces
k8s.io/client-go/listers
k8s.io/client-go/listers/admissionregistration/v1
k8s.io/client-go/informers/admissionregistration/v1
k8s.io/client-go/listers/admissionregistration/v1alpha1
k8s.io/client-go/informers/admissionregistration/v1alpha1
k8s.io/client-go/listers/admissionregistration/v1beta1
k8s.io/client-go/informers/admissionregistration/v1beta1
k8s.io/client-go/informers/admissionregistration
k8s.io/client-go/listers/apiserverinternal/v1alpha1
k8s.io/client-go/informers/apiserverinternal/v1alpha1
k8s.io/client-go/informers/apiserverinternal
k8s.io/client-go/listers/apps/v1
k8s.io/client-go/informers/apps/v1
k8s.io/client-go/listers/apps/v1beta1
k8s.io/client-go/informers/apps/v1beta1
k8s.io/client-go/listers/apps/v1beta2
k8s.io/client-go/informers/apps/v1beta2
k8s.io/client-go/informers/apps
k8s.io/client-go/listers/autoscaling/v1
k8s.io/client-go/informers/autoscaling/v1
k8s.io/client-go/listers/autoscaling/v2
k8s.io/client-go/informers/autoscaling/v2
k8s.io/client-go/listers/autoscaling/v2beta1
k8s.io/client-go/informers/autoscaling/v2beta1
k8s.io/client-go/listers/autoscaling/v2beta2
k8s.io/client-go/informers/autoscaling/v2beta2
k8s.io/client-go/informers/autoscaling
k8s.io/client-go/listers/batch/v1
k8s.io/client-go/informers/batch/v1
k8s.io/client-go/listers/batch/v1beta1
k8s.io/client-go/informers/batch/v1beta1
k8s.io/client-go/informers/batch
k8s.io/client-go/listers/certificates/v1
k8s.io/client-go/informers/certificates/v1
k8s.io/client-go/listers/certificates/v1alpha1
k8s.io/client-go/informers/certificates/v1alpha1
k8s.io/client-go/listers/certificates/v1beta1
k8s.io/client-go/informers/certificates/v1beta1
k8s.io/client-go/informers/certificates
github.com/sassoftware/go-rpmutils
k8s.io/client-go/listers/coordination/v1
k8s.io/client-go/informers/coordination/v1
github.com/aquasecurity/trivy/pkg/fanal/analyzer/pkg/rpm
github.com/aquasecurity/trivy/pkg/fanal/analyzer/all
github.com/aquasecurity/trivy/pkg/scanner/local
k8s.io/client-go/listers/coordination/v1alpha1
k8s.io/client-go/informers/coordination/v1alpha1
k8s.io/client-go/listers/coordination/v1beta1
k8s.io/client-go/informers/coordination/v1beta1
k8s.io/client-go/listers/core/v1
k8s.io/client-go/informers/core/v1
k8s.io/client-go/informers/coordination
k8s.io/client-go/listers/discovery/v1
k8s.io/client-go/informers/discovery/v1
k8s.io/client-go/informers/core
k8s.io/client-go/listers/discovery/v1beta1
k8s.io/client-go/informers/discovery/v1beta1
k8s.io/client-go/listers/events/v1
k8s.io/client-go/informers/events/v1
k8s.io/client-go/informers/discovery
k8s.io/client-go/listers/events/v1beta1
k8s.io/client-go/informers/events/v1beta1
k8s.io/client-go/listers/extensions/v1beta1
k8s.io/client-go/informers/events
k8s.io/client-go/informers/extensions/v1beta1
k8s.io/client-go/listers/flowcontrol/v1
k8s.io/client-go/informers/flowcontrol/v1
k8s.io/client-go/informers/extensions
k8s.io/client-go/listers/flowcontrol/v1beta1
k8s.io/client-go/informers/flowcontrol/v1beta1
k8s.io/client-go/listers/flowcontrol/v1beta2
k8s.io/client-go/informers/flowcontrol/v1beta2
k8s.io/client-go/listers/flowcontrol/v1beta3
k8s.io/client-go/informers/flowcontrol/v1beta3
k8s.io/client-go/listers/networking/v1
k8s.io/client-go/informers/networking/v1
k8s.io/client-go/informers/flowcontrol
k8s.io/client-go/listers/networking/v1alpha1
k8s.io/client-go/informers/networking/v1alpha1
k8s.io/client-go/listers/networking/v1beta1
k8s.io/client-go/informers/networking/v1beta1
k8s.io/client-go/listers/node/v1
k8s.io/client-go/informers/node/v1
k8s.io/client-go/informers/networking
k8s.io/client-go/listers/node/v1alpha1
k8s.io/client-go/informers/node/v1alpha1
k8s.io/client-go/listers/node/v1beta1
k8s.io/client-go/informers/node/v1beta1
k8s.io/client-go/listers/policy/v1
k8s.io/client-go/informers/policy/v1
k8s.io/client-go/informers/node
k8s.io/client-go/listers/policy/v1beta1
k8s.io/client-go/informers/policy/v1beta1
k8s.io/client-go/listers/rbac/v1
k8s.io/client-go/informers/rbac/v1
k8s.io/client-go/informers/policy
k8s.io/client-go/listers/rbac/v1alpha1
k8s.io/client-go/informers/rbac/v1alpha1
k8s.io/client-go/listers/rbac/v1beta1
k8s.io/client-go/informers/rbac/v1beta1
k8s.io/client-go/listers/resource/v1alpha3
k8s.io/client-go/informers/resource/v1alpha3
k8s.io/client-go/informers/rbac
k8s.io/client-go/informers/resource
k8s.io/client-go/listers/scheduling/v1
k8s.io/client-go/informers/scheduling/v1
k8s.io/client-go/listers/scheduling/v1alpha1
k8s.io/client-go/informers/scheduling/v1alpha1
k8s.io/client-go/listers/scheduling/v1beta1
k8s.io/client-go/informers/scheduling/v1beta1
k8s.io/client-go/listers/storage/v1
k8s.io/client-go/informers/scheduling
k8s.io/client-go/informers/storage/v1
k8s.io/client-go/listers/storage/v1alpha1
k8s.io/client-go/informers/storage/v1alpha1
k8s.io/client-go/listers/storage/v1beta1
k8s.io/client-go/informers/storage/v1beta1
github.com/aquasecurity/trivy/pkg/fanal/artifact/vm
k8s.io/client-go/listers/storagemigration/v1alpha1
k8s.io/client-go/informers/storagemigration/v1alpha1
github.com/aquasecurity/trivy/pkg/scanner
github.com/aquasecurity/trivy/pkg/commands/artifact
github.com/aquasecurity/trivy/pkg/rpc/server
github.com/aquasecurity/trivy/pkg/commands/server
k8s.io/client-go/informers/storage
k8s.io/client-go/informers/storagemigration
k8s.io/client-go/plugin/pkg/client/auth/azure
k8s.io/client-go/plugin/pkg/client/auth/gcp
k8s.io/client-go/plugin/pkg/client/auth/oidc
k8s.io/client-go/plugin/pkg/client/auth
github.com/aquasecurity/trivy/pkg/k8s/report
github.com/aquasecurity/trivy/pkg/k8s
github.com/aquasecurity/trivy/pkg/k8s/scanner
github.com/ncruces/go-strftime
k8s.io/client-go/informers
modernc.org/libc/errno
modernc.org/libc/fcntl
modernc.org/libc/fts
modernc.org/libc/grp
modernc.org/libc/honnef.co/go/netdb
modernc.org/libc/langinfo
modernc.org/libc/limits
modernc.org/libc/netdb
modernc.org/libc/netinet/in
modernc.org/libc/poll
modernc.org/libc/pthread
modernc.org/libc/pwd
modernc.org/libc/signal
modernc.org/libc/stdio
modernc.org/libc/stdlib
modernc.org/libc/sys/socket
modernc.org/libc/sys/stat
modernc.org/libc/sys/types
modernc.org/libc/termios
modernc.org/libc/time
modernc.org/libc/unistd
modernc.org/libc/utime
modernc.org/libc/uuid
github.com/remyoudompheng/bigfft
modernc.org/memory
modernc.org/mathutil
modernc.org/libc
github.com/aquasecurity/trivy-kubernetes/pkg/jobs
github.com/aquasecurity/trivy-kubernetes/pkg/trivyk8s
modernc.org/sqlite/lib
github.com/aquasecurity/trivy/pkg/k8s/commands
github.com/aquasecurity/trivy/pkg/commands
modernc.org/sqlite
github.com/aquasecurity/trivy/cmd/trivy
# github.com/aquasecurity/trivy/cmd/trivy
/usr/local/go122/pkg/tool/freebsd_arm/link: mapping output file failed: cannot allocate memory
*** Error code 1

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