[exp - 124amd64-default-build-as-user][devel/golangci-lint] Failed for golangci-lint-1.51.2 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 19 Mar 2023 23:52:51 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:     lcook@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/package19/data/124amd64-default-build-as-user/a4dc61a491aa/logs/golangci-lint-1.51.2.log
Build URL:      https://pkg-status.freebsd.org/package19/build.html?mastername=124amd64-default-build-as-user&build=a4dc61a491aa
Log:

=>> Building devel/golangci-lint
build started at Sun Mar 19 23:50:52 UTC 2023
port directory: /usr/ports/devel/golangci-lint
package name: golangci-lint-1.51.2
building for: FreeBSD 124amd64-default-build-as-user-job-03 12.4-RELEASE-p2 FreeBSD 12.4-RELEASE-p2 amd64
maintained by: lcook@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1204000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1204000
UNAME_v=FreeBSD 12.4-RELEASE-p2
UNAME_r=12.4-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/poudriere/data/.m/124amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/124amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=124amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/124amd64-default-build-as-user/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for golangci-lint-1.51.2:
     COMPLETIONS=on: Build and install bash, fish and zsh shell completions
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
lcook@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/golangci-lint/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/golangci-lint/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/golangci-lint/work/.cache  HOME=/wrkdirs/usr/ports/devel/golangci-lint/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/golangci-lint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/golangci-lint/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/devel/golangci-lint/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/golangci-lint/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/golangci-lint/work/.cache  HOME=/wrkdirs/usr/ports/devel/golangci-lint/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/golangci-lint/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/golangci-lint/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  "  MANPREFIX="/usr/local" 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_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/golangci-lint"  EXAMPLESDIR="share/examples/golangci-lint"  DATADIR="share/golangci-lint"  WWWDIR="www/golangci-lint"  ETCDIR="etc/golangci-lint"
--End PLIST_SUB--

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

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: x86_64-unknown-freebsd12.4 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.4-RELEASE-p2
OSREL=12.4
OSVERSION=1204000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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)  1024
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   >============================
===>  License GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   golangci-lint-1.51.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[124amd64-default-build-as-user-job-03] Installing pkg-1.19.1_1...
[124amd64-default-build-as-user-job-03] Extracting pkg-1.19.1_1: .......... done
===>   golangci-lint-1.51.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of golangci-lint-1.51.2
===========================================================================
=======================<phase: fetch-depends  >============================
===>   golangci-lint-1.51.2 depends on file: /usr/local/bin/go119 - not found
===>   Installing existing package /packages/All/go119-1.19.7.pkg
[124amd64-default-build-as-user-job-03] Installing go119-1.19.7...
[124amd64-default-build-as-user-job-03] Extracting go119-1.19.7: .......... done
===>   golangci-lint-1.51.2 depends on file: /usr/local/bin/go119 - found
===>   Returning to build of golangci-lint-1.51.2
===>   golangci-lint-1.51.2 depends on package: ca_root_nss>0 - not found
===>   Installing existing package /packages/All/ca_root_nss-3.88.1.pkg
[124amd64-default-build-as-user-job-03] Installing ca_root_nss-3.88.1...
[124amd64-default-build-as-user-job-03] Extracting ca_root_nss-3.88.1: .......... done
=====
Message from ca_root_nss-3.88.1:

--
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 certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

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
===>   golangci-lint-1.51.2 depends on package: ca_root_nss>0 - found
===>   Returning to build of golangci-lint-1.51.2
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3 accepted by the user
=> v1.51.2.mod doesn't seem to exist in /portdistfiles/go/devel_golangci-lint/golangci-lint-v1.51.2.
<snip>
github.com/securego/gosec/v2/cwe
os/user
github.com/sashamelentyev/usestdlibvars/pkg/analyzer/internal/mapping
github.com/sashamelentyev/usestdlibvars/pkg/analyzer
github.com/nbutton23/zxcvbn-go/data
github.com/nbutton23/zxcvbn-go/adjacency
github.com/nbutton23/zxcvbn-go/entropy
github.com/nbutton23/zxcvbn-go/frequency
github.com/nbutton23/zxcvbn-go/matching
github.com/securego/gosec/v2
github.com/nbutton23/zxcvbn-go/scoring
github.com/nbutton23/zxcvbn-go
github.com/shazow/go-diff/difflib
github.com/sivchari/containedctx
github.com/sivchari/nosnakecase
github.com/sivchari/tenv
github.com/securego/gosec/v2/rules
github.com/sonatard/noctx/ngfunc
github.com/sonatard/noctx/reqwithoutctx
github.com/sonatard/noctx
github.com/sourcegraph/go-diff/diff
github.com/ssgreg/nlreturn/v2/pkg/nlreturn
github.com/stbenjam/no-sprintf-host-port/pkg/analyzer
github.com/tdakkota/asciicheck
github.com/tetafro/godot
github.com/timakin/bodyclose/passes/bodyclose
github.com/timonwong/loggercheck/internal/bytebufferpool
github.com/timonwong/loggercheck/internal/checkers/printf
github.com/timonwong/loggercheck/internal/rules
github.com/timonwong/loggercheck/internal/checkers
github.com/timonwong/loggercheck/internal/sets
github.com/tomarrell/wrapcheck/v2/wrapcheck
github.com/timonwong/loggercheck
github.com/tommy-muehle/go-mnd/v2/config
github.com/ultraware/funlen
github.com/tommy-muehle/go-mnd/v2/checks
github.com/ultraware/whitespace
github.com/uudashr/gocognit
github.com/tommy-muehle/go-mnd/v2
github.com/yagipy/maintidx/pkg/cyc
github.com/yagipy/maintidx/pkg/halstvol
expvar
github.com/yagipy/maintidx
github.com/beorn7/perks/quantile
github.com/cespare/xxhash/v2
hash/fnv
google.golang.org/protobuf/internal/pragma
google.golang.org/protobuf/internal/detrand
google.golang.org/protobuf/internal/version
google.golang.org/protobuf/internal/errors
github.com/prometheus/common/model
google.golang.org/protobuf/encoding/protowire
google.golang.org/protobuf/reflect/protoreflect
runtime/metrics
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
google.golang.org/protobuf/internal/encoding/messageset
google.golang.org/protobuf/internal/strs
google.golang.org/protobuf/internal/genid
google.golang.org/protobuf/internal/encoding/text
google.golang.org/protobuf/internal/order
google.golang.org/protobuf/reflect/protoregistry
google.golang.org/protobuf/runtime/protoiface
google.golang.org/protobuf/internal/encoding/defval
google.golang.org/protobuf/proto
google.golang.org/protobuf/internal/descfmt
google.golang.org/protobuf/internal/descopts
github.com/prometheus/procfs
google.golang.org/protobuf/encoding/prototext
google.golang.org/protobuf/internal/filedesc
gitlab.com/bosi/decorder
golang.org/x/tools/go/analysis/passes/internal/analysisutil
golang.org/x/tools/go/analysis/passes/asmdecl
golang.org/x/tools/go/analysis/passes/assign
google.golang.org/protobuf/internal/encoding/tag
golang.org/x/tools/go/analysis/passes/atomic
google.golang.org/protobuf/internal/impl
golang.org/x/tools/go/analysis/passes/atomicalign
golang.org/x/tools/go/analysis/passes/bools
golang.org/x/tools/go/analysis/passes/buildtag
golang.org/x/tools/go/analysis/passes/cgocall
golang.org/x/tools/go/analysis/passes/composite
golang.org/x/tools/go/analysis/passes/copylock
golang.org/x/tools/go/cfg
golang.org/x/tools/go/analysis/passes/ctrlflow
golang.org/x/tools/go/analysis/passes/deepequalerrors
golang.org/x/tools/go/analysis/passes/errorsas
golang.org/x/tools/go/analysis/passes/fieldalignment
golang.org/x/tools/go/analysis/passes/findcall
golang.org/x/tools/go/analysis/passes/framepointer
golang.org/x/tools/go/analysis/passes/httpresponse
golang.org/x/tools/go/analysis/passes/ifaceassert
golang.org/x/tools/go/analysis/passes/loopclosure
golang.org/x/tools/go/analysis/passes/lostcancel
golang.org/x/tools/go/analysis/passes/nilfunc
golang.org/x/tools/go/analysis/passes/nilness
golang.org/x/tools/go/analysis/passes/pkgfact
google.golang.org/protobuf/internal/filetype
golang.org/x/tools/go/analysis/passes/printf
google.golang.org/protobuf/runtime/protoimpl
google.golang.org/protobuf/types/descriptorpb
google.golang.org/protobuf/types/known/timestamppb
github.com/golang/protobuf/ptypes/timestamp
google.golang.org/protobuf/types/known/anypb
github.com/golang/protobuf/ptypes/any
google.golang.org/protobuf/reflect/protodesc
google.golang.org/protobuf/types/known/durationpb
github.com/golang/protobuf/ptypes/duration
golang.org/x/tools/go/analysis/passes/reflectvaluecompare
golang.org/x/tools/go/analysis/passes/shadow
golang.org/x/tools/go/analysis/passes/shift
golang.org/x/tools/go/analysis/passes/sigchanyzer
github.com/golang/protobuf/proto
golang.org/x/tools/go/analysis/passes/sortslice
golang.org/x/tools/go/analysis/passes/stdmethods
golang.org/x/tools/go/analysis/passes/stringintconv
golang.org/x/tools/go/analysis/passes/structtag
golang.org/x/tools/go/analysis/passes/testinggoroutine
github.com/prometheus/client_model/go
github.com/golang/protobuf/ptypes
github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/prometheus/client_golang/prometheus/internal
github.com/prometheus/common/expfmt
golang.org/x/tools/internal/analysisinternal
golang.org/x/tools/go/analysis/passes/tests
golang.org/x/tools/go/analysis/passes/timeformat
github.com/prometheus/client_golang/prometheus
github.com/prometheus/client_golang/prometheus/testutil/promlint
golang.org/x/tools/go/analysis/passes/unmarshal
golang.org/x/tools/go/analysis/passes/unreachable
golang.org/x/tools/go/analysis/passes/unsafeptr
golang.org/x/tools/go/analysis/passes/unusedresult
golang.org/x/tools/go/analysis/passes/unusedwrite
honnef.co/go/tools/analysis/lint
github.com/yeya24/promlinter
honnef.co/go/tools/config
honnef.co/go/tools/analysis/facts/generated
honnef.co/go/tools/go/ast/astutil
honnef.co/go/tools/go/types/typeutil
honnef.co/go/tools/analysis/facts/tokenfile
honnef.co/go/tools/go/ir
honnef.co/go/tools/pattern
honnef.co/go/tools/analysis/edit
honnef.co/go/tools/analysis/report
honnef.co/go/tools/knowledge
honnef.co/go/tools/analysis/facts/deprecated
honnef.co/go/tools/printf
honnef.co/go/tools/staticcheck/fakereflect
honnef.co/go/tools/staticcheck/fakejson
honnef.co/go/tools/staticcheck/fakexml
honnef.co/go/tools/analysis/facts/directives
honnef.co/go/tools/unused
github.com/google/go-cmp/cmp/internal/diff
github.com/google/go-cmp/cmp/internal/function
github.com/google/go-cmp/cmp/internal/value
github.com/google/go-cmp/cmp
honnef.co/go/tools/go/ir/irutil
honnef.co/go/tools/internal/passes/buildir
honnef.co/go/tools/analysis/facts/purity
honnef.co/go/tools/analysis/facts/nilness
honnef.co/go/tools/analysis/code
honnef.co/go/tools/analysis/facts/typedness
honnef.co/go/tools/internal/sharedcheck
mvdan.cc/gofumpt/internal/version
mvdan.cc/gofumpt/format
honnef.co/go/tools/simple
honnef.co/go/tools/staticcheck
honnef.co/go/tools/stylecheck
golang.org/x/tools/go/ssa/ssautil
mvdan.cc/lint
mvdan.cc/interfacer/check
mvdan.cc/unparam/check
github.com/golangci/golangci-lint/pkg/report
plugin
github.com/golangci/golangci-lint/pkg/golinters
github.com/golangci/revgrep
github.com/go-xmlfmt/xmlfmt
github.com/golangci/golangci-lint/pkg/printers
github.com/spf13/cobra
github.com/golangci/golangci-lint/pkg/lint/lintersdb
runtime/trace
github.com/golangci/golangci-lint/pkg/result/processors
github.com/golangci/golangci-lint/pkg/lint
github.com/golangci/golangci-lint/pkg/commands
github.com/golangci/golangci-lint/cmd/golangci-lint
===========================================================================
=======================<phase: run-depends    >============================
===========================================================================
=======================<phase: stage          >============================
===>  Staging for golangci-lint-1.51.2
===>   Generating temporary packing list
for t in ./cmd/golangci-lint; do  dst=$(echo ${t} |  /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/golangci-lint/');  src=$(/usr/bin/basename ${dst});  case ${dst} in  /*) dst=/wrkdirs/usr/ports/devel/golangci-lint/work/stage${dst}; /bin/mkdir -p $(/usr/bin/dirname ${dst}) ;;  *) dst=/wrkdirs/usr/ports/devel/golangci-lint/work/stage/usr/local/bin/${src} ;;  esac;  echo "===>  Installing ${src} as ${dst}";  install  -s -m 555 /wrkdirs/usr/ports/devel/golangci-lint/work/bin/${src} ${dst};  done
===>  Installing golangci-lint as /wrkdirs/usr/ports/devel/golangci-lint/work/stage/usr/local/bin/golangci-lint
/wrkdirs/usr/ports/devel/golangci-lint/work/bin/golangci-lint completion bash  >/wrkdirs/usr/ports/devel/golangci-lint/work/stage/usr/local/share/bash-completion/completions/golangci-lint
2023/03/19 23:52:20 failed to initialize build cache at /nonexistent/.cache/golangci-lint: mkdir /nonexistent: permission denied
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/golangci-lint