[pkg-go] Bug#978179: golang-github-shopify-sarama: FTBFS: src/github.com/DataDog/zstd/zstd_stream.go:7:10: fatal error: zbuff.h: No such file or directory

Lucas Nussbaum lucas at debian.org
Sat Dec 26 21:32:18 GMT 2020


Source: golang-github-shopify-sarama
Version: 1.22.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 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 github.com/Shopify/sarama github.com/Shopify/sarama/mocks
> internal/unsafeheader
> runtime/internal/sys
> internal/cpu
> internal/race
> runtime/internal/atomic
> sync/atomic
> runtime/internal/math
> unicode/utf8
> unicode
> internal/bytealg
> math/bits
> internal/testlog
> math
> container/list
> crypto/internal/subtle
> crypto/subtle
> unicode/utf16
> runtime
> vendor/golang.org/x/crypto/cryptobyte/asn1
> internal/nettrace
> vendor/golang.org/x/crypto/internal/subtle
> github.com/eapache/queue
> encoding
> runtime/cgo
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> bytes
> strings
> reflect
> hash
> bufio
> internal/syscall/unix
> time
> internal/syscall/execenv
> hash/crc32
> crypto
> crypto/internal/randutil
> crypto/hmac
> crypto/rc4
> vendor/golang.org/x/crypto/hkdf
> regexp/syntax
> text/tabwriter
> internal/poll
> context
> github.com/eapache/go-resiliency/breaker
> hash/fnv
> regexp
> internal/fmtsort
> os
> encoding/binary
> crypto/sha512
> crypto/cipher
> crypto/ed25519/internal/edwards25519
> fmt
> crypto/md5
> crypto/aes
> crypto/des
> crypto/sha1
> crypto/sha256
> encoding/base64
> path/filepath
> compress/flate
> math/big
> encoding/hex
> encoding/pem
> io/ioutil
> net
> net/url
> compress/gzip
> 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
> crypto/elliptic
> encoding/asn1
> crypto/rand
> crypto/ed25519
> crypto/rsa
> crypto/dsa
> vendor/golang.org/x/crypto/cryptobyte
> crypto/x509/pkix
> github.com/DataDog/zstd
> github.com/davecgh/go-spew/spew
> crypto/ecdsa
> github.com/golang/snappy
> github.com/pierrec/lz4/internal/xxh32
> runtime/debug
> github.com/eapache/go-xerial-snappy
> github.com/pierrec/lz4
> encoding/json
> # github.com/DataDog/zstd
> src/github.com/DataDog/zstd/zstd_stream.go:7:10: fatal error: zbuff.h: No such file or directory
>     7 | #include "zbuff.h"
>       |          ^~~~~~~~~
> compilation terminated.
> log
> runtime/pprof
> log/syslog
> golang.org/x/net/internal/socks
> crypto/x509
> github.com/rcrowley/go-metrics
> golang.org/x/net/proxy
> crypto/tls
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 4 github.com/Shopify/sarama github.com/Shopify/sarama/mocks returned exit code 2
> make: *** [debian/rules:6: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/golang-github-shopify-sarama_1.22.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!

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