Peter, Yes, It's really, really annoying. See https://github.com/golang/go/issues/21452.
Temporarily, I'm running $ rm -f ../pkg/linux_amd64_shared/runtime/cgo.a && ./all.bash Peter On Sunday, August 20, 2017 at 12:57:43 AM UTC-4, Peter Arnt wrote: > > Greetings, > > I have been tracking the recent changes taking place on the Go master > branch as we come up on a 1.9 official release. A couple times a week I > would refresh my local Go repo with the following command: > $ git pull origin master > > Then, after my local repo update completes: > > $ cd src > $ export GOROOT_BOOTSTRAP=/usr/local/go1.4.3 > $ ./all.bash > > Typically, after a few minutes, A successful build is reported. Nice. > > As of a couple of weeks ago, I started getting build failures after using > the above procedure. > I could not believe that the Go developers would leave the master branch > in such a defective state. So, I decided to re-download the entire Golang > repo and build the toolchain again. > To my surprise, It builds successfully. > > So, Why is a refreshed Go repo not building the same as a newly fetched > repo? > > The build failures are in the Package Tests section of the ./all.bash > script. > > Here is the relevant section of the report generated during ./all.bash > execution: > > > ##### Testing packages. > ok archive/tar 0.073s > ok archive/zip 2.945s > ok bufio 0.078s > ok bytes 1.377s > ok compress/bzip2 0.082s > ok compress/flate 1.266s > ok compress/gzip 0.025s > ok compress/lzw 0.012s > ok compress/zlib 0.105s > ok container/heap 0.034s > ok container/list 0.020s > ok container/ring 0.027s > ok context 1.008s > ok crypto 0.011s > ok crypto/aes 0.030s > ok crypto/cipher 0.044s > ok crypto/des 0.013s > ok crypto/dsa 0.011s > ok crypto/ecdsa 0.088s > ok crypto/elliptic 0.095s > ok crypto/hmac 0.002s > ok crypto/md5 0.004s > ok crypto/rand 0.062s > ok crypto/rc4 0.124s > ok crypto/rsa 0.248s > ok crypto/sha1 0.066s > ok crypto/sha256 0.012s > ok crypto/sha512 0.033s > ok crypto/subtle 0.005s > ok crypto/tls 1.113s > ok crypto/x509 1.520s > ok database/sql 0.593s > ok database/sql/driver 0.002s > ok debug/dwarf 0.028s > ok debug/elf 0.042s > ok debug/gosym 0.411s > ok debug/macho 0.003s > ok debug/pe 0.009s > ok debug/plan9obj 0.002s > ok encoding/ascii85 0.012s > ok encoding/asn1 0.002s > ok encoding/base32 0.016s > ok encoding/base64 0.018s > ok encoding/binary 0.004s > ok encoding/csv 0.002s > ok encoding/gob 0.084s > ok encoding/hex 0.003s > ok encoding/json 0.771s > ok encoding/pem 0.036s > ok encoding/xml 0.045s > ok errors 0.048s > ok expvar 0.030s > ok flag 0.002s > ok fmt 0.171s > ok go/ast 0.003s > ok go/build 0.235s > ok go/constant 0.010s > ok go/doc 0.110s > ok go/format 0.008s > ok go/internal/gccgoimporter 0.036s > ok go/internal/gcimporter 0.624s > ok go/internal/srcimporter 0.758s > ok go/parser 0.040s > ok go/printer 0.610s > ok go/scanner 0.014s > ok go/token 0.022s > ok go/types 1.058s > ok hash/adler32 0.006s > ok hash/crc32 0.020s > ok hash/crc64 0.010s > ok hash/fnv 0.006s > ok html 0.031s > ok html/template 0.041s > ok image 0.116s > ok image/color 0.027s > ok image/draw 0.058s > ok image/gif 0.113s > ok image/jpeg 0.281s > ok image/png 0.051s > ok index/suffixarray 0.011s > ok internal/cpu 0.001s > ok internal/poll 0.007s > ok internal/singleflight 0.027s > ok internal/trace 0.854s > ok io 0.032s > ok io/ioutil 0.011s > ok log 0.030s > ok log/syslog 1.213s > ok math 0.024s > ok math/big 2.820s > ok math/bits 0.003s > ok math/cmplx 0.009s > ok math/rand 0.081s > ok mime 0.006s > ok mime/multipart 0.617s > ok mime/quotedprintable 0.238s > ok net 1.336s > ok net/http 2.598s > ok net/http/cgi 0.396s > ok net/http/cookiejar 0.021s > ok net/http/fcgi 0.042s > ok net/http/httptest 0.050s > ok net/http/httptrace 0.016s > ok net/http/httputil 0.073s > ok net/http/internal 0.032s > ok net/internal/socktest 0.015s > ok net/mail 0.027s > ok net/rpc 0.013s > ok net/rpc/jsonrpc 0.006s > ok net/smtp 0.028s > ok net/textproto 0.023s > ok net/url 0.004s > ok os 0.365s > ok os/exec 0.600s > ok os/signal 4.655s > ok os/user 0.003s > ok path 0.002s > ok path/filepath 0.008s > ok reflect 0.337s > ok regexp 0.275s > ok regexp/syntax 0.559s > ok runtime 30.504s > ok runtime/debug 0.015s > ok runtime/internal/atomic 0.209s > ok runtime/internal/sys 0.021s > ok runtime/pprof 4.521s > ok runtime/pprof/internal/profile 0.005s > ok runtime/trace 3.251s > ok sort 0.069s > ok strconv 0.621s > ok strings 0.212s > ok sync 6.196s > ok sync/atomic 0.387s > ok syscall 2.301s > ok testing 1.169s > ok testing/quick 0.138s > ok text/scanner 0.003s > ok text/tabwriter 0.010s > ok text/template 0.365s > ok text/template/parse 0.031s > ok time 2.615s > ok unicode 0.002s > ok unicode/utf16 0.002s > ok unicode/utf8 0.004s > ok vendor/golang_org/x/crypto/chacha20poly1305 0.181s > ok vendor/golang_org/x/crypto/chacha20poly1305/internal/chacha20 0.001s > ok vendor/golang_org/x/crypto/curve25519 0.030s > ok vendor/golang_org/x/crypto/poly1305 0.007s > ok vendor/golang_org/x/net/http2/hpack 0.004s > ok vendor/golang_org/x/net/idna 0.006s > ok vendor/golang_org/x/net/lex/httplex 0.012s > ok vendor/golang_org/x/net/nettest 1.146s > ok vendor/golang_org/x/net/proxy 0.004s > ok vendor/golang_org/x/text/transform 0.001s > ok vendor/golang_org/x/text/unicode/norm 0.023s > ok cmd/addr2line 1.583s > ok cmd/api 0.007s > ok cmd/asm/internal/asm 0.265s > ok cmd/asm/internal/lex 0.002s > ok cmd/compile 12.023s > ok cmd/compile/internal/gc 12.191s > ok cmd/compile/internal/ssa 0.143s > ok cmd/compile/internal/syntax 0.021s > ok cmd/compile/internal/test 0.014s [no tests to run] > ok cmd/compile/internal/types 0.020s > ok cmd/cover 2.370s > ok cmd/dist 0.025s > ok cmd/doc 0.063s > ok cmd/fix 0.072s > --- FAIL: TestBuildmodePIE (1.46s) > go_test.go:4375: running testgo [build -buildmode=pie -o > /tmp/gotest561745736/main /tmp/gotest561745736/main.go] > go_test.go:4375: standard error: > go_test.go:4375: # command-line-arguments > /usr/local/go1.9/pkg/linux_amd64_shared/runtime/cgo.a(_go_.o): object is > [linux amd64 devel +ee71494 Wed Aug 16 21:57:56 2017 +0000 X:framepointer] > expected [linux amd64 devel +ff90f4a Sat Aug 19 12:56:24 2017 +0000 ] > /usr/local/go1.9/pkg/linux_amd64_shared/runtime/cgo.a(asm_amd64.o): object > is [linux amd64 devel +ee71494 Wed Aug 16 21:57:56 2017 +0000] expected > [linux amd64 devel +ff90f4a Sat Aug 19 12:56:24 2017 +0000 ] > go_test.go:4375: go [build -buildmode=pie -o /tmp/gotest561745736/main > /tmp/gotest561745736/main.go] failed unexpectedly: exit status 2 > FAIL > FAIL cmd/go 57.950s > ok cmd/go/internal/generate 0.015s > ok cmd/go/internal/get 0.022s > ok cmd/go/internal/load 0.011s > ok cmd/go/internal/work 0.022s > ok cmd/gofmt 0.042s > ok cmd/internal/dwarf 0.014s > ok cmd/internal/obj 0.036s > ok cmd/internal/obj/arm64 0.006s > ok cmd/internal/obj/x86 0.262s > ok cmd/internal/objabi 0.032s > ok cmd/internal/src 0.045s > ok cmd/link 5.630s > ok cmd/link/internal/ld 4.503s > ok cmd/nm 4.617s > ok cmd/objdump 2.162s > ok cmd/pack 1.949s > ok cmd/trace 0.012s > ok cmd/vendor/github.com/google/pprof/internal/binutils 0.012s > ok cmd/vendor/github.com/google/pprof/internal/driver 0.388s > ok cmd/vendor/github.com/google/pprof/internal/elfexec 0.020s > ok cmd/vendor/github.com/google/pprof/internal/graph 0.011s > ok cmd/vendor/github.com/google/pprof/internal/report 0.004s > ok cmd/vendor/github.com/google/pprof/internal/symbolizer 0.006s > ok cmd/vendor/github.com/google/pprof/internal/symbolz 0.002s > ok cmd/vendor/github.com/google/pprof/profile 0.069s > ok cmd/vendor/github.com/ianlancetaylor/demangle 0.017s > ok cmd/vendor/golang.org/x/arch/arm/armasm 0.025s > ok cmd/vendor/golang.org/x/arch/arm64/arm64asm 0.141s > ok cmd/vendor/golang.org/x/arch/ppc64/ppc64asm 0.010s > ok cmd/vendor/golang.org/x/arch/x86/x86asm 0.092s > ok cmd/vet 1.637s > ok cmd/vet/internal/cfg 0.002s > 2017/08/19 11:07:56 Failed: exit status 1 > > My OS is Linux Mint AMD64. > > $ uname -a > Linux AMD6CORE 4.4.0-89-generic #112-Ubuntu SMP Mon Jul 31 19:38:41 UTC > 2017 x86_64 x86_64 x86_64 GNU/Linux > > Any help with this would be greatly appreciated. > > -Pete > > > > > > > > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.