[Bug 272643] lang/go120: Build of one port fails with could not determine kind of name for C.AF_INET, etc

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 21 Jul 2023 17:42:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272643

            Bug ID: 272643
           Summary: lang/go120: Build of one port fails with could not
                    determine kind of name for C.AF_INET, etc
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: go@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(go@FreeBSD.org)
          Assignee: go@FreeBSD.org

Created attachment 243528
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243528&action=edit
reproducer.shar

See the attached port.


Errors:
> internal/netxlite/getaddrinfo_cgo.go:203:7: could not determine kind of name for C.AF_INET
> internal/netxlite/getaddrinfo_cgo.go:207:7: could not determine kind of name for C.AF_INET6
> internal/netxlite/getaddrinfo_cgo.go:141:20: could not determine kind of name for C.AF_UNSPEC
> internal/netxlite/getaddrinfo_cgo.go:140:22: could not determine kind of name for C.SOCK_STREAM

-- 
You are receiving this mail because:
You are the assignee for the bug.