[pkg-go] Bug#976578: golang-github-labstack-gommon: FTBFS: dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/labstack/gommon github.com/labstack/gommon/bytes github.com/labstack/gommon/color github.com/labstack/gommon/email github.com/labstack/gommon/log github.com/labstack/gommon/random returned exit code 1

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:22:27 GMT 2020


Source: golang-github-labstack-gommon
Version: 0.2.6-1
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).

Relevant part (hopefully):
>  debian/rules build
> dh build --buildsystem=golang --with=golang
>    dh_update_autotools_config -O--buildsystem=golang
>    dh_autoreconf -O--buildsystem=golang
>    dh_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 github.com/labstack/gommon github.com/labstack/gommon/bytes github.com/labstack/gommon/color github.com/labstack/gommon/email github.com/labstack/gommon/log github.com/labstack/gommon/random
> github.com/labstack/gommon
> internal/unsafeheader
> internal/cpu
> runtime/internal/sys
> runtime/internal/atomic
> math/bits
> runtime/internal/math
> internal/bytealg
> unicode/utf8
> math
> internal/race
> sync/atomic
> unicode
> runtime
> internal/testlog
> golang.org/x/sys/internal/unsafeheader
> container/list
> crypto/internal/subtle
> crypto/subtle
> unicode/utf16
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> runtime/cgo
> vendor/golang.org/x/crypto/internal/subtle
> encoding
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> vendor/golang.org/x/net/dns/dnsmessage
> syscall
> bytes
> reflect
> strings
> hash
> crypto
> regexp/syntax
> crypto/internal/randutil
> bufio
> internal/syscall/unix
> time
> internal/syscall/execenv
> crypto/hmac
> regexp
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> html
> internal/fmtsort
> encoding/binary
> internal/poll
> context
> github.com/labstack/gommon/random
> github.com/valyala/bytebufferpool
> golang.org/x/sys/unix
> crypto/cipher
> crypto/sha512
> os
> crypto/ed25519/internal/edwards25519
> crypto/aes
> fmt
> crypto/des
> crypto/md5
> crypto/sha1
> crypto/sha256
> encoding/base64
> path/filepath
> github.com/labstack/gommon/bytes
> math/big
> github.com/mattn/go-isatty
> encoding/hex
> github.com/mattn/go-colorable
> encoding/pem
> github.com/labstack/gommon/color
> io/ioutil
> net
> net/url
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/chacha20poly1305
> encoding/json
> text/template/parse
> crypto/elliptic
> encoding/asn1
> crypto/rand
> crypto/dsa
> crypto/ed25519
> text/template
> crypto/rsa
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> log
> crypto/ecdsa
> html/template
> mime
> github.com/valyala/fasttemplate
> path
> github.com/labstack/gommon/log
> net/textproto
> crypto/x509
> net/mail
> crypto/tls
> net/smtp
> github.com/labstack/gommon/email
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/labstack/gommon github.com/labstack/gommon/bytes github.com/labstack/gommon/color github.com/labstack/gommon/email github.com/labstack/gommon/log github.com/labstack/gommon/random
> ?   	github.com/labstack/gommon	[no test files]
> === RUN   TestBytesFormat
> --- PASS: TestBytesFormat (0.00s)
> === RUN   TestBytesParseErrors
> --- PASS: TestBytesParseErrors (0.00s)
> === RUN   TestFloats
> --- PASS: TestFloats (0.00s)
> === RUN   TestBytesParse
>     bytes_test.go:146: 
>         	Error Trace:	bytes_test.go:146
>         	Error:      	Should be true
>         	Test:       	TestBytesParse
>     bytes_test.go:150: 
>         	Error Trace:	bytes_test.go:150
>         	Error:      	Should be true
>         	Test:       	TestBytesParse
> --- FAIL: TestBytesParse (0.00s)
> FAIL
> FAIL	github.com/labstack/gommon/bytes	0.017s
> === RUN   TestText
> *** colored text ***
> black
> red
> green
> yellow
> blue
> magenta
> cyan
> white
> grey
> --- PASS: TestText (0.00s)
> === RUN   TestBackground
> *** colored background ***
> black background
> red background
> green background
> yellow background
> blue background
> magenta background
> cyan background
> white background
> --- PASS: TestBackground (0.00s)
> === RUN   TestEmphasis
> *** emphasis ***
> reset
> bold
> dim
> italic
> underline
> inverse
> hidden
> strikeout
> --- PASS: TestEmphasis (0.00s)
> === RUN   TestMixMatch
> *** mix and match ***
> bold green with white background
> underline red
> dim yellow
> inverse cyan
> bold underline dim blue
> --- PASS: TestMixMatch (0.00s)
> === RUN   TestEnableDisable
> --- PASS: TestEnableDisable (0.00s)
> PASS
> ok  	github.com/labstack/gommon/color	0.002s
> testing: warning: no tests to run
> PASS
> ok  	github.com/labstack/gommon/email	0.003s [no tests to run]
> === RUN   TestLog
> --- PASS: TestLog (0.00s)
> === RUN   TestGlobal
> --- PASS: TestGlobal (0.00s)
> === RUN   TestLogConcurrent
> --- PASS: TestLogConcurrent (0.00s)
> === RUN   TestFatal
> --- PASS: TestFatal (0.00s)
> === RUN   TestNoFormat
> --- PASS: TestNoFormat (0.00s)
> === RUN   TestFormat
> --- PASS: TestFormat (0.00s)
> === RUN   TestJSON
> --- PASS: TestJSON (0.00s)
> === RUN   TestStringWithQuotes
> --- PASS: TestStringWithQuotes (0.00s)
> PASS
> ok  	github.com/labstack/gommon/log	0.008s
> === RUN   Test
> --- PASS: Test (0.00s)
> PASS
> ok  	github.com/labstack/gommon/random	0.004s
> FAIL
> dh_auto_test: error: cd obj-aarch64-linux-gnu && go test -vet=off -v -p 4 github.com/labstack/gommon github.com/labstack/gommon/bytes github.com/labstack/gommon/color github.com/labstack/gommon/email github.com/labstack/gommon/log github.com/labstack/gommon/random returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/golang-github-labstack-gommon_0.2.6-1_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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-go-maintainers mailing list