[package - 141amd64-quarterly][ftp/sftpgo] Failed for sftpgo-2.6.2_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 27 Oct 2024 01:04:32 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:     skozlov@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy20/data/141amd64-quarterly/5ba985796b99/logs/sftpgo-2.6.2_2.log
Build URL:      https://pkg-status.freebsd.org/beefy20/build.html?mastername=141amd64-quarterly&build=5ba985796b99
Log:

=>> Building ftp/sftpgo
build started at Sun Oct 27 01:04:29 UTC 2024
port directory: /usr/ports/ftp/sftpgo
package name: sftpgo-2.6.2_2
building for: FreeBSD 141amd64-quarterly-job-38 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 amd64
maintained by: skozlov@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2186 Oct  8 01:01 /usr/ports/ftp/sftpgo/Makefile
Ports top last git commit: 5ba985796
Ports top unclean checkout: no
Port dir last git commit: 19fbadfb9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 38

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1401000
UNAME_v=FreeBSD 14.1-RELEASE-p5
UNAME_r=14.1-RELEASE-p5
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/141amd64-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/141amd64-quarterly/38/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141amd64-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---
===> The following configuration options are available for sftpgo-2.6.2_2:
     BASH=on: Install programmable completions for Bash
     FISH=on: Install programmable completions for Fish
     MANPAGES=on: Build and/or install manual pages
     ZSH=on: Install programmable completions for zsh
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
skozlov@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

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

--PLIST_SUB--
 BASH="" NO_BASH="@comment " FISH="" NO_FISH="@comment " MANPAGES="" NO_MANPAGES="@comment " ZSH="" NO_ZSH="@comment " OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sftpgo"  EXAMPLESDIR="share/examples/sftpgo"  DATADIR="share/sftpgo"  WWWDIR="www/sftpgo"  ETCDIR="etc/sftpgo"
--End PLIST_SUB--

--SUB_LIST--
 BASH="" NO_BASH="@comment " FISH="" NO_FISH="@comment " MANPAGES="" NO_MANPAGES="@comment " ZSH="" NO_ZSH="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sftpgo DOCSDIR=/usr/local/share/doc/sftpgo EXAMPLESDIR=/usr/local/share/examples/sftpgo  WWWDIR=/usr/local/www/sftpgo ETCDIR=/usr/local/etc/sftpgo
--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
####  ####
# 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
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)  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 AGPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sftpgo-2.6.2_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141amd64-quarterly-job-38] Installing pkg-1.21.3...
[141amd64-quarterly-job-38] Extracting pkg-1.21.3: .......... done
===>   sftpgo-2.6.2_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sftpgo-2.6.2_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 AGPLv3 accepted by the user
===> Fetching all distfiles required by sftpgo-2.6.2_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License AGPLv3 accepted by the user
===> Fetching all distfiles required by sftpgo-2.6.2_2 for building
=> SHA256 Checksum OK for sftpgo_v2.6.2_src_with_deps.tar.xz.
===========================================================================
=======================<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 AGPLv3 accepted by the user
===> Fetching all distfiles required by sftpgo-2.6.2_2 for building
===>  Extracting for sftpgo-2.6.2_2
=> SHA256 Checksum OK for sftpgo_v2.6.2_src_with_deps.tar.xz.
===========================================================================
=======================<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 sftpgo-2.6.2_2
/usr/bin/sed -i.bak -e 's|"templates"|"/usr/local/share/sftpgo/templates"|;  s|"static"|"/usr/local/share/sftpgo/static"|;  s|"sftpgo.db"|"/var/db/sftpgo/sftpgo.db"|'  /wrkdirs/usr/ports/ftp/sftpgo/work/sftpgo-2.6.2_2/sftpgo.json
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   sftpgo-2.6.2_2 depends on file: /usr/local/bin/go121 - not found
===>   Installing existing package /packages/All/go121-1.21.13_1.pkg
[141amd64-quarterly-job-38] Installing go121-1.21.13_1...
[141amd64-quarterly-job-38] Extracting go121-1.21.13_1: .......... done
===>   sftpgo-2.6.2_2 depends on file: /usr/local/bin/go121 - found
===>   Returning to build of sftpgo-2.6.2_2
===========================================================================
=======================<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 sftpgo-2.6.2_2
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for sftpgo-2.6.2_2
(cd /wrkdirs/usr/ports/ftp/sftpgo/work/sftpgo-2.6.2_2;  for t in sftpgo; do  out=$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/sftpgo/'));  pkg=$(echo ${t} |  /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^sftpgo$/./');  echo "===>  Building ${out} from ${pkg}";  /usr/bin/env -i HOME=/wrkdirs/usr/ports/ftp/sftpgo/work  MACHINE_ARCH=amd64  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1401000 PATH=/wrkdirs/usr/ports/ftp/sftpgo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_r=14.1-RELEASE-p5 UNAME_v=FreeBSD\ 14.1-RELEASE-p5 XDG_DATA_HOME=/wrkdirs/usr/ports/ftp/sftpgo/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/ftp/sftpgo/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/ftp/sftpgo/work/.cache  HOME=/wrkdirs/usr/ports/ftp/sftpgo/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/ftp/sftpgo/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports
/ftp/sftpgo/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_INSTALL_MAN="install  -m 444" CGO_ENABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOAMD64=  GOARM=  GOTMPDIR="/wrkdirs/usr/ports/ftp/sftpgo/work" GOPATH="/portdistfiles/go/ftp_sftpgo"  GOBIN="/wrkdirs/usr/ports/ftp/sftpgo/work/bin"  GO111MODULE=on  GOFLAGS=-modcacherw  GOSUMDB=sum.golang.org GO_NO_VENDOR_CHECKS=1 GOMAXPROCS=1 GOPROXY=off /usr/local/bin/go121 b
uild -buildmode=exe -v -trimpath -ldflags=-s -buildvcs=false -mod=vendor  -o /wrkdirs/usr/ports/ftp/sftpgo/work/bin/${out}  ${pkg};  done)
===>  Building sftpgo from .
go: downloading go1.22.2 (freebsd/amd64)
go: download go1.22.2 for freebsd/amd64: toolchain not available
*** Error code 1

Stop.
make: stopped in /usr/ports/ftp/sftpgo