[package - main-armv7-default][security/trivy] Failed for trivy-0.56.2 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 03 Nov 2024 15:42: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: mfechner@FreeBSD.org Log URL: https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p711a2f7f1ca4_s0d965bc034/logs/trivy-0.56.2.log Build URL: https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p711a2f7f1ca4_s0d965bc034 Log: =>> Building security/trivy build started at Sun Nov 3 15:30:52 UTC 2024 port directory: /usr/ports/security/trivy package name: trivy-0.56.2 building for: FreeBSD main-armv7-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 arm maintained by: mfechner@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 870 Oct 15 01:04 /usr/ports/security/trivy/Makefile Ports top last git commit: 711a2f7f1ca Ports top unclean checkout: no Port dir last git commit: a4c3ad86c4d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500023 Jail OSVERSION: 1500026 Job Id: 06 !!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500026 UNAME_v=FreeBSD 15.0-CURRENT 1500026 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.2 MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-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-armv7-default/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=main-armv7-default SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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--- ---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=15.0 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-- ulimit: can't get limit: Invalid argument 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.56.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.21.3.pkg [main-armv7-default-job-06] Installing pkg-1.21.3... [main-armv7-default-job-06] Extracting pkg-1.21.3: .......... done ===> trivy-0.56.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of trivy-0.56.2 =========================================================================== =======================<phase: fetch-depends >============================ ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> trivy-0.56.2 depends on file: /usr/local/bin/go122 - not found ===> Installing existing package /packages/All/go122-1.22.6_1.pkg [main-armv7-default-job-06] Installing go122-1.22.6_1... [main-armv7-default-job-06] Extracting go122-1.22.6_1: .......... done ===> trivy-0.56.2 depends on file: /usr/local/bin/go122 - found ===> Returning to build of trivy-0.56.2 ===> trivy-0.56.2 depends on package: ca_root_nss>0 - not found ===> Installing existing package /packages/All/ca_root_nss-3.104.pkg [main-armv7-default-job-06] Installing ca_root_nss-3.104... [main-armv7-default-job-06] Extracting ca_root_nss-3.104: ....... done ===== 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.56.2 depends on package: ca_root_nss>0 - found ===> Returning to build of trivy-0.56.2 =========================================================================== =======================<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.56.2 for building ===> Fetching github.com/aquasecurity/trivy dependencies # get https://proxy.golang.org/github.com/%21microsoft/hcsshim/@v/v0.12.0.mod <snip> github.com/aquasecurity/trivy/pkg/fanal/handler/all 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/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 k8s.io/client-go/listers/coordination/v1 k8s.io/client-go/informers/coordination/v1 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/informers/coordination k8s.io/client-go/listers/core/v1 k8s.io/client-go/informers/core/v1 k8s.io/client-go/informers/core k8s.io/client-go/listers/discovery/v1 k8s.io/client-go/informers/discovery/v1 k8s.io/client-go/listers/discovery/v1beta1 k8s.io/client-go/informers/discovery/v1beta1 k8s.io/client-go/informers/discovery k8s.io/client-go/listers/events/v1 k8s.io/client-go/informers/events/v1 k8s.io/client-go/listers/events/v1beta1 k8s.io/client-go/informers/events/v1beta1 k8s.io/client-go/informers/events k8s.io/client-go/listers/extensions/v1beta1 github.com/sassoftware/go-rpmutils k8s.io/client-go/informers/extensions/v1beta1 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/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/storage/v1 k8s.io/client-go/informers/scheduling github.com/aquasecurity/trivy/pkg/fanal/artifact/vm github.com/aquasecurity/trivy/pkg/scanner k8s.io/client-go/listers/storage/v1alpha1 github.com/aquasecurity/trivy/pkg/commands/artifact github.com/aquasecurity/trivy/pkg/rpc/server k8s.io/client-go/informers/storage/v1alpha1 github.com/aquasecurity/trivy/pkg/commands/server k8s.io/client-go/listers/storage/v1beta1 k8s.io/client-go/listers/storagemigration/v1alpha1 k8s.io/client-go/informers/storagemigration/v1alpha1 k8s.io/client-go/informers/storage/v1beta1 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 k8s.io/client-go/informers/storagemigration github.com/aquasecurity/trivy/pkg/k8s/scanner k8s.io/client-go/informers/storage github.com/ncruces/go-strftime 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 k8s.io/client-go/informers 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 modernc.org/sqlite/lib github.com/aquasecurity/trivy-kubernetes/pkg/trivyk8s 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 making "build" in /usr/ports/security/trivy