Date: Sat, 18 Aug 2018 17:53:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230736] lang/go: MIssing system calls in the "syscall" module Message-ID: <bug-230736-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230736 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@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(jlaffaye@FreeBSD.org) Assignee: jlaffaye@FreeBSD.org This code: > package headers >=20=20=20 > import "syscall" >=20 > var IpccallLookup =3D 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/he= aders/ipc_tab.go:7:2: undefined: syscall.SYS_SEMOP > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:8:2: undefined: syscall.SYS_SEMGET > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:9:2: undefined: syscall.SYS_SEMCTL > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:11:2: undefined: syscall.SYS_MSGSND > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:12:2: undefined: syscall.SYS_MSGRCV > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:13:2: undefined: syscall.SYS_MSGGET > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:14:2: undefined: syscall.SYS_MSGCTL > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:15:2: undefined: syscall.SYS_SHMAT > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:16:2: undefined: syscall.SYS_SHMDT > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:17:2: undefined: syscall.SYS_SHMGET > ../go/src/github.com/mozilla/mig/vendor/github.com/mozilla/libaudit-go/he= aders/ipc_tab.go:17:2: too many errors go-1.10.3 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230736-7788>