maintainer-feedback requested: [Bug 247817] lang/ruby2[67]: Fails to build when 127.0.0.1 unavailable: ./addrinfo.h:165:12: error: conflicting types for 'getnameinfo'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 17 Jan 2022 00:11:12 UTC
Kubilay Kocak <koobs@FreeBSD.org> has asked freebsd-ruby (Nobody)
<ruby@FreeBSD.org> for maintainer-feedback:
Bug 247817: lang/ruby2[67]: Fails to build when 127.0.0.1 unavailable:
./addrinfo.h:165:12: error: conflicting types for 'getnameinfo'
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247817



--- Comment #5 from Kubilay Kocak <koobs@FreeBSD.org> ---
^Triage:

 1) Clarification: Is this reproducible in a non jailed/poudriere setup with a
loopback address other than 127.0.0.1 too?
 2) Are lang/ruby3* ports affected similarly?
 3) What are options for "upstream'able" fixes to this issue?
 4) Can patches be updated with fix from (3), applying to all affected
lang/ruby* ports