[pkg-golang-devel] Bug#860606: golang-1.6: FTBFS: Go version is "go1.6.3", ignoring -next /<<PKGBUILDDIR>>/api/next.txt

Lucas Nussbaum lucas at debian.org
Wed Apr 19 06:18:32 UTC 2017


Source: golang-1.6
Version: 1.6.3-1
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.121s
> ok  	archive/zip	0.207s
> ok  	bufio	0.168s
> ok  	bytes	0.254s
> ok  	compress/bzip2	0.209s
> ok  	compress/flate	0.832s
> ok  	compress/gzip	0.125s
> ok  	compress/lzw	0.008s
> ok  	compress/zlib	0.142s
> ok  	container/heap	0.015s
> ok  	container/list	0.037s
> ok  	container/ring	0.029s
> ok  	crypto/aes	0.066s
> ok  	crypto/cipher	0.032s
> ok  	crypto/des	0.025s
> ok  	crypto/dsa	0.066s
> ok  	crypto/ecdsa	0.125s
> ok  	crypto/elliptic	0.067s
> ok  	crypto/hmac	0.019s
> ok  	crypto/md5	0.021s
> ok  	crypto/rand	0.070s
> ok  	crypto/rc4	0.154s
> ok  	crypto/rsa	0.156s
> ok  	crypto/sha1	0.029s
> ok  	crypto/sha256	0.015s
> ok  	crypto/sha512	0.030s
> ok  	crypto/subtle	0.031s
> ok  	crypto/tls	2.701s
> ok  	crypto/x509	2.735s
> ok  	database/sql	0.201s
> ok  	database/sql/driver	0.025s
> ok  	debug/dwarf	0.039s
> ok  	debug/elf	0.060s
> ok  	debug/gosym	0.476s
> ok  	debug/macho	0.035s
> ok  	debug/pe	0.078s
> ok  	debug/plan9obj	0.061s
> ok  	encoding/ascii85	0.026s
> ok  	encoding/asn1	0.010s
> ok  	encoding/base32	0.018s
> ok  	encoding/base64	0.030s
> ok  	encoding/binary	0.018s
> ok  	encoding/csv	0.037s
> ok  	encoding/gob	0.107s
> ok  	encoding/hex	0.062s
> ok  	encoding/json	0.350s
> ok  	encoding/pem	0.064s
> ok  	encoding/xml	0.016s
> ok  	errors	0.036s
> ok  	expvar	0.112s
> ok  	flag	0.018s
> ok  	fmt	0.270s
> ok  	go/ast	0.034s
> ok  	go/build	0.111s
> ok  	go/constant	0.020s
> ok  	go/doc	0.124s
> ok  	go/format	0.077s
> ok  	go/internal/gccgoimporter	0.023s
> ok  	go/internal/gcimporter	0.369s
> ok  	go/parser	0.079s
> ok  	go/printer	0.624s
> ok  	go/scanner	0.110s
> ok  	go/token	0.080s
> ok  	go/types	1.885s
> ok  	hash/adler32	0.053s
> ok  	hash/crc32	0.013s
> ok  	hash/crc64	0.009s
> ok  	hash/fnv	0.021s
> ok  	html	0.072s
> ok  	html/template	0.095s
> ok  	image	0.326s
> ok  	image/color	0.306s
> ok  	image/draw	0.143s
> ok  	image/gif	0.183s
> ok  	image/jpeg	0.349s
> ok  	image/png	0.084s
> ok  	index/suffixarray	0.092s
> ok  	internal/golang.org/x/net/http2/hpack	0.015s
> ok  	internal/singleflight	0.122s
> ok  	internal/trace	0.060s
> ok  	io	0.115s
> ok  	io/ioutil	0.082s
> ok  	log	0.064s
> ok  	log/syslog	2.079s
> ok  	math	0.031s
> ok  	math/big	0.949s
> ok  	math/cmplx	0.039s
> ok  	math/rand	0.126s
> ok  	mime	0.019s
> ok  	mime/multipart	1.139s
> ok  	mime/quotedprintable	0.639s
> ok  	net	1.470s
> ok  	net/http	10.713s
> ok  	net/http/cgi	1.495s
> ok  	net/http/cookiejar	0.034s
> ok  	net/http/fcgi	0.033s
> ok  	net/http/httptest	0.045s
> ok  	net/http/httputil	0.200s
> ok  	net/http/internal	0.077s
> ok  	net/internal/socktest	0.088s
> ok  	net/mail	0.022s
> ok  	net/rpc	0.118s
> ok  	net/rpc/jsonrpc	0.108s
> ok  	net/smtp	0.052s
> ok  	net/textproto	0.008s
> ok  	net/url	0.089s
> ok  	os	0.737s
> ok  	os/exec	0.899s
> ok  	os/signal	4.474s
> ok  	os/user	0.013s
> ok  	path	0.007s
> ok  	path/filepath	0.036s
> ok  	reflect	0.272s
> ok  	regexp	1.108s
> ok  	regexp/syntax	0.583s
> ok  	runtime	19.941s
> ok  	runtime/debug	0.108s
> ok  	runtime/internal/atomic	0.212s
> ok  	runtime/pprof	2.848s
> ok  	runtime/trace	4.136s
> ok  	sort	0.098s
> ok  	strconv	1.152s
> ok  	strings	0.458s
> ok  	sync	0.490s
> ok  	sync/atomic	14.865s
> ok  	syscall	0.182s
> ok  	testing	1.915s
> ok  	testing/quick	0.117s
> ok  	text/scanner	0.035s
> ok  	text/tabwriter	0.012s
> ok  	text/template	0.095s
> ok  	text/template/parse	0.088s
> ok  	time	3.016s
> ok  	unicode	0.023s
> ok  	unicode/utf16	0.013s
> ok  	unicode/utf8	0.009s
> ok  	cmd/addr2line	3.506s
> ok  	cmd/api	0.038s
> ok  	cmd/asm/internal/asm	0.769s
> ok  	cmd/asm/internal/lex	0.067s
> ok  	cmd/compile/internal/big	1.416s
> ok  	cmd/compile/internal/gc	1.251s
> ok  	cmd/cover	4.805s
> ok  	cmd/doc	0.119s
> ok  	cmd/fix	0.061s
> ok  	cmd/go	47.270s
> ok  	cmd/gofmt	0.069s
> ok  	cmd/internal/goobj	0.053s
> ok  	cmd/internal/obj	0.037s
> ok  	cmd/internal/obj/x86	0.044s
> ok  	cmd/internal/unvendor/golang.org/x/arch/arm/armasm	0.062s
> ok  	cmd/internal/unvendor/golang.org/x/arch/x86/x86asm	0.566s
> ok  	cmd/nm	2.654s
> ok  	cmd/objdump	6.402s
> ok  	cmd/pack	5.497s
> ok  	cmd/pprof/internal/profile	0.020s
> ok  	cmd/vet	5.710s
> 
> ##### GOMAXPROCS=2 runtime -cpu=1,2,4
> ok  	runtime	46.900s
> 
> ##### Testing without libgcc.
> ok  	crypto/x509	1.250s
> ok  	net	0.009s
> ok  	os/user	0.005s
> 
> ##### sync -cpu=10
> ok  	sync	0.158s
> 
> ##### ../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.728s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.004s
> 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.004s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/test	1.755s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/testtls	0.005s
> PASS
> ok  	_/<<PKGBUILDDIR>>/misc/cgo/nocgo	0.005s
> 
> ##### Testing race detector
> ok  	runtime/race	2.616s
> ok  	flag	1.013s
> ok  	os/exec	2.036s
> ==108452==ERROR: ThreadSanitizer failed to allocate 0x2710000 (40960000) bytes at address 1fd78bfc04b00 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f5e2fab2245]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f5e2f8dde88)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffd3bb73b00 sp=0x7ffd3bb73ae8
> 
> 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:31:05 Failed: exit status 1
> ==107454==ERROR: ThreadSanitizer failed to allocate 0x26e8000 (40796160) bytes at address 1feae33528680 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7fab8c9e50e5]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7fab8c8b9378)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffd465961e0 sp=0x7ffd465961c8
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	flag	0.012s
> ==107683==ERROR: ThreadSanitizer failed to allocate 0x2720000 (41025536) bytes at address 1fdf0f2350700 (errno: 12)
> unexpected fault address 0x0
> fatal error: fault
> [signal 0x7 code=0x80 addr=0x0 pc=0x7f7c3c36e405]
> 
> goroutine 1 [running, locked to thread]:
> runtime.throw(0x0, 0x7f7c3bfbefa8)
> 	/<<PKGBUILDDIR>>/src/runtime/panic.go:547 +0x90 fp=0x7ffc93e790a0 sp=0x7ffc93e79088
> 
> goroutine 17 [syscall, locked to thread]:
> runtime.goexit()
> 	/<<PKGBUILDDIR>>/src/runtime/asm_amd64.s:1998 +0x1
> FAIL	os/exec	0.011s
> 2017/04/18 22:31:05 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.077s
> 
> ##### ../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.165s
> 
> ##### ../test
> 
> ##### API check
> Go version is "go1.6.3", ignoring -next /<<PKGBUILDDIR>>/api/next.txt
> 
> FAILED
> debian/rules:63: 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.6.3-1_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