[Bug 230736] lang/go: MIssing system calls in the "syscall" module
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Aug 18 17:53:28 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230736
Bug ID: 230736
Summary: lang/go: MIssing system calls in the "syscall" module
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: jlaffaye at FreeBSD.org
Reporter: yuri at freebsd.org
Flags: maintainer-feedback?(jlaffaye at FreeBSD.org)
Assignee: jlaffaye at FreeBSD.org
This code:
> package headers
>
> import "syscall"
>
> var IpccallLookup = map[int]string{
> syscall.SYS_SEMOP: "semop",
> syscall.SYS_SEMGET: "semget",
> syscall.SYS_SEMCTL: "semctl",
> 4: "semtimedop",
> syscall.SYS_MSGSND: "msgsnd",
> syscall.SYS_MSGRCV: "msgrcv",
> syscall.SYS_MSGGET: "msgget",
> syscall.SYS_MSGCTL: "msgctl",
> syscall.SYS_SHMAT: "shmat",
> syscall.SYS_SHMDT: "shmdt",
> syscall.SYS_SHMGET: "shmget",
> syscall.SYS_SHMCTL: "shmctl",
> }
Fails to build even though these syscalls exist in the system:
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:7:2: undefined: syscall.SYS_SEMOP
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:8:2: undefined: syscall.SYS_SEMGET
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:9:2: undefined: syscall.SYS_SEMCTL
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:11:2: undefined: syscall.SYS_MSGSND
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:12:2: undefined: syscall.SYS_MSGRCV
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:13:2: undefined: syscall.SYS_MSGGET
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:14:2: undefined: syscall.SYS_MSGCTL
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:15:2: undefined: syscall.SYS_SHMAT
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:16:2: undefined: syscall.SYS_SHMDT
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:17:2: undefined: syscall.SYS_SHMGET
> ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/headers/ipc_tab.go:17:2: too many errors
go-1.10.3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list