[package - 122amd64-default][security/crowdsec] Failed for crowdsec-1.2.1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 18 Dec 2021 15:14:38 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:     marco@crowdsec.net
Log URL:        http://beefy6.nyi.freebsd.org/data/122amd64-default/277903d23660/logs/crowdsec-1.2.1.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=122amd64-default&build=277903d23660
Log:

=>> Building security/crowdsec
build started at Sat Dec 18 15:13:44 UTC 2021
port directory: /usr/ports/security/crowdsec
package name: crowdsec-1.2.1
building for: FreeBSD 122amd64-default-job-03 12.2-RELEASE-p11 FreeBSD 12.2-RELEASE-p11 amd64
maintained by: marco@crowdsec.net
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1202000
Job Id: 03

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1202000
UNAME_v=FreeBSD 12.2-RELEASE-p11
UNAME_r=12.2-RELEASE-p11
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/122amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/122amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=122amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/122amd64-default/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---
---End OPTIONS List---

--MAINTAINER--
marco@crowdsec.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/security/crowdsec/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/crowdsec/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/crowdsec/work/.cache  HOME=/wrkdirs/usr/ports/security/crowdsec/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/crowdsec/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
BUILD_VERSION="v1.2.1"  BUILD_TAG="dd03d073558e380c283afe66942f537c3da647ff" XDG_DATA_HOME=/wrkdirs/usr/ports/security/crowdsec/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/crowdsec/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/security/crowdsec/work/.cache  HOME=/wrkdirs/usr/ports/security/crowdsec/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/crowdsec/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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--
OSREL=12.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/crowdsec"  EXAMPLESDIR="share/examples/crowdsec"  DATADIR="share/crowdsec"  WWWDIR="www/crowdsec"  ETCDIR="etc/crowdsec"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/crowdsec DOCSDIR=/usr/local/share/doc/crowdsec EXAMPLESDIR=/usr/local/share/examples/crowdsec  WWWDIR=/usr/local/www/crowdsec ETCDIR=/usr/local/etc/crowdsec
--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
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.2-RELEASE-p11
OSREL=12.2
OSVERSION=1202000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   crowdsec-1.2.1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.5.pkg
[122amd64-default-job-03] Installing pkg-1.17.5...
[122amd64-default-job-03] Extracting pkg-1.17.5: .......... done
===>   crowdsec-1.2.1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of crowdsec-1.2.1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
=> crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/v1.2.1?dummy=/crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz
fetch: https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/v1.2.1?dummy=/crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/crowdsecurity/crowdsec/tar.gz/v1.2.1?dummy=/crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz: size of remote file is not known
crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz               643 kB 4151 kBps    01s
===> Fetching all distfiles required by crowdsec-1.2.1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by crowdsec-1.2.1 for building
=> SHA256 Checksum OK for crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License MIT accepted by the user
===> Fetching all distfiles required by crowdsec-1.2.1 for building
===>  Extracting for crowdsec-1.2.1
=> SHA256 Checksum OK for crowdsecurity-crowdsec-v1.2.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for crowdsec-1.2.1
===>  Applying FreeBSD patches for crowdsec-1.2.1 from /usr/ports/security/crowdsec/files
===========================================================================
=======================<phase: build-depends  >============================
===>   crowdsec-1.2.1 depends on executable: git - not found
===>   Installing existing package /packages/All/git-lite-2.34.1.pkg
[122amd64-default-job-03] Installing git-lite-2.34.1...
[122amd64-default-job-03] `-- Installing curl-7.80.0...
[122amd64-default-job-03] |   `-- Installing ca_root_nss-3.71...
[122amd64-default-job-03] |   `-- Extracting ca_root_nss-3.71: ........ done
[122amd64-default-job-03] |   `-- Installing libnghttp2-1.46.0...
[122amd64-default-job-03] |   `-- Extracting libnghttp2-1.46.0: .......... done
[122amd64-default-job-03] |   `-- Installing libssh2-1.9.0_3,3...
[122amd64-default-job-03] |   `-- Extracting libssh2-1.9.0_3,3: .......... done
[122amd64-default-job-03] `-- Extracting curl-7.80.0: .......... done
[122amd64-default-job-03] `-- Installing expat-2.4.1...
[122amd64-default-job-03] `-- Extracting expat-2.4.1: .......... done
[122amd64-default-job-03] `-- Installing gettext-runtime-0.21...
[122amd64-default-job-03] |   `-- Installing indexinfo-0.3.1...
[122amd64-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[122amd64-default-job-03] `-- Extracting gettext-runtime-0.21: .......... done
[122amd64-default-job-03] `-- Installing pcre2-10.39...
[122amd64-default-job-03] `-- Extracting pcre2-10.39: .......... done
===> Creating groups.
Creating group 'git_daemon' with gid '964'.
===> Creating users
Creating user 'git_daemon' with uid '964'.
[122amd64-default-job-03] Extracting git-lite-2.34.1: .......... done
=====
Message from ca_root_nss-3.71:

--
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
=====
Message from git-lite-2.34.1:

--
If you installed the GITWEB option please follow these instructions:

In the directory /usr/local/share/examples/git/gitweb you can find all files to
make gitweb work as a public repository on the web.

All you have to do to make gitweb work is:
1) Please be sure you're able to execute CGI scripts in
   /usr/local/share/examples/git/gitweb.
2) Set the GITWEB_CONFIG variable in your webserver's config to
   /usr/local/etc/git/gitweb.conf. This variable is passed to gitweb.cgi.
3) Restart server.


If you installed the CONTRIB option please note that the scripts are
installed in /usr/local/share/git-core/contrib. Some of them require
other ports to be installed (perl, python, etc), which you may need to
install manually.
===>   crowdsec-1.2.1 depends on executable: git - found
===>   Returning to build of crowdsec-1.2.1
===>   crowdsec-1.2.1 depends on executable: go - not found
===>   Installing existing package /packages/All/go-1.17.5,1.pkg
[122amd64-default-job-03] Installing go-1.17.5,1...
[122amd64-default-job-03] Extracting go-1.17.5,1: .......... done
===>   crowdsec-1.2.1 depends on executable: go - found
===>   Returning to build of crowdsec-1.2.1
===>   crowdsec-1.2.1 depends on executable: jq - not found
===>   Installing existing package /packages/All/jq-1.6.pkg
[122amd64-default-job-03] Installing jq-1.6...
[122amd64-default-job-03] `-- Installing oniguruma-6.9.7.1...
[122amd64-default-job-03] `-- Extracting oniguruma-6.9.7.1: .......... done
[122amd64-default-job-03] Extracting jq-1.6: .......... done
===>   crowdsec-1.2.1 depends on executable: jq - found
===>   Returning to build of crowdsec-1.2.1
===>   crowdsec-1.2.1 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[122amd64-default-job-03] Installing gmake-4.3_2...
[122amd64-default-job-03] Extracting gmake-4.3_2: .......... done
===>   crowdsec-1.2.1 depends on package: gmake>=4.3 - found
===>   Returning to build of crowdsec-1.2.1
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for crowdsec-1.2.1
===========================================================================
=======================<phase: build          >============================
===>  Building for crowdsec-1.2.1
gmake[1]: Entering directory '/wrkdirs/usr/ports/security/crowdsec/work/crowdsec-1.2.1'
/wrkdirs/usr/ports/security/crowdsec/work/crowdsec-1.2.1/platform/freebsd.mk:7: Building for freebsd
rm -f crowdsec
go test -v ./...
go: entgo.io/ent@v0.9.1: Get "https://proxy.golang.org/entgo.io/ent/@v/v0.9.1.mod": dial tcp 142.250.64.81:443: connect: can't assign requested address
go: downloading github.com/sirupsen/logrus v1.8.1
go: downloading gopkg.in/tomb.v2 v2.0.0-20161208151619-d5d1b5820637
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/prometheus/client_golang v1.10.0
go: downloading github.com/hashicorp/go-version v1.2.1
go: downloading github.com/antonmedv/expr v1.8.9
go: downloading github.com/aws/aws-sdk-go v1.38.34
go: downloading github.com/fsnotify/fsnotify v1.4.9
go: downloading github.com/nxadm/tail v1.4.6
go: downloading golang.org/x/sys v0.0.0-20210921065528-437939a70204
go: downloading github.com/influxdata/go-syslog/v3 v3.0.0
go: downloading github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf
go: downloading github.com/buger/jsonparser v1.1.1
go: downloading github.com/davecgh/go-spew v1.1.1
go: downloading github.com/goombaio/namegenerator v0.0.0-20181006234301-989e774b106e
go: downloading github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
go: downloading github.com/go-openapi/errors v0.19.9
go: downloading github.com/go-openapi/swag v0.19.12
go: downloading github.com/go-openapi/validate v0.20.0
go: downloading github.com/crowdsecurity/grokky v0.0.0-20210908095311-0b3373925934
go: downloading github.com/oschwald/geoip2-golang v1.4.0
go: downloading github.com/oschwald/maxminddb-golang v1.8.0
go: downloading github.com/enescakir/emoji v1.0.0
go: downloading github.com/Masterminds/sprig v2.22.0+incompatible
go: downloading github.com/hashicorp/go-hclog v0.14.1
go: downloading github.com/hashicorp/go-plugin v1.4.2
go: downloading google.golang.org/grpc v1.35.0
go: downloading github.com/google/go-querystring v1.0.0
go: downloading github.com/gin-gonic/gin v1.6.3
go: downloading github.com/go-co-op/gocron v1.9.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading google.golang.org/protobuf v1.25.0
go: downloading github.com/alexliesenfeld/health v0.5.1
go: downloading entgo.io/ent v0.9.1
go: downloading golang.org/x/mod v0.4.2
go: downloading github.com/go-sql-driver/mysql v1.5.1-0.20200311113236-681ffa848bae
go: downloading github.com/lib/pq v1.10.2
go: downloading github.com/mattn/go-sqlite3 v1.14.8
go: downloading golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
go: downloading github.com/go-openapi/strfmt v0.19.11
go: downloading github.com/appleboy/gin-jwt/v2 v2.6.4
go: entgo.io/ent@v0.9.1: Get "https://proxy.golang.org/entgo.io/ent/@v/v0.9.1.mod": dial tcp 142.250.64.81:443: connect: can't assign requested address
gmake[2]: *** [Makefile:26: test] Error 1
gmake[1]: *** [Makefile:127: test] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/security/crowdsec/work/crowdsec-1.2.1'
*** Error code 1

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