Bug 272643 - lang/go120: Build of one port fails with could not determine kind of name for C.AF_INET, etc
Summary: lang/go120: Build of one port fails with could not determine kind of name for...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Golang Team (Nobody)
URL:
Keywords:
Depends on:
Blocks: 270020
  Show dependency treegraph
 
Reported: 2023-07-21 17:42 UTC by Yuri Victorovich
Modified: 2024-04-13 20:42 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (go)


Attachments
reproducer.shar (1.94 KB, text/plain)
2023-07-21 17:42 UTC, Yuri Victorovich
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2023-07-21 17:42:38 UTC
Created attachment 243528 [details]
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
Comment 1 Vinícius Zavam freebsd_committer freebsd_triage 2023-09-06 19:57:08 UTC
(In reply to Yuri Victorovich from comment #0)

diff updating the actual/current port, and poudriere build log available on https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270020

linked this bug as blocker for that one, but missed adding the context.
Comment 2 Andrey Korobkov 2023-11-04 12:42:58 UTC
The same errors on lang/go121. Is upstream aware of this?
Comment 3 Andrey Korobkov 2024-03-26 22:55:11 UTC
The same errors on lang/go122. Is upstream aware of this?