[package - 113arm64-quarterly][sysutils/snmp_exporter] Failed for snmp_exporter-0.14.0_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Wed Jan 29 19:31:03 UTC 2020


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:     fabian.freyer at physik.tu-berlin.de
Last committer: dmgk at FreeBSD.org
Ident:          $FreeBSD: branches/2020Q1/sysutils/snmp_exporter/Makefile 517745 2019-11-16 12:52:39Z dmgk $
Log URL:        http://thunderx1.nyi.freebsd.org/data/113arm64-quarterly/524449/logs/snmp_exporter-0.14.0_1.log
Build URL:      http://thunderx1.nyi.freebsd.org/build.html?mastername=113arm64-quarterly&build=524449
Log:

=>> Building sysutils/snmp_exporter
build started at Wed Jan 29 19:30:07 UTC 2020
port directory: /usr/ports/sysutils/snmp_exporter
package name: snmp_exporter-0.14.0_1
building for: FreeBSD 113arm64-quarterly-job-16 11.3-RELEASE-p5 FreeBSD 11.3-RELEASE-p5 1103000 arm64
maintained by: fabian.freyer at physik.tu-berlin.de
Makefile ident:      $FreeBSD: branches/2020Q1/sysutils/snmp_exporter/Makefile 517745 2019-11-16 12:52:39Z dmgk $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300002
Jail OSVERSION: 1103000
Job Id: 16

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p5 1103000
UNAME_r=11.3-RELEASE-p5
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/113arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/113arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=113arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/113arm64-quarterly/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--
fabian.freyer at physik.tu-berlin.de
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/snmp_exporter/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--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/snmp_exporter/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=11.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/snmp_exporter"  EXAMPLESDIR="share/examples/snmp_exporter"  DATADIR="share/snmp_exporter"  WWWDIR="www/snmp_exporter"  ETCDIR="etc/snmp_exporter"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/snmp_exporter DOCSDIR=/usr/local/share/doc/snmp_exporter EXAMPLESDIR=/usr/local/share/examples/snmp_exporter  WWWDIR=/usr/local/www/snmp_exporter ETCDIR=/usr/local/etc/snmp_exporter
--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 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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 8.0.0 (tags/RELEASE_800/final 356365) (based on LLVM 8.0.0) Target: aarch64-unknown-freebsd11.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=11.3-RELEASE-p5
OSREL=11.3
OSVERSION=1103000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
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)  1048576
stack size              (kbytes, -s)  1048576
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 APACHE20 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[113arm64-quarterly-job-16] Installing pkg-1.12.0...
[113arm64-quarterly-job-16] Extracting pkg-1.12.0: .......... done
===>   snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of snmp_exporter-0.14.0_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by snmp_exporter-0.14.0_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by snmp_exporter-0.14.0_1 for building
=> SHA256 Checksum OK for prometheus-snmp_exporter-v0.14.0_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License APACHE20 accepted by the user
===> Fetching all distfiles required by snmp_exporter-0.14.0_1 for building
===>  Extracting for snmp_exporter-0.14.0_1
=> SHA256 Checksum OK for prometheus-snmp_exporter-v0.14.0_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for snmp_exporter-0.14.0_1
===>  Applying FreeBSD patches for snmp_exporter-0.14.0_1
===========================================================================
=======================<phase: build-depends  >============================
===>   snmp_exporter-0.14.0_1 depends on file: /usr/local/bin/go - not found
===>   Installing existing package /packages/All/go-devel-g20191217.txz
[113arm64-quarterly-job-16] Installing go-devel-g20191217...
[113arm64-quarterly-job-16] `-- Installing binutils-2.33.1,1...
[113arm64-quarterly-job-16] |   `-- Installing gettext-runtime-0.20.1...
[113arm64-quarterly-job-16] |   | `-- Installing indexinfo-0.3.1...
[113arm64-quarterly-job-16] |   | `-- Extracting indexinfo-0.3.1: .... done
[113arm64-quarterly-job-16] |   `-- Extracting gettext-runtime-0.20.1: .......... done
[113arm64-quarterly-job-16] `-- Extracting binutils-2.33.1,1: .......... done
[113arm64-quarterly-job-16] Extracting go-devel-g20191217: .......... done
===>   snmp_exporter-0.14.0_1 depends on file: /usr/local/bin/go - found
===>   Returning to build of snmp_exporter-0.14.0_1
===========================================================================
=======================<phase: lib-depends    >============================
===>   snmp_exporter-0.14.0_1 depends on shared library: libnetsnmp.so - not found
===>   Installing existing package /packages/All/net-snmp-5.7.3_20,1.txz
[113arm64-quarterly-job-16] Installing net-snmp-5.7.3_20,1...
[113arm64-quarterly-job-16] `-- Installing perl5-5.30.1...
[113arm64-quarterly-job-16] `-- Extracting perl5-5.30.1: .......... done
[113arm64-quarterly-job-16] Extracting net-snmp-5.7.3_20,1: .......... done
=====
Message from perl5-5.30.1:

--
The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

#!/usr/bin/env perl

The first one will only work if you have a /usr/local/bin/perl,
the second will work as long as perl is in PATH.
=====
Message from net-snmp-5.7.3_20,1:

--
**** This port installs snmpd, header files and libraries but does not
     start snmpd by default.
     If you want to auto-start snmpd and snmptrapd:, add the following to
     /etc/rc.conf:

	snmpd_enable="YES"
	snmpd_flags="-a"
	snmpd_conffile="/usr/local/share/snmp/snmpd.conf /etc/snmpd.conf"
	snmptrapd_enable="YES"
	snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

**** You may also specify the following make variables:

	NET_SNMP_SYS_CONTACT="zi at FreeBSD.org"
	NET_SNMP_SYS_LOCATION="USA"
	DEFAULT_SNMP_VERSION=3
	NET_SNMP_MIB_MODULES="host smux mibII/mta_sendmail ucd-snmp/diskio"
	NET_SNMP_LOGFILE=/var/log/snmpd.log
	NET_SNMP_PERSISTENTDIR=/var/net-snmp

     to define default values (or to override the defaults).  To avoid being
     prompted during the configuration process, you should (minimally) define
     the first two variables. (NET_SNMP_SYS_*)

     You may also define the following to avoid all interactive configuration:

	BATCH="yes"
===>   snmp_exporter-0.14.0_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so)
===>   Returning to build of snmp_exporter-0.14.0_1
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for snmp_exporter-0.14.0_1
===========================================================================
=======================<phase: build          >============================
===>  Building for snmp_exporter-0.14.0_1
(cd /wrkdirs/usr/ports/sysutils/snmp_exporter/work/snmp_exporter-0.14.0;  for t in .  ./generator:snmp_exporter_generator; do  out=$(/usr/bin/basename $(echo ${t} |  /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/snmp_exporter/'));  pkg=$(echo ${t} |  /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^snmp_exporter$/./');  echo "===>  Building ${out} from ${pkg}";  /usr/bin/env XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work  HOME=/wrkdirs/usr/ports/sysutils/snmp_exporter/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/snmp_exporter/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 -fsta
 ck-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" CGO_ENABLED=1  CGO_CFLAGS="-I/usr/local/include"  CGO_LDFLAGS="-L/usr/local/lib"  GOARM= GOPATH=""  GOBIN="/wrkdirs/usr/ports/sysutils/snmp_exporter/work/bin" /usr/local/bin/go build -v -buildmode=exe -ldflags=-s -mod=vendor  -o /wrkdirs/usr/ports/sysutils/snmp_exporter/work/bin/${out}  ${pkg};  done)
===>  Building snmp_exporter from .
runtime/cgo
github.com/beorn7/perks/quantile
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/procfs/internal/util
golang.org/x/net/context
github.com/prometheus/procfs/nfs
github.com/prometheus/procfs/xfs
github.com/alecthomas/template/parse
github.com/alecthomas/units
gopkg.in/yaml.v2
github.com/prometheus/common/model
golang.org/x/sys/unix
github.com/golang/protobuf/proto
github.com/golang/mock/gomock
# golang.org/x/sys/unix
vendor/golang.org/x/sys/unix/cap_freebsd.go:18:23: undefined: CAP_RIGHTS_VERSION_00
vendor/golang.org/x/sys/unix/cap_freebsd.go:19:23: undefined: CAP_RIGHTS_VERSION_00
vendor/golang.org/x/sys/unix/cap_freebsd.go:46:21: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:50:24: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:55:27: undefined: CapRights
vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: undefined: CapRights
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body
vendor/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body
vendor/golang.org/x/sys/unix/cap_freebsd.go:90:29: too many errors
github.com/alecthomas/template
net
github.com/prometheus/client_model/go
github.com/matttproud/golang_protobuf_extensions/pbutil
github.com/prometheus/client_golang/prometheus/internal
vendor/golang.org/x/net/http/httpproxy
log/syslog
net/textproto
github.com/soniah/gosnmp
github.com/prometheus/procfs
crypto/x509
gopkg.in/alecthomas/kingpin.v2
vendor/golang.org/x/net/http/httpguts
crypto/tls
github.com/prometheus/snmp_exporter/config
net/http/httptrace
net/http
github.com/prometheus/common/expfmt
github.com/prometheus/client_golang/prometheus
github.com/prometheus/common/version
github.com/prometheus/client_golang/prometheus/promhttp
*** Error code 2

Stop.
make: stopped in /usr/ports/sysutils/snmp_exporter


More information about the freebsd-pkg-fallout mailing list