[pkg-go] Bug#976564: golang-github-linuxkit-virtsock: FTBFS: dh_auto_build: error: cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 github.com/linuxkit/virtsock/cmd/sock_stress github.com/linuxkit/virtsock/cmd/vsudd github.com/linuxkit/virtsock/pkg/hvsock github.com/linuxkit/virtsock/pkg/vsock returned exit code 2

Lucas Nussbaum lucas at debian.org
Sat Dec 5 13:23:41 GMT 2020


Source: golang-github-linuxkit-virtsock
Version: 0.0~git20170720.0.0416e3d-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/linuxkit/virtsock/cmd/sock_stress github.com/linuxkit/virtsock/cmd/vsudd github.com/linuxkit/virtsock/pkg/hvsock github.com/linuxkit/virtsock/pkg/vsock
> internal/unsafeheader
> runtime/internal/sys
> internal/cpu
> runtime/internal/atomic
> internal/race
> runtime/internal/math
> sync/atomic
> math/bits
> internal/bytealg
> unicode/utf8
> unicode
> internal/testlog
> math
> golang.org/x/sys/internal/unsafeheader
> runtime
> internal/nettrace
> runtime/cgo
> internal/reflectlite
> sync
> internal/singleflight
> math/rand
> errors
> sort
> io
> internal/oserror
> strconv
> syscall
> vendor/golang.org/x/net/dns/dnsmessage
> hash
> strings
> crypto
> reflect
> bytes
> internal/syscall/unix
> time
> internal/syscall/execenv
> context
> internal/poll
> internal/fmtsort
> encoding/binary
> os
> crypto/md5
> golang.org/x/sys/unix
> fmt
> net
> path/filepath
> flag
> log
> net/url
> github.com/linuxkit/virtsock/pkg/vsock
> log/syslog
> github.com/linuxkit/virtsock/pkg/hvsock
> # github.com/linuxkit/virtsock/pkg/hvsock
> src/github.com/linuxkit/virtsock/pkg/hvsock/hvsock_linux.go: In function ‘accept_hv’:
> src/github.com/linuxkit/virtsock/pkg/hvsock/hvsock_linux.go:33:12: warning: implicit declaration of function ‘accept4’; did you mean ‘accept’? [-Wimplicit-function-declaration]
>    33 |     return accept4(fd, (struct sockaddr *)sa_hv, sa_hv_len, 0);
>       |            ^~~~~~~
>       |            accept
> github.com/linuxkit/virtsock/cmd/vsudd
> github.com/linuxkit/virtsock/cmd/sock_stress
> # github.com/linuxkit/virtsock/cmd/vsudd
> src/github.com/linuxkit/virtsock/cmd/vsudd/main.go:102:3: undefined: syscall.Dup2
> src/github.com/linuxkit/virtsock/cmd/vsudd/main.go:103:3: undefined: syscall.Dup2
> src/github.com/linuxkit/virtsock/cmd/vsudd/main.go:104:3: undefined: syscall.Dup2
> dh_auto_build: error: cd obj-aarch64-linux-gnu && go install -trimpath -v -p 4 github.com/linuxkit/virtsock/cmd/sock_stress github.com/linuxkit/virtsock/cmd/vsudd github.com/linuxkit/virtsock/pkg/hvsock github.com/linuxkit/virtsock/pkg/vsock returned exit code 2
> make: *** [debian/rules:4: build] Error 25

The full build log is available from:
   http://qa-logs.debian.net/2020/12/05/golang-github-linuxkit-virtsock_0.0~git20170720.0.0416e3d-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