[MacPorts] #68213: zmq: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'

MacPorts noreply at macports.org
Thu Sep 21 13:07:26 UTC 2023


#68213: zmq: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'
-------------------------+--------------------
 Reporter:  Schamschula  |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  zmq
-------------------------+--------------------
 After revision bumping zmq* I fond the following error for El Capitan
 (10.11) and below:

 {{{
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_zmq
 /zmq-devel/work/libzmq-
 8c725093ac4b44a97e6cb64566989ef12b71986c/src/clock.cpp
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_zmq
 /zmq-devel/work/libzmq-
 8c725093ac4b44a97e6cb64566989ef12b71986c/src/clock.cpp:31:
 In file included from
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_zmq
 /zmq-devel/work/libzmq-
 8c725093ac4b44a97e6cb64566989ef12b71986c/src/clock.hpp:48:
 /opt/local/include/LegacySupport/time.h:83:27: error: unknown type name
 'clockid_t'; did you mean 'clock_id_t'?
 extern int clock_gettime( clockid_t clk_id, struct timespec *ts );
                           ^
 /usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here
 typedef int     clock_id_t;                     /* clock identification
 type */
                 ^
 }}}

 Updating legacysupport to version 1.1 did not fix it, although there is
 additional clock support.

 It looks similar to an issue Ryan ran into with {{{php}}}, that was fixed
 upstream: https://github.com/swoole/swoole-src/pull/1365/files

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


More information about the macports-tickets mailing list