[MacPorts] #62123: bind9 @9.16.11 compile errors on Big Sur and El Capitan

MacPorts noreply at macports.org
Fri Jan 22 09:43:46 UTC 2021


#62123: bind9 @9.16.11 compile errors on Big Sur and El Capitan
-----------------------+------------------------
 Reporter:  snowflake  |      Owner:  danielluke
     Type:  defect     |     Status:  assigned
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.6.99
 Keywords:             |       Port:  bind9
-----------------------+------------------------
 Error on Big Sur

 {{{
 client.c:1032:3: error: implicit declaration of function
 'isc_nm_gettimeouts' is invalid in C99 [-Werror,-Wimplicit-function-
 declaration]
                 isc_nm_gettimeouts(isc_nmhandle_netmgr(client->handle),
 NULL,
                 ^
 client.c:1032:3: note: did you mean 'isc_nm_tcp_gettimeouts'?
 /opt/local/include/isc/netmgr.h:362:1: note: 'isc_nm_tcp_gettimeouts'
 declared here
 isc_nm_tcp_gettimeouts(isc_nm_t *mgr, uint32_t *initial, uint32_t *idle,
 ^
 1 error generated.
 make[2]: *** [client.o] Error 1
 }}}

 This error does not trigger on El Capitan, so we get a different one
 further down the log.
 {{{
 kaspconf.c:256:1: error: conflicting types for 'cfg_kasp_fromconfig'
 cfg_kasp_fromconfig(const cfg_obj_t *config, const char *name, isc_mem_t
 *mctx,
 ^
 /opt/local/include/isccfg/kaspconf.h:28:1: note: previous declaration is
 here
 cfg_kasp_fromconfig(const cfg_obj_t *config, isc_mem_t *mctx, isc_log_t
 *logctx,
 ^
 1 error generated.
 make[2]: *** [kaspconf.o] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62123>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list