git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git 2.31.1, Solaris and error: conflicting types for 'inet_ntop'

From
Jeff King <peff@peff.net>
Date
Mar 28, 2021, 07:22 UTC
Message-ID
<YGAuvmhBdz3txhXu@coredump.intra.peff.net>
In-Reply-To
<YF/bMjJA2RguVguZ@camp.crustytoothpaste.net>
On Sun, Mar 28, 2021 at 01:26:10AM +0000, brian m. carlson wrote:
Show 18 quoted lines
> On 2021-03-28 at 01:04:32, Jeffrey Walton wrote:
> > I see what happened... I stopped Autoreconfing so the configure.ac
> > changes were not picked up. The original configure is being used.
> > 
> > I think Git is getting itself into that state.
> > 
> > Without the Autoreconf, I was able to sidestep the issue with:
> > 
> > if [[ "${IS_SOLARIS}" -eq 1 ]]; then
> >     CONFIG_OPTS+=("ac_cv_func_inet_ntop=yes")
> >     CONFIG_OPTS+=("ac_cv_func_inet_pton=yes")
> > fi
> 
> Most developers don't use the autoconf stuff and just use the makefile.
> config.mak.uname doesn't have NO_INET_NTOP set for SunOS.
> 
> If the autoconf scripts or config.mak.uname need fixing, which is
> possible, a patch would definitely be welcome.

This all seemed vaguely familiar, and indeed it came up about a year ago:

  https://lore.kernel.org/git/CAH8yC8m3JFvEcfFF3z1rrRnEPK-adHGObmkOhNZiph7QJKUWqA@mail.gmail.com/

Maybe worth resurrecting this patch (at the very least it needed a signoff):

  https://lore.kernel.org/git/CAH8yC8kaWXbN+RYMJnM9em7KKW54+N07JtyS1MZk0qppD=m2BA@mail.gmail.com/
-Peff
Previous: brian m. carlson
Message 5 of 5 in “Git 2.31.1, Solaris and error: conflicting types for 'inet_ntop'”
  1. Jeffrey WaltonMar 28, 2021
  2. brian m. carlsonMar 28, 2021
  3. Jeffrey WaltonMar 28, 2021
  4. brian m. carlsonMar 28, 2021
  5. Jeff KingMar 28, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.