go: go/internal/srcimporter: TestImportStdLib failing on NetBSD
TestImportStdLib
is failing on NetBSD on tip. As seen on
https://build.golang.org/log/fad56ee11c8b5522a96342ee2a936845758f1ab0
--- FAIL: TestImportStdLib (2.10s)
srcimporter_test.go:30: import "archive/tar" failed (type-checking package "archive/tar" failed (/tmp/workdir/go/src/archive/tar/stat_unix.go:11:2: could not import os/user (type-checking package "os/user" failed (/tmp/workdir/go/src/os/user/getgrouplist_unix.go:25:43: gid_t not declared by package C))))
srcimporter_test.go:43: testing time used up
srcimporter_test.go:89: tested 1 imports
FAIL
FAIL go/internal/srcimporter 6.949s
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (14 by maintainers)
Commits related to this issue
- Revert "go/types: add UsesCgo config to support _cgo_gotypes.go" This reverts CL 33677. Reason for revert: NetBSD is broken Updates #38649 Change-Id: Id60e3c97d3cb4fb0053dea03b95dbbb0b850c883 Revi... — committed to golang/go by andybons 4 years ago
- Revert "go/types: add UsesCgo config to support _cgo_gotypes.go" This reverts CL 33677. Reason for revert: NetBSD is broken Updates #38649 Change-Id: Id60e3c97d3cb4fb0053dea03b95dbbb0b850c883 Revi... — committed to xujianhai666/go-1 by andybons 4 years ago
- cmd/cgo: use type aliases for #define type macros Cgo's initial design for handling "#define foo int*" involved rewriting "C.foo" to "*_Ctype_int" everywhere. But now that we have type aliases, we ca... — committed to xujianhai666/go-1 by mdempsky 4 years ago
_cgo_gotypes.go on amd64 NetBSD 9.0: