[pkg-go] Bug#950844: golang-ginkgo: FTBFS on riscv64: undefined: syscall.Dup2
Aurelien Jarno
aurel32 at debian.org
Fri Feb 7 11:13:16 GMT 2020
Source: golang-ginkgo
Version: 1.2.0+git20161006.acfa16a-1
Severity: important
Tags: patch
User: debian-riscv at lists.debian.org
Usertags: riscv64
Hi,
golang-ginkgo doesn't build on riscv64 with the following error:
| # github.com/onsi/ginkgo/internal/remote
| src/github.com/onsi/ginkgo/internal/remote/syscall_dup_unix.go:10:9: undefined: syscall.Dup2
A full build log is available there:
https://buildd.debian.org/status/fetch.php?pkg=golang-ginkgo&arch=riscv64&ver=1.2.0%2Bgit20161006.acfa16a-1%2Bb1&stamp=1581065611&raw=0
This happens because there is not dup2 syscall on riscv64, just like
arm64. Instead dup3 should be used which provide the same features with
the possibility to also pass additional flags. The issue has already
been fixed upstream:
https://github.com/onsi/ginkgo/commit/f66e896ca772ab43f56e25465d52723c7dbde53e
Would it be possible to include that patch in the next upload?
Thanks,
Aurelien
More information about the Pkg-go-maintainers
mailing list