[MacPorts] #67126: issues building rpki-client 8.3

MacPorts noreply at macports.org
Mon Mar 20 21:55:53 UTC 2023


#67126: issues building rpki-client 8.3
--------------------------+--------------------
  Reporter:  artkiver     |      Owner:  (none)
      Type:  update       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.8.1
Resolution:               |   Keywords:
      Port:  rpki-client  |
--------------------------+--------------------

Comment (by ryandesign):

 Replying to [ticket:67126 artkiver]:
 > {{{
 > output-ometric.c:131:16: error: use of undeclared identifier
 'HOST_NAME_MAX'
 >         char hostname[HOST_NAME_MAX + 1];
 >                       ^
 > 1 error generated.
 > }}}

 As far as I can tell, macOS does not currently define `HOST_NAME_MAX`. I
 found no references to it by grepping MacOSX.sdk/usr/include on Monterey.
 The macOS gethostname(3) manpage used to refer to `HOST_NAME_MAX` so I
 guess macOS used to define it, but that manpage currently refers to
 `sysconf(_SC_HOST_NAME_MAX)` instead. So this is a bug in rpki-client
 that will have to be discussed with and addressed by its developers before
 the port can be updated to this version.

-- 
Ticket URL: <https://trac.macports.org/ticket/67126#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list