[pkg-golang-devel] Bug#860608: golang: FTBFS: Go version is "go1.6.1", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
Lucas Nussbaum
lucas at debian.org
Wed Apr 19 06:21:30 UTC 2017
Source: golang
Version: 2:1.6.1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170418 qa-ftbfs
Justification: FTBFS in stretch on amd64
Hi,
During a rebuild of all packages in stretch (in a stretch chroot, not a
sid chroot), your package failed to build on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> set -ex; \
> cd src; \
> export PATH="/<<PKGBUILDDIR>>/bin:$PATH"; \
> eval "$(go tool dist env)"; \
> bash run.bash -k -no-rebuild;
> + cd src
> + export PATH=/<<PKGBUILDDIR>>/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> + go tool dist env
> + eval CC="gcc"
> CC_FOR_TARGET="gcc"
> GOROOT="/<<PKGBUILDDIR>>"
> GOBIN="/<<PKGBUILDDIR>>/bin"
> GOARCH="amd64"
> GOOS="linux"
> GOHOSTARCH="amd64"
> GOHOSTOS="linux"
> GOTOOLDIR="/<<PKGBUILDDIR>>/pkg/tool/linux_amd64"
> + CC=gcc
> + CC_FOR_TARGET=gcc
> + GOROOT=/<<PKGBUILDDIR>>
> + GOBIN=/<<PKGBUILDDIR>>/bin
> + GOARCH=amd64
> + GOOS=linux
> + GOHOSTARCH=amd64
> + GOHOSTOS=linux
> + GOTOOLDIR=/<<PKGBUILDDIR>>/pkg/tool/linux_amd64
> + bash run.bash -k -no-rebuild
>
> ##### Testing packages.
> ok archive/tar 0.019s
> ok archive/zip 0.215s
> ok bufio 0.193s
> ok bytes 0.204s
> ok compress/bzip2 0.247s
> ok compress/flate 0.831s
> ok compress/gzip 0.100s
> ok compress/lzw 0.039s
> ok compress/zlib 0.168s
> ok container/heap 0.009s
> ok container/list 0.038s
> ok container/ring 0.017s
> ok crypto/aes 0.083s
> ok crypto/cipher 0.015s
> ok crypto/des 0.085s
> ok crypto/dsa 0.055s
> ok crypto/ecdsa 0.072s
> ok crypto/elliptic 0.125s
> ok crypto/hmac 0.024s
> ok crypto/md5 0.047s
> ok crypto/rand 0.050s
> ok crypto/rc4 0.213s
> ok crypto/rsa 0.146s
> ok crypto/sha1 0.049s
> ok crypto/sha256 0.036s
> ok crypto/sha512 0.019s
> ok crypto/subtle 0.008s
> ok crypto/tls 2.594s
> ok crypto/x509 3.088s
> ok database/sql 0.136s
> ok database/sql/driver 0.066s
> ok debug/dwarf 0.039s
> ok debug/elf 0.117s
> ok debug/gosym 0.520s
> ok debug/macho 0.032s
> ok debug/pe 0.034s
> ok debug/plan9obj 0.017s
> ok encoding/ascii85 0.088s
> ok encoding/asn1 0.021s
> ok encoding/base32 0.020s
> ok encoding/base64 0.035s
> ok encoding/binary 0.043s
> ok encoding/csv 0.037s
> ok encoding/gob 0.055s
> ok encoding/hex 0.048s
> ok encoding/json 0.412s
> ok encoding/pem 0.046s
> ok encoding/xml 0.024s
> ok errors 0.021s
> ok expvar 0.017s
> ok flag 0.026s
> ok fmt 0.205s
> ok go/ast 0.040s
> ok go/build 0.205s
> ok go/constant 0.023s
> ok go/doc 0.125s
> ok go/format 0.041s
> ok go/internal/gccgoimporter 0.013s
> ok go/internal/gcimporter 0.314s
> ok go/parser 0.086s
> ok go/printer 0.716s
> ok go/scanner 0.049s
> ok go/token 0.044s
> ok go/types 1.656s
> ok hash/adler32 0.032s
> ok hash/crc32 0.039s
> ok hash/crc64 0.045s
> ok hash/fnv 0.038s
> ok html 0.019s
> ok html/template 0.078s
> ok image 0.226s
> ok image/color 0.110s
> ok image/draw 0.117s
> ok image/gif 0.160s
> ok image/jpeg 0.341s
> ok image/png 0.103s
> ok index/suffixarray 0.044s
> ok internal/golang.org/x/net/http2/hpack 0.029s
> ok internal/singleflight 0.062s
> ok internal/trace 0.069s
> ok io 0.048s
> ok io/ioutil 0.014s
> ok log 0.020s
> ok log/syslog 2.055s
> ok math 0.017s
> ok math/big 1.017s
> ok math/cmplx 0.009s
> ok math/rand 0.189s
> ok mime 0.087s
> ok mime/multipart 1.560s
> ok mime/quotedprintable 0.759s
> ok net 1.464s
> ok net/http 10.894s
> ok net/http/cgi 0.616s
> ok net/http/cookiejar 0.012s
> ok net/http/fcgi 0.009s
> ok net/http/httptest 0.026s
> ok net/http/httputil 0.218s
> ok net/http/internal 0.066s
> ok net/internal/socktest 0.007s
> ok net/mail 0.021s
> ok net/rpc 0.182s
> ok net/rpc/jsonrpc 0.109s
> ok net/smtp 0.047s
> ok net/textproto 0.021s
> ok net/url 0.124s
> ok os 0.361s
> ok os/exec 0.947s
> ok os/signal 4.541s
> ok os/user 0.031s
> ok path 0.010s
> ok path/filepath 0.027s
> ok reflect 0.344s
> ok regexp 0.968s
> ok regexp/syntax 0.721s
> ok runtime 17.240s
> ok runtime/debug 0.073s
> ok runtime/internal/atomic 0.245s
> ok runtime/pprof 3.205s
> ok runtime/trace 4.303s
> ok sort 0.130s
> ok strconv 1.098s
> ok strings 0.234s
> ok sync 0.267s
> ok sync/atomic 14.591s
> ok syscall 0.033s
> ok testing 1.213s
> ok testing/quick 0.099s
> ok text/scanner 0.048s
> ok text/tabwriter 0.016s
> ok text/template 0.120s
> ok text/template/parse 0.060s
> ok time 3.062s
> ok unicode 0.018s
> ok unicode/utf16 0.014s
> ok unicode/utf8 0.041s
> ok cmd/addr2line 2.645s
> ok cmd/api 0.050s
> ok cmd/asm/internal/asm 0.504s
> ok cmd/asm/internal/lex 0.065s
> ok cmd/compile/internal/big 1.387s
> ok cmd/compile/internal/gc 1.088s
> ok cmd/cover 4.701s
> ok cmd/doc 0.128s
> ok cmd/fix 0.081s
> ok cmd/go 46.882s
> ok cmd/gofmt 0.171s
> ok cmd/internal/goobj 0.130s
> ok cmd/internal/obj 0.030s
> ok cmd/internal/obj/x86 0.033s
> ok cmd/internal/unvendor/golang.org/x/arch/arm/armasm 0.034s
> ok cmd/internal/unvendor/golang.org/x/arch/x86/x86asm 0.588s
> ok cmd/nm 2.620s
> ok cmd/objdump 6.981s
> ok cmd/pack 5.450s
> ok cmd/pprof/internal/profile 0.038s
> ok cmd/vet 6.297s
>
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok runtime 31.536s
>
> ##### Testing without libgcc.
> ok crypto/x509 1.153s
> ok net 0.010s
> ok os/user 0.004s
>
> ##### sync -cpu=10
> ok sync 0.163s
>
> ##### ../misc/cgo/stdio
>
> ##### ../misc/cgo/life
>
> ##### ../misc/cgo/test
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.760s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.771s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.720s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.003s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.003s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.005s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.003s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.778s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.004s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.004s
>
> ##### Testing race detector
> ok runtime/race 2.681s
> ok flag 1.012s
> ok os/exec 2.036s
> ==109864==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 1fdd294cccb00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f74a4ee7c95]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f74a4d13cf8)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffe9a46c9a0 sp=0x7ffe9a46c988
>
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> /<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1 fp=0xc820088fb8 sp=0xc820088fb0
> exit status 2
> FAIL _/<<PKGBUILDDIR>>/misc/cgo/test 0.010s
> 2017/04/18 22:30:58 Failed: exit status 1
> ==108865==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 1fc7938aec680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f1e4df56e65]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f1e4de2b208)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffe2d4b41c0 sp=0x7ffe2d4b41a8
>
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> /<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL flag 0.008s
> ==109086==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1ff5e699f8700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7fd79a119305]
>
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7fd799d6a8d8)
> /<<PKGBUILDDIR>>/src/runtime/panic.go:530 +0x90 fp=0x7ffff235d5e0 sp=0x7ffff235d5c8
>
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> /<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL os/exec 0.014s
> 2017/04/18 22:30:58 Failed: exit status 1
>
> ##### ../misc/cgo/testgodefs
>
> ##### ../misc/cgo/testso
>
> ##### ../misc/cgo/testsovar
>
> ##### ../misc/cgo/testcarchive
> PASS
> PASS
> PASS
> PASS
> PASS
> PASS
>
> ##### ../misc/cgo/testcshared
> ok
>
> ##### ../misc/cgo/testshared
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testshared 11.201s
>
> ##### ../misc/cgo/testasan
>
> ##### ../misc/cgo/testsanitizers
> skipping msan test: -fsanitize=memory not supported
>
> ##### ../misc/cgo/errors
>
> ##### ../misc/cgo/testsigfwd
>
> ##### ../test/bench/go1
> testing: warning: no tests to run
> PASS
> ok _/<<PKGBUILDDIR>>/test/bench/go1 3.118s
>
> ##### ../test
>
> ##### API check
> Go version is "go1.6.1", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
>
> FAILED
> debian/rules:32: recipe for target 'override_dh_auto_test-arch' failed
> make[1]: *** [override_dh_auto_test-arch] Error 1
The full build log is available from:
http://aws-logs.debian.net/2017/04/18/golang_1.6.1-2_testing.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-golang-devel
mailing list