------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/go-1.14.3,1.txz SUCCEEDED 00:00:16 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by codesearch-1.1.0 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by codesearch-1.1.0 for building => SHA256 Checksum OK for google-codesearch-v1.1.0_GH0.tar.gz. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by codesearch-1.1.0 for building ===> Extracting for codesearch-1.1.0 => SHA256 Checksum OK for google-codesearch-v1.1.0_GH0.tar.gz. Extracted Memory Use: 0.18M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for codesearch-1.1.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/bin/go - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> codesearch-1.1.0 depends on file: /usr/local/bin/go - found ===> Configuring for codesearch-1.1.0 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for codesearch-1.1.0 (cd /construction/textproc/codesearch/src/github.com/google/codesearch; for t in ./cmd/cgrep ./cmd/cindex ./cmd/csearch; do out=$(/usr/bin/basename $(echo ${t} | /usr/bin/sed -Ee 's/^[^:]*:([^:]+).*$/\1/' -e 's/^\.$/codesearch/')); pkg=$(echo ${t} | /usr/bin/sed -Ee 's/^([^:]*).*$/\1/' -e 's/^codesearch$/./'); echo "===> Building ${out} from ${pkg}"; /usr/bin/env XDG_DATA_HOME=/construction/textproc/codesearch XDG_CONFIG_HOME=/construction/textproc/codesearch HOME=/construction/textproc/codesearch TMPDIR="/tmp" PATH=/construction/textproc/codesearch/.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/textproc/codesearch" GOBIN="" /usr/local/bin/go build -v -buildmode=exe -ldflags=-s -o /construction/textproc/codesearch/bin/${out} ${pkg}; done) ===> Building cgrep from ./cmd/cgrep github.com/google/codesearch/sparse github.com/google/codesearch/regexp github.com/google/codesearch/cmd/cgrep ===> Building cindex from ./cmd/cindex github.com/google/codesearch/index # github.com/google/codesearch/index index/read.go:426:9: undefined: mmapFile index/write.go:342:10: undefined: mmapFile ===> Building csearch from ./cmd/csearch github.com/google/codesearch/index # github.com/google/codesearch/index index/read.go:426:9: undefined: mmapFile index/write.go:342:10: undefined: mmapFile *** Error code 2 Stop. make: stopped in /xports/textproc/codesearch FAILED 00:00:02