From: "austin (Austin Ziegler) via ruby-core" Date: 2023-03-24T14:50:00+00:00 Subject: [ruby-core:112996] [Ruby master Bug#19478] Ruby 3.2.1 fails to build on macOS El Capitan (10.11.6) Issue #19478 has been updated by austin (Austin Ziegler). A Mac OS X version being EOL is likely to be relevant, because El Capitan was released 8 years ago, so it���s been EOL for ~5 years. For working with older versions of Mac OS, I would suggest using [MacPorts](https://macports.org/), although their `ruby32` build [is also failing](https://ports.macports.org/port/ruby32/details/) on El Capitan. They have the infrastructure and expertise (as well as people who *use* such old versions of Mac OS X), however, to be able to potentially produce a patch which you could then potentially use to provide a solution to this issue. ---------------------------------------- Bug #19478: Ruby 3.2.1 fails to build on macOS El Capitan (10.11.6) https://bugs.ruby-lang.org/issues/19478#change-102525 * 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/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/