
Issue #19478 has been updated by chdiza (Charles Diza). I don't see the relevance of a macOS version being EOL. They only last three years. Surely ruby aims to support machines older than three years! Anyway, issues like this one have popped up elsewhere for El Capitan because of an apparent bug in Xcode 8. Some shenanigans involving not finding headers. Check out how this happened with MacVim: https://github.com/macvim-dev/macvim/issues/1342. (At the very end of that thread there's a link to a fix; maybe that will provide some inspiration.) ---------------------------------------- Bug #19478: Ruby 3.2.1 fails to build on macOS El Capitan (10.11.6) https://bugs.ruby-lang.org/issues/19478#change-102524 * Author: chdiza (Charles Diza) * Status: Rejected * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- I tried building ruby 3.2.1 from source on macOS 10.11.6. Though I'd built all the way up through ruby 3.1.2 just fine, 3.2.1 chokes with the following: ``` compiling process.c process.c:8364:5: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'? clockid_t c; ^~~~~~~~~ clock_id_t /usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here typedef int clock_id_t; /* clock identification type */ ^ process.c:8590:5: error: unknown type name 'clockid_t'; did you mean 'clock_id_t'? clockid_t c; ^~~~~~~~~ clock_id_t /usr/include/mach/clock_types.h:53:13: note: 'clock_id_t' declared here typedef int clock_id_t; /* clock identification type */ ^ 2 errors generated. make: *** [process.o] Error 1 make: *** Waiting for unfinished jobs.... ``` -- https://bugs.ruby-lang.org/