Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OV2rnw + umask 022 + cd /home/zsun/rpmbuild/BUILD + cd /home/zsun/rpmbuild/BUILD + rm -rf caddy-94e382ef0a88f610a3962eefdde355b591f3eac9 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /home/zsun/rpmbuild/SOURCES/caddy-94e382e.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd caddy-94e382ef0a88f610a3962eefdde355b591f3eac9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (systemd-unit-file.patch):' Patch #0 (systemd-unit-file.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file dist/init/linux-systemd/caddy.service + echo 'Patch #1 (build-script.patch):' Patch #1 (build-script.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file caddy/build.bash ++ pwd + export GOPATH=/home/zsun/rpmbuild/BUILD/caddy-94e382ef0a88f610a3962eefdde355b591f3eac9/build + GOPATH=/home/zsun/rpmbuild/BUILD/caddy-94e382ef0a88f610a3962eefdde355b591f3eac9/build + mkdir -p /home/zsun/rpmbuild/BUILD/caddy-94e382ef0a88f610a3962eefdde355b591f3eac9/build/src/github.com/mholt/caddy + cp -r CONTRIBUTING.md ISSUE_TEMPLATE LICENSE.txt README.md appveyor.yml assets.go assets_test.go build caddy caddy.go caddy_test.go caddyfile caddyhttp caddytls commands.go commands_test.go controller.go dist plugins.go rlimit_posix.go rlimit_windows.go sigtrap.go sigtrap_posix.go sigtrap_windows.go startupshutdown /home/zsun/rpmbuild/BUILD/caddy-94e382ef0a88f610a3962eefdde355b591f3eac9/build/src/github.com/mholt/caddy cp: cannot copy a directory, 'build', into itself, '/home/zsun/rpmbuild/BUILD/caddy-94e382ef0a88f610a3962eefdde355b591f3eac9/build/src/github.com/mholt/caddy/build' + : + go get -d github.com/mholt/caddy/... package golang.org/x/crypto/curve25519: unrecognized import path "golang.org/x/crypto/curve25519" (https fetch: Get https://golang.org/x/crypto/curve25519?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/crypto/hkdf: unrecognized import path "golang.org/x/crypto/hkdf" (https fetch: Get https://golang.org/x/crypto/hkdf?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/net/http2: unrecognized import path "golang.org/x/net/http2" (https fetch: Get https://golang.org/x/net/http2?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/net/http2/hpack: unrecognized import path "golang.org/x/net/http2/hpack" (https fetch: Get https://golang.org/x/net/http2/hpack?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/net/idna: unrecognized import path "golang.org/x/net/idna" (https fetch: Get https://golang.org/x/net/idna?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/net/lex/httplex: unrecognized import path "golang.org/x/net/lex/httplex" (https fetch: Get https://golang.org/x/net/lex/httplex?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/crypto/ocsp: unrecognized import path "golang.org/x/crypto/ocsp" (https fetch: Get https://golang.org/x/crypto/ocsp?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) package golang.org/x/net/publicsuffix: unrecognized import path "golang.org/x/net/publicsuffix" (https fetch: Get https://golang.org/x/net/publicsuffix?go-get=1: dial tcp 216.239.37.1:443: i/o timeout) error: Bad exit status from /var/tmp/rpm-tmp.OV2rnw (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.OV2rnw (%prep)