[MacPorts] #68308: legacy-support clock update resulted in a bug: /opt/local/include/LegacySupport/time.h:83:27: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'?
MacPorts
noreply at macports.org
Sun Oct 1 10:35:46 UTC 2023
#68308: legacy-support clock update resulted in a bug:
/opt/local/include/LegacySupport/time.h:83:27: error: unknown type name
'clockid_t'; did you mean 'clock_id_t'?
--------------------------+----------------------------
Reporter: barracuda156 | Owner: catap
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: | Port: legacy-support
--------------------------+----------------------------
Just got the following with `R-webfakes` build:
{{{
/opt/local/bin/gcc-mp-12
-I"/opt/local/Library/Frameworks/R.framework/Resources/include" -DNDEBUG
-isystem/opt/local/include/LegacySupport -I/opt/local/include -DNO_CGI
-DNO_FILES -DARCH_IS_BIG_ENDIAN=1 -fPIC -pipe -Os -arch ppc -c
civetweb.c -o civetweb.o
In file included from /usr/include/sys/time.h:197,
from /opt/local/include/LegacySupport/sys/time.h:25,
from civetweb.c:371:
/opt/local/include/LegacySupport/time.h:83:27: error: unknown type name
'clockid_t'; did you mean 'clock_id_t'?
83 | extern int clock_gettime( clockid_t clk_id, struct timespec *ts );
| ^~~~~~~~~
| clock_id_t
/opt/local/include/LegacySupport/time.h:84:27: error: unknown type name
'clockid_t'; did you mean 'clock_id_t'?
84 | extern int clock_getres ( clockid_t clk_id, struct timespec *ts );
| ^~~~~~~~~
| clock_id_t
make: *** [civetweb.o] Error 1
ERROR: compilation failed for package ‘webfakes’
}}}
See also #68213
--
Ticket URL: <https://trac.macports.org/ticket/68308>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list