Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2024 17:28:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        go@FreeBSD.org
Subject:   [Bug 272643] lang/go120: Build of one port fails with could not determine kind of name for C.AF_INET, etc
Message-ID:  <bug-272643-42334-9Hp9RDo98O@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272643-42334@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272643-42334@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272643

--- Comment #7 from Rene Ladan <rene@FreeBSD.org> ---
I don't think this is a bug in Go itself, unlike what this PR suggests. If you
look at the offending file you can see that it includes /usr/include/netdb.h
(because we are not on _WIN32) but that file does not define the four C.AF_*
and C.SOCK_STREAM values anywhere, also not via recursive includes. These
values are defined in /usr/include/sys/socket.h, which is what my patch ends up
including and which fixes the build of the port.

-- 
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-272643-42334-9Hp9RDo98O>