[pkg-go] Bug#954514: golang-gopkg-mcuadros-go-syslog.v2: FTBFS: dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 gopkg.in/mcuadros/go-syslog.v2 gopkg.in/mcuadros/go-syslog.v2/format gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164 gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424 returned exit code 1

Lucas Nussbaum lucas at debian.org
Sun Mar 22 08:19:23 GMT 2020


Source: golang-gopkg-mcuadros-go-syslog.v2
Version: 2.2.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200321 ftbfs-bullseye

Hi,

During a rebuild of all packages in sid, your package failed to build
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-x86_64-linux-gnu && go install -trimpath -v -p 4 gopkg.in/mcuadros/go-syslog.v2 gopkg.in/mcuadros/go-syslog.v2/format gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164 gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424
> runtime/internal/sys
> internal/race
> internal/cpu
> runtime/internal/atomic
> sync/atomic
> runtime/internal/math
> unicode
> internal/bytealg
> unicode/utf8
> container/list
> math/bits
> crypto/internal/subtle
> math
> crypto/subtle
> internal/testlog
> unicode/utf16
> runtime
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> runtime/cgo
> vendor/golang.org/x/crypto/internal/subtle
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> hash
> crypto
> bufio
> reflect
> strings
> crypto/internal/randutil
> crypto/hmac
> internal/syscall/unix
> time
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> context
> internal/poll
> os
> internal/fmtsort
> encoding/binary
> crypto/cipher
> crypto/sha512
> crypto/ed25519/internal/edwards25519
> fmt
> crypto/aes
> crypto/des
> crypto/md5
> crypto/sha1
> crypto/sha256
> encoding/base64
> math/big
> encoding/hex
> encoding/pem
> path/filepath
> net
> net/url
> io/ioutil
> vendor/golang.org/x/crypto/chacha20
> vendor/golang.org/x/crypto/poly1305
> vendor/golang.org/x/sys/cpu
> vendor/golang.org/x/crypto/curve25519
> vendor/golang.org/x/crypto/chacha20poly1305
> gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser
> gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164
> crypto/elliptic
> encoding/asn1
> crypto/rand
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> crypto/ecdsa
> crypto/x509/pkix
> vendor/golang.org/x/crypto/cryptobyte
> gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424
> gopkg.in/mcuadros/go-syslog.v2/format
> crypto/x509
> crypto/tls
> gopkg.in/mcuadros/go-syslog.v2
>    dh_auto_test -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 gopkg.in/mcuadros/go-syslog.v2 gopkg.in/mcuadros/go-syslog.v2/format gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164 gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424
> === RUN   Test
> 
> ----------------------------------------------------------------------
> FAIL: servertls_test.go:57: ServerSuite.TestTLS
> 
> servertls_test.go:80:
>     c.Check(handler.LastLogParts["hostname"], Equals, "hostname")
> ... obtained = nil
> ... expected string = "hostname"
> ... runtime error: invalid memory address or nil pointer dereference
> 
> servertls_test.go:81:
>     c.Check(handler.LastLogParts["tag"], Equals, "tag")
> ... obtained = nil
> ... expected string = "tag"
> ... runtime error: invalid memory address or nil pointer dereference
> 
> servertls_test.go:82:
>     c.Check(handler.LastLogParts["content"], Equals, "content")
> ... obtained = nil
> ... expected string = "content"
> ... runtime error: invalid memory address or nil pointer dereference
> 
> servertls_test.go:83:
>     c.Check(handler.LastLogParts["tls_peer"], Equals, "dummycert1")
> ... obtained = nil
> ... expected string = "dummycert1"
> ... runtime error: invalid memory address or nil pointer dereference
> 
> servertls_test.go:84:
>     c.Check(handler.LastMessageLength, Equals, int64(len(exampleSyslog)))
> ... obtained int64 = 0
> ... expected int64 = 46
> 
> OOPS: 14 passed, 1 FAILED
> --- FAIL: Test (2.33s)
> FAIL
> FAIL	gopkg.in/mcuadros/go-syslog.v2	2.331s
> === RUN   Test
> OK: 6 passed
> --- PASS: Test (0.00s)
> PASS
> ok  	gopkg.in/mcuadros/go-syslog.v2/format	0.006s
> === RUN   Test
> OK: 13 passed
> --- PASS: Test (0.00s)
> PASS
> ok  	gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser	0.010s
> === RUN   Test
> OK: 15 passed
> --- PASS: Test (0.01s)
> PASS
> ok  	gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164	0.012s
> === RUN   Test
> OK: 54 passed
> --- PASS: Test (0.00s)
> PASS
> ok  	gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424	0.005s
> FAIL
> dh_auto_test: error: cd obj-x86_64-linux-gnu && go test -vet=off -v -p 4 gopkg.in/mcuadros/go-syslog.v2 gopkg.in/mcuadros/go-syslog.v2/format gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc3164 gopkg.in/mcuadros/go-syslog.v2/internal/syslogparser/rfc5424 returned exit code 1

The full build log is available from:
   http://qa-logs.debian.net/2020/03/21/golang-gopkg-mcuadros-go-syslog.v2_2.2.1-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!

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