------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/go-1.14.1,1.txz Installing /packages/All/openssl-1.1.1d,1.txz Installing /packages/All/perl5-5.30.1.txz ===== 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. Installing /packages/All/net-snmp-5.7.3_20,1.txz ===== 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" SUCCEEDED 00:00:50 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by snmp_exporter-0.14.0_1 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - found ===> 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. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/sbin/pkg - found ===> 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. Extracted Memory Use: 9.01M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for snmp_exporter-0.14.0_1 ===> Applying ports patches for snmp_exporter-0.14.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/bin/go - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> snmp_exporter-0.14.0_1 depends on file: /usr/local/bin/go - found ===> snmp_exporter-0.14.0_1 depends on shared library: libnetsnmp.so - found (/usr/local/lib/libnetsnmp.so) ===> Configuring for snmp_exporter-0.14.0_1 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- 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/alecthomas/template/parse github.com/prometheus/procfs/xfs gopkg.in/yaml.v2 github.com/prometheus/procfs/nfs github.com/golang/mock/gomock github.com/prometheus/common/model net github.com/golang/protobuf/proto github.com/alecthomas/template golang.org/x/crypto/ssh/terminal github.com/sirupsen/logrus 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 github.com/soniah/gosnmp github.com/prometheus/procfs net/textproto log/syslog gopkg.in/alecthomas/kingpin.v2 crypto/x509 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 SUCCEEDED 00:00:37 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- 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 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for snmp_exporter-0.14.0_1 file sizes/checksums [4]: 0% file sizes/checksums [4]: 100% packing files [4]: 0% packing files [4]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:40 TOTAL TIME 00:02:11