[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#956820: gccgo does not implement syscall in hurd-i386




On 2020, ഏപ്രിൽ 18 12:21:34 AM IST, Svante Signell <svante.signell@gmail.com> wrote:
>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.

I just installed its build dependencies like a normal build.

apt build-dep or just looking at Build-Depends in control.

I used sid from debian-ports mirror.

>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.
>> 
>> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Reply to: