------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/go-1.14.3,1.txz Installing /packages/All/ca_root_nss-3.52.txz ===== Message from ca_root_nss-3.52: -- 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 SUCCEEDED 00:00:18 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by amazon-ssm-agent-2.3.612.0_1 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by amazon-ssm-agent-2.3.612.0_1 for building => SHA256 Checksum OK for aws-amazon-ssm-agent-2.3.612.0_GH0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by amazon-ssm-agent-2.3.612.0_1 for building ===> Extracting for amazon-ssm-agent-2.3.612.0_1 => SHA256 Checksum OK for aws-amazon-ssm-agent-2.3.612.0_GH0.tar.gz. Extracted Memory Use: 97.25M SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for amazon-ssm-agent-2.3.612.0_1 ===> Applying ports patches for amazon-ssm-agent-2.3.612.0_1 ===> Cleanly applied ports patch(es) patch-agent_appconfig_constants__unix.go patch-agent_log_log__unix.go patch-agent_session_utility_utility__unix.go patch-agent_version_version.go ln -s /construction/sysutils/amazon-ssm-agent/amazon-ssm-agent-2.3.612.0/vendor/src/* /construction/sysutils/amazon-ssm-agent/amazon-ssm-agent-2.3.612.0/vendor/ SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/bin/go - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> amazon-ssm-agent-2.3.612.0_1 depends on file: /usr/local/bin/go - found ===> Configuring for amazon-ssm-agent-2.3.612.0_1 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for amazon-ssm-agent-2.3.612.0_1 (cd /construction/sysutils/amazon-ssm-agent/src/github.com/aws/amazon-ssm-agent; for t in ./agent:/usr/local/sbin/amazon-ssm-agent ./agent/framework/processor/executer/outofproc/worker:/usr/local/sbin/ssm-document-worker ./agent/framework/processor/executer/outofproc/sessionworker:/usr/local/sbin/ssm-session-worker ./agent/session/logging:/usr/local/sbin/ssm-session-logger ./agent/cli-main:/usr/local/sbin/ssm-cli; do out=$(/usr/bin/basename $(echo ${t} | /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/amazon-ssm-agent/')); pkg=$(echo ${t} | /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^amazon-ssm-agent$/./'); echo "===> Building ${out} from ${pkg}"; /usr/bin/env XDG_DATA_HOME=/construction/sysutils/amazon-ssm-agent XDG_CONFIG_HOME=/construction/sysutils/amazon-ssm-agent HOME=/construction/sysutils/amazon-ssm-agent TMPDIR="/tmp" PATH=/construction/sysutils/amazon-ssm-agent/.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="/construction/sysutils/amazon-ssm-agent" GOBIN="" /usr/local/bin/go build -ldflags "-s -w" -v -buildmode=exe -o /construction/sysutils/amazon-ssm-agent/bin/${out} ${pkg}; done) ===> Building amazon-ssm-agent from ./agent github.com/aws/amazon-ssm-agent/agent/version github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/client/metadata github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/envdetect/constants runtime/cgo github.com/aws/amazon-ssm-agent/vendor/github.com/carlescere/scheduler github.com/aws/amazon-ssm-agent/vendor/github.com/Workiva/go-datastructures/queue github.com/aws/amazon-ssm-agent/agent/session/retry github.com/aws/amazon-ssm-agent/vendor/golang.org/x/net/context github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/awserr github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/internal/shareddefaults github.com/aws/amazon-ssm-agent/agent/association/rateexpr github.com/aws/amazon-ssm-agent/vendor/github.com/stretchr/testify/vendor/github.com/pmezard/go-difflib/difflib github.com/aws/amazon-ssm-agent/vendor/github.com/google/go-querystring/query github.com/aws/amazon-ssm-agent/agent/framework/processor/executer/iohandler/multiwriter github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/envdetect/utils github.com/aws/amazon-ssm-agent/vendor/github.com/coreos/go-semver/semver github.com/aws/amazon-ssm-agent/vendor/github.com/go-ini/ini github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/vendor/github.com/go-ini/ini github.com/aws/amazon-ssm-agent/vendor/github.com/gabs github.com/aws/amazon-ssm-agent/vendor/github.com/gorhill/cronexpr github.com/aws/amazon-ssm-agent/agent/jsonutil github.com/aws/amazon-ssm-agent/vendor/github.com/stretchr/testify/vendor/github.com/davecgh/go-spew/spew github.com/aws/amazon-ssm-agent/vendor/github.com/cihub/seelog/archive/zip github.com/aws/amazon-ssm-agent/vendor/github.com/cihub/seelog/archive/gzip github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/vendor/github.com/jmespath/go-jmespath github.com/aws/amazon-ssm-agent/vendor/github.com/stretchr/testify/vendor/github.com/stretchr/objx github.com/aws/amazon-ssm-agent/vendor/github.com/go-yaml/yaml github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/endpoints github.com/aws/amazon-ssm-agent/agent/versionutil github.com/aws/amazon-ssm-agent/vendor/golang.org/x/sys/unix github.com/aws/amazon-ssm-agent/agent/plugins/inventory/model github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/credentials github.com/aws/amazon-ssm-agent/agent/appconfig github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/awsutil # github.com/aws/amazon-ssm-agent/agent/appconfig agent/appconfig/appconfig.go:92:22: undefined: AppConfigPath agent/appconfig/appconfig.go:96:43: undefined: AppConfigPath agent/appconfig/appconfig.go:97:9: undefined: AppConfigPath agent/appconfig/appconfig.go:120:42: undefined: DefaultCustomInventoryFolder github.com/aws/amazon-ssm-agent/vendor/github.com/fsnotify/fsnotify os/user net archive/tar github.com/aws/amazon-ssm-agent/vendor/github.com/cihub/seelog/archive/tar github.com/aws/amazon-ssm-agent/vendor/github.com/cihub/seelog/archive vendor/golang.org/x/net/http/httpproxy github.com/aws/amazon-ssm-agent/vendor/github.com/twinj/uuid crypto/x509 net/textproto vendor/golang.org/x/net/http/httpguts github.com/aws/amazon-ssm-agent/agent/managedInstances/auth crypto/tls net/http/httptrace net/smtp net/http github.com/aws/amazon-ssm-agent/vendor/github.com/cihub/seelog github.com/aws/amazon-ssm-agent/vendor/github.com/gorilla/websocket net/http/httptest net/http/httputil github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws github.com/aws/amazon-ssm-agent/vendor/golang.org/x/oauth2/internal github.com/aws/amazon-ssm-agent/vendor/github.com/go-github/github github.com/aws/amazon-ssm-agent/vendor/golang.org/x/oauth2 github.com/aws/amazon-ssm-agent/vendor/github.com/stretchr/testify/assert github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/request github.com/aws/amazon-ssm-agent/vendor/github.com/stretchr/testify/mock github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/corehandlers github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/rest github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/client github.com/aws/amazon-ssm-agent/agent/times github.com/aws/amazon-ssm-agent/agent/log # github.com/aws/amazon-ssm-agent/agent/log agent/log/defaultconfig.go:22:17: undefined: DefaultLogDir agent/log/log.go:78:9: undefined: getLogConfigBytes github.com/aws/amazon-ssm-agent/agent/sdkutil/retryer github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/credentials/endpointcreds github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/ec2metadata github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/birdwatcher/facade/retryer github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/query/queryutil github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/json/jsonutil github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/signer/v4 github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/signer/v4 github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/jsonrpc github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/defaults github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/query github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/ssmmds github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/ssm github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/cloudwatchlogs github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/kms github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/private/protocol/restxml github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/sts github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/s3 github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/ssmmds/ssmmdsiface github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/credentials/stscreds github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/aws/session github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/kms/kmsiface github.com/aws/amazon-ssm-agent/agent/agentlogstocloudwatch/cloudwatchlogsqueue github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/s3/s3iface github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/s3/s3manager github.com/aws/amazon-ssm-agent/vendor/github.com/aws/aws-sdk-go/service/ssm/ssmiface ===> Building ssm-document-worker from ./agent/framework/processor/executer/outofproc/worker github.com/aws/amazon-ssm-agent/agent/appconfig # github.com/aws/amazon-ssm-agent/agent/appconfig agent/appconfig/appconfig.go:92:22: undefined: AppConfigPath agent/appconfig/appconfig.go:96:43: undefined: AppConfigPath agent/appconfig/appconfig.go:97:9: undefined: AppConfigPath agent/appconfig/appconfig.go:120:42: undefined: DefaultCustomInventoryFolder github.com/aws/amazon-ssm-agent/agent/log # github.com/aws/amazon-ssm-agent/agent/log agent/log/defaultconfig.go:22:17: undefined: DefaultLogDir agent/log/log.go:78:9: undefined: getLogConfigBytes ===> Building ssm-session-worker from ./agent/framework/processor/executer/outofproc/sessionworker github.com/aws/amazon-ssm-agent/agent/appconfig # github.com/aws/amazon-ssm-agent/agent/appconfig agent/appconfig/appconfig.go:92:22: undefined: AppConfigPath agent/appconfig/appconfig.go:96:43: undefined: AppConfigPath agent/appconfig/appconfig.go:97:9: undefined: AppConfigPath agent/appconfig/appconfig.go:120:42: undefined: DefaultCustomInventoryFolder github.com/aws/amazon-ssm-agent/agent/log # github.com/aws/amazon-ssm-agent/agent/log agent/log/defaultconfig.go:22:17: undefined: DefaultLogDir agent/log/log.go:78:9: undefined: getLogConfigBytes ===> Building ssm-session-logger from ./agent/session/logging agent/session/logging/main.go:25:2: build constraints exclude all Go files in /construction/sysutils/amazon-ssm-agent/src/github.com/aws/amazon-ssm-agent/agent/session/logging/console ===> Building ssm-cli from ./agent/cli-main github.com/aws/amazon-ssm-agent/agent/cli/cliutil github.com/aws/amazon-ssm-agent/agent/appconfig github.com/aws/amazon-ssm-agent/agent/cli # github.com/aws/amazon-ssm-agent/agent/appconfig agent/appconfig/appconfig.go:92:22: undefined: AppConfigPath agent/appconfig/appconfig.go:96:43: undefined: AppConfigPath agent/appconfig/appconfig.go:97:9: undefined: AppConfigPath agent/appconfig/appconfig.go:120:42: undefined: DefaultCustomInventoryFolder github.com/aws/amazon-ssm-agent/agent/log # github.com/aws/amazon-ssm-agent/agent/log agent/log/defaultconfig.go:22:17: undefined: DefaultLogDir agent/log/log.go:78:9: undefined: getLogConfigBytes *** Error code 2 Stop. make: stopped in /xports/sysutils/amazon-ssm-agent FAILED 00:00:24