On 7/29/22 9:26 PM, Pirate Praveen wrote:
Package: gitlab
Version: 15.0.4+ds1-1
Severity: important
x-debbugs-cc: [email protected]

While trying to build gitlab 15.1.4, build failed with error

# gitlab.com/gitlab-org/gitlab/workhorse
/usr/bin/ld: $WORK/b271/_pkg_.a(_go_.o): in function 
`golang_0org_1x_1net_1internal_1socket.Conn.recvMsg..func1':
./src/golang.org/x/net/internal/socket/sys_unix.go:38: undefined reference to 
`syscall.recvmsg'
/usr/bin/ld: $WORK/b271/_pkg_.a(_go_.o): in function 
`golang_0org_1x_1net_1internal_1socket.Conn.sendMsg..func1':
./src/golang.org/x/net/internal/socket/sys_unix.go:42: undefined reference to 
`syscall.sendmsg'
collect2: error: ld returned 1 exit status

full log attached.

Usually difference in API causes failure during build stage itself, I have not 
seen a linker error before. Can anyone help fix this issue?

It seems an issue upstream[1] which seems to have been very recently fixed (4 
days ago at the time of writing this mail) -- so we need to update
golang-golang-x-net in unstable or backport that patch.

[1]: https://github.com/golang/go/issues/52512

--
Best,
Nilesh

Reply via email to