[Docker-maint] Bug#839364: golang: FTBFS: Go version is "go1.6.1", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
Lucas Nussbaum
lucas at debian.org
Sat Oct 1 08:49:37 UTC 2016
Source: golang
Version: 2:1.6.1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20160930 qa-ftbfs
Justification: FTBFS on amd64
Hi,
During a rebuild of all packages in sid, 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.029s
> ok archive/zip 0.085s
> ok bufio 0.105s
> ok bytes 0.128s
> ok compress/bzip2 0.087s
> ok compress/flate 0.304s
> ok compress/gzip 0.014s
> ok compress/lzw 0.004s
> ok compress/zlib 0.032s
> ok container/heap 0.010s
> ok container/list 0.002s
> ok container/ring 0.015s
> ok crypto/aes 0.054s
> ok crypto/cipher 0.004s
> ok crypto/des 0.014s
> ok crypto/dsa 0.005s
> ok crypto/ecdsa 0.049s
> ok crypto/elliptic 0.049s
> ok crypto/hmac 0.003s
> ok crypto/md5 0.004s
> ok crypto/rand 0.027s
> ok crypto/rc4 0.147s
> ok crypto/rsa 0.128s
> ok crypto/sha1 0.004s
> ok crypto/sha256 0.012s
> ok crypto/sha512 0.005s
> ok crypto/subtle 0.006s
> ok crypto/tls 1.334s
> ok crypto/x509 1.657s
> ok database/sql 0.051s
> ok database/sql/driver 0.002s
> ok debug/dwarf 0.014s
> ok debug/elf 0.029s
> ok debug/gosym 0.440s
> ok debug/macho 0.012s
> ok debug/pe 0.012s
> ok debug/plan9obj 0.003s
> ok encoding/ascii85 0.003s
> ok encoding/asn1 0.023s
> ok encoding/base32 0.003s
> ok encoding/base64 0.010s
> ok encoding/binary 0.012s
> ok encoding/csv 0.004s
> ok encoding/gob 0.059s
> ok encoding/hex 0.010s
> ok encoding/json 0.287s
> ok encoding/pem 0.014s
> ok encoding/xml 0.012s
> ok errors 0.009s
> ok expvar 0.013s
> ok flag 0.003s
> ok fmt 0.174s
> ok go/ast 0.017s
> ok go/build 0.095s
> ok go/constant 0.014s
> ok go/doc 0.039s
> ok go/format 0.013s
> ok go/internal/gccgoimporter 0.011s
> ok go/internal/gcimporter 0.212s
> ok go/parser 0.039s
> ok go/printer 0.478s
> ok go/scanner 0.004s
> ok go/token 0.027s
> ok go/types 0.814s
> ok hash/adler32 0.006s
> ok hash/crc32 0.006s
> ok hash/crc64 0.006s
> ok hash/fnv 0.002s
> ok html 0.003s
> ok html/template 0.045s
> ok image 0.161s
> ok image/color 0.134s
> ok image/draw 0.125s
> ok image/gif 0.127s
> ok image/jpeg 0.237s
> ok image/png 0.051s
> ok index/suffixarray 0.010s
> ok internal/golang.org/x/net/http2/hpack 0.010s
> ok internal/singleflight 0.023s
> ok internal/trace 0.006s
> ok io 0.019s
> ok io/ioutil 0.015s
> ok log 0.004s
> ok log/syslog 2.019s
> ok math 0.003s
> ok math/big 0.538s
> ok math/cmplx 0.004s
> ok math/rand 0.120s
> ok mime 0.010s
> ok mime/multipart 0.594s
> ok mime/quotedprintable 0.234s
> ok net 1.619s
> ok net/http 10.044s
> ok net/http/cgi 0.198s
> ok net/http/cookiejar 0.005s
> ok net/http/fcgi 0.004s
> ok net/http/httptest 0.007s
> ok net/http/httputil 0.018s
> ok net/http/internal 0.002s
> ok net/internal/socktest 0.002s
> ok net/mail 0.003s
> ok net/rpc 0.017s
> ok net/rpc/jsonrpc 0.008s
> ok net/smtp 0.051s
> ok net/textproto 0.005s
> ok net/url 0.007s
> ok os 0.277s
> ok os/exec 0.095s
> ok os/signal 4.240s
> ok os/user 0.003s
> ok path 0.002s
> ok path/filepath 0.009s
> ok reflect 0.094s
> ok regexp 0.294s
> ok regexp/syntax 0.549s
> ok runtime 15.830s
> ok runtime/debug 0.022s
> ok runtime/internal/atomic 0.063s
> ok runtime/pprof 1.479s
> ok runtime/trace 2.104s
> ok sort 0.090s
> ok strconv 0.664s
> ok strings 0.167s
> ok sync 0.128s
> ok sync/atomic 0.487s
> ok syscall 0.034s
> ok testing 1.178s
> ok testing/quick 0.081s
> ok text/scanner 0.007s
> ok text/tabwriter 0.004s
> ok text/template 0.023s
> ok text/template/parse 0.012s
> --- FAIL: TestLoadFixed (0.00s)
> time_test.go:943: Now().In(loc).Zone() = "-01", -3600, want "GMT+1", -3600
> FAIL
> FAIL time 2.513s
> ok unicode 0.005s
> ok unicode/utf16 0.002s
> ok unicode/utf8 0.003s
> ok cmd/addr2line 0.795s
> ok cmd/api 0.006s
> ok cmd/asm/internal/asm 0.270s
> ok cmd/asm/internal/lex 0.004s
> ok cmd/compile/internal/big 1.007s
> ok cmd/compile/internal/gc 0.649s
> ok cmd/cover 2.722s
> ok cmd/doc 0.041s
> ok cmd/fix 0.016s
> ok cmd/go 53.747s
> ok cmd/gofmt 0.035s
> ok cmd/internal/goobj 0.002s
> ok cmd/internal/obj 0.002s
> ok cmd/internal/obj/x86 0.006s
> ok cmd/internal/unvendor/golang.org/x/arch/arm/armasm 0.012s
> ok cmd/internal/unvendor/golang.org/x/arch/x86/x86asm 0.298s
> ok cmd/nm 1.438s
> ok cmd/objdump 4.372s
> ok cmd/pack 3.000s
> ok cmd/pprof/internal/profile 0.003s
> ok cmd/vet 4.198s
> 2016/10/01 00:45:01 Failed: exit status 1
>
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok runtime 28.564s
>
> ##### Testing without libgcc.
> ok crypto/x509 2.638s
> ok net 0.013s
> ok os/user 0.012s
>
> ##### sync -cpu=10
> ok sync 0.176s
>
> ##### ../misc/cgo/stdio
>
> ##### ../misc/cgo/life
>
> ##### ../misc/cgo/test
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.957s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.899s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.752s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.011s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.002s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.001s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.015s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.013s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.006s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 1.667s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/testtls 0.016s
> PASS
> ok _/<<PKGBUILDDIR>>/misc/cgo/nocgo 0.025s
>
> ##### Testing race detector
> ok runtime/race 5.824s
> ok flag 1.027s
> ok os/exec 2.034s
> PASS
> scatter = 0x643490
> hello from C
> sqrt is: 0
> ok _/<<PKGBUILDDIR>>/misc/cgo/test 3.040s
> ok flag 1.030s
> ok os/exec 2.044s
>
> ##### ../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 19.390s
>
> ##### ../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 9.301s
>
> ##### ../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
If the failure looks somehow time/timezone related:
Note that this rebuild was performed without the 'tzdata' package
installed in the chroot. tzdata used be (transitively) part of
build-essential, but it no longer is. If this package requires it to
build, it should be added to build-depends. For the release team's
opinion on this, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=836940#185
The full build log is available from:
http://aws-logs.debian.net/2016/09/30/golang_1.6.1-2_unstable.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 Docker-maint
mailing list