=> Building sysutils/snmp_exporter Started : Saturday, 15 FEB 2020 at 17:38:03 UTC Platform: 5.7-DEVELOPMENT DragonFly v5.7.0.1432.g9cd86-DEVELOPMENT #23: Thu Feb 13 14:43:04 PST 2020 root@sting.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.7-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.7-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/snmp_exporter XDG_CONFIG_HOME=/construction/sysutils/snmp_exporter HOME=/construction/sysutils/snmp_exporter TMPDIR="/tmp" PATH=/construction/sysutils/snmp_exporter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/sysutils/snmp_exporter XDG_CONFIG_HOME=/construction/sysutils/snmp_exporter HOME=/construction/sysutils/snmp_exporter TMPDIR="/tmp" PATH=/construction/sysutils/snmp_exporter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/sysutils/snmp_exporter/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/snmp_exporter" EXAMPLESDIR="share/examples/snmp_exporter" DATADIR="share/snmp_exporter" WWWDIR="www/snmp_exporter" ETCDIR="etc/snmp_exporter" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=LiveSystem USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=15 DPORTS_BUILDER= yes DISABLE_LICENSES= yes DEFAULT_VERSIONS= ssl=openssl FORCE_PACKAGE= yes DEVELOPER= yes HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.30.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=32 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500709 OSVERSION=9999999 OSREL=5.7 _OSRELEASE=5.7-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- 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_1.txz Installing pkg-1.12.0_1... Extracting pkg-1.12.0_1: .......... 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 -------------------------------------------------------------------------------- => prometheus-snmp_exporter-v0.14.0_GH0.tar.gz doesn't seem to exist in /distfiles/. => Attempting to fetch https://codeload.github.com/prometheus/snmp_exporter/tar.gz/v0.14.0?dummy=/prometheus-snmp_exporter-v0.14.0_GH0.tar.gz fetch: https://codeload.github.com/prometheus/snmp_exporter/tar.gz/v0.14.0?dummy=/prometheus-snmp_exporter-v0.14.0_GH0.tar.gz: size unknown fetch: https://codeload.github.com/prometheus/snmp_exporter/tar.gz/v0.14.0?dummy=/prometheus-snmp_exporter-v0.14.0_GH0.tar.gz: size of remote file is not known prometheus-snmp_exporter-v0.14.0_GH0.tar.gz 1424 kB 1462 kBps 01s ===> Fetching all distfiles required by snmp_exporter-0.14.0_1 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- ===> 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 ports 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-1.13.7,1.txz Installing go-1.13.7,1... Extracting go-1.13.7,1: .......... 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 Installing net-snmp-5.7.3_20,1... `-- Installing openssl-1.1.1d,1... `-- Extracting openssl-1.1.1d,1: .......... done `-- Installing perl5-5.30.1... `-- Extracting perl5-5.30.1: .......... done 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@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 /construction/sysutils/snmp_exporter/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=/construction/sysutils/snmp_exporter XDG_CONFIG_HOME=/construction/sysutils/snmp_exporter HOME=/construction/sysutils/snmp_exporter TMPDIR="/tmp" PATH=/construction/sysutils/snmp_exporter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -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="/construction/sysutils/snmp_exporter/bin" /usr/local/bin/go build -v -buildmode=exe -ldflags=-s -mod=vendor -o /construction/sysutils/snmp_exporter/bin/${out} ${pkg}; done) ===> Building snmp_exporter from . runtime/cgo github.com/beorn7/perks/quantile github.com/prometheus/procfs/internal/util golang.org/x/net/context github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg golang.org/x/sys/unix github.com/alecthomas/units github.com/golang/mock/gomock github.com/prometheus/procfs/xfs github.com/alecthomas/template/parse github.com/prometheus/common/model github.com/golang/protobuf/proto gopkg.in/yaml.v2 github.com/prometheus/procfs/nfs golang.org/x/crypto/ssh/terminal github.com/sirupsen/logrus 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 net/textproto github.com/soniah/gosnmp log/syslog crypto/x509 gopkg.in/alecthomas/kingpin.v2 github.com/prometheus/procfs vendor/golang.org/x/net/http/httpguts github.com/prometheus/snmp_exporter/config crypto/tls github.com/prometheus/common/log 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 github.com/prometheus/snmp_exporter ===> Building snmp_exporter_generator from ./generator github.com/prometheus/snmp_exporter/generator -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for snmp_exporter-0.14.0_1 ===> Generating temporary packing list for t in . ./generator:snmp_exporter_generator; do dst=$(echo ${t} | /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/snmp_exporter/'); src=$(/usr/bin/basename ${dst}); case ${dst} in /*) dst=/construction/sysutils/snmp_exporter/stage${dst}; /bin/mkdir -p $(/usr/bin/dirname ${dst}) ;; *) dst=/construction/sysutils/snmp_exporter/stage/usr/local/bin/${src} ;; esac; echo "===> Installing ${src} as ${dst}"; install -s -m 555 /construction/sysutils/snmp_exporter/bin/${src} ${dst}; done ===> Installing snmp_exporter as /construction/sysutils/snmp_exporter/stage/usr/local/bin/snmp_exporter ===> Installing snmp_exporter_generator as /construction/sysutils/snmp_exporter/stage/usr/local/bin/snmp_exporter_generator /bin/mkdir -p /construction/sysutils/snmp_exporter/stage/usr/local/etc/snmp_exporter/ install -m 0644 /xports/sysutils/snmp_exporter/files/generator.yml /construction/sysutils/snmp_exporter/stage/usr/local/etc/snmp_exporter/generator.yml ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: Possible REINPLACE_CMD issues sed failed: file content unchanged from backup: generator/main.go -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for snmp_exporter-0.14.0_1 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 15 FEB 2020 at 17:39:54 UTC Duration: 00:01:51