Bug#956820: gccgo does not implement syscall in hurd-i386
Hi Praveen,
Which packages in Debian GNU/Hurd did you install to build golang-
github-nsf-termbox-go? I can maybe try out the build to find out where
it fials.
Thanks!
On Wed, 2020-04-15 at 22:34 +0530, Pirate Praveen wrote:
> Package: gccgo-9
> Version: 9.3.0-9
> Severity: important
> X-debbugs-cc: debian-hurd@lists.debian.org
>
> golang-github-nsf-termbox-go is failing to build with gcc-go
> (changed
> Build-Depends to golang-any and built on hurd-i386 latest sid).
>
> There are many failures like this,
>
> src/github.com/nsf/termbox-go/termbox.go:507:37: error: reference to
> undefined identifier ‘syscall.SYS_FCNTL’ 507 | r, _, e :=
> syscall.Syscall(syscall.SYS_FCNTL, uintptr(fd), uintptr(cmd),
> | ^
> src/github.com/nsf/termbox-go/termbox.go:50:17: error: use of
> undefined
> type ‘syscall_Termios’
> 50 | orig_tios syscall_Termios
>
> $ go version
> go version go1.12.2 gccgo (Debian 9.3.0-9) 9.3.0 hurd/386
>
> Discussion with hurd maintainers
> https://lists.debian.org/debian-hurd/2020/04/msg00026.html
>
> Full build log attached. I think gccgo needs to implement these
> syscall
> interfaces for hurd.
>
>
Reply to: