[MacPorts] #61511: wireshark3 @3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib: error: use of undeclared identifier 'CLOCK_REALTIME' (was: wireshark3 @ 3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib.darwin_15.x86_64 ui/qt Error)
MacPorts
noreply at macports.org
Mon Nov 16 21:34:07 UTC 2020
#61511: wireshark3
@3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib:
error: use of undeclared identifier 'CLOCK_REALTIME'
-------------------------+----------------------------------
Reporter: thetrial | Owner: ghosthound
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.4
Resolution: | Keywords: legacy-os, elcapitan
Port: wireshark3 |
-------------------------+----------------------------------
Changes (by ryandesign):
* owner: opendarwin.org@… => ghosthound
* cc: ghosthound (removed)
* port:
wireshark3-3.4.0_0+cares+chmodbpf+geoip+gnutls+kerberos5+libsmi+python37+qt5+zlib.darwin_15.x86_64
=> wireshark3
Comment:
The build fails because:
{{{
:info:build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_wireshark3/wireshark3/work/wireshark-3.4.0/ui/qt/import_text_dialog.cpp:388:27:
error: use of undeclared identifier 'CLOCK_REALTIME'
:info:build clock_gettime(CLOCK_REALTIME, &timenow); /*
supported by Linux and MacOS */
:info:build ^
}}}
Realtime clock is a feature introduced in macOS 10.12.
We have compatibility functions in our legacysupport library which could
possibly be used to fix this port.
--
Ticket URL: <https://trac.macports.org/ticket/61511#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list