[pkg-go] Bug#952321: golang-github-akrennmair-gopcap: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 1 github.com/akrennmair/gopcap returned exit code 2

Lucas Nussbaum lucas at debian.org
Sun Feb 23 13:41:47 GMT 2020


Source: golang-github-akrennmair-gopcap
Version: 0.0~git20150728.0.00e1103-2
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200222 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_auto_configure -O--buildsystem=golang
>    dh_auto_build -O--buildsystem=golang
> 	cd obj-x86_64-linux-gnu && go install -trimpath -v -p 1 github.com/akrennmair/gopcap
> internal/cpu
> internal/bytealg
> runtime/internal/atomic
> runtime/internal/sys
> runtime/internal/math
> runtime
> internal/reflectlite
> errors
> internal/race
> sync/atomic
> sync
> io
> math/bits
> math
> unicode/utf8
> strconv
> unicode
> reflect
> encoding/binary
> sort
> internal/fmtsort
> internal/oserror
> syscall
> time
> internal/poll
> internal/syscall/unix
> internal/testlog
> os
> fmt
> context
> vendor/golang.org/x/net/dns/dnsmessage
> internal/nettrace
> internal/singleflight
> math/rand
> runtime/cgo
> net
> strings
> github.com/akrennmair/gopcap
> # github.com/akrennmair/gopcap
> src/github.com/akrennmair/gopcap/pcap.go:129:13: identifier "_Ctype_struct_pcap_stat" may conflict with identifiers generated by cgo
> src/github.com/akrennmair/gopcap/pcap.go:142:10: identifier "_Ctype_struct_bpf_program" may conflict with identifiers generated by cgo
> src/github.com/akrennmair/gopcap/pcap.go:216:34: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
> src/github.com/akrennmair/gopcap/pcap.go:219:56: identifier "_Ctype_struct_pcap_addr" may conflict with identifiers generated by cgo
> dh_auto_build: error: cd obj-x86_64-linux-gnu && go install -trimpath -v -p 1 github.com/akrennmair/gopcap returned exit code 2
> make: *** [debian/rules:6: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/02/22/golang-github-akrennmair-gopcap_0.0~git20150728.0.00e1103-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 Pkg-go-maintainers mailing list