[MacPorts] #66712: ruby31 fails to build on 10.5 - cstdbool not found

MacPorts noreply at macports.org
Mon Apr 3 05:58:00 UTC 2023


#66712: ruby31 fails to build on 10.5 - cstdbool not found
-----------------------+----------------------------
  Reporter:  rmottola  |      Owner:  kimuraw
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:  leopard legacy
      Port:  ruby31    |
-----------------------+----------------------------
Changes (by ryandesign):

 * owner:  (none) => kimuraw
 * status:  new => assigned


Comment:

 Replying to [comment:1 rmottola]:
 > {{{
 > compiling error.c
 > error.c:684:38: warning: 'MAC_OS_X_VERSION_10_6' is not defined,
 evaluates to 0 [-Wundef]
 > # if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_6
 >                                      ^
 > }}}

 That's an upstream bug. They already fixed it (in a more convoluted way)
 here for version 3.2:

 https://github.com/ruby/ruby/commit/f08fcd0e803bb07912794b8a2366973946d2af2f

 Looks like they didn't backport it to earlier versions so a patch can be
 added in MacPorts. The bad code has been in the file since ruby 2.5, so
 versions 2.5 through 3.1 would need patches. You should also file a bug
 upstream and ask them to backport it—bugs you don't report don't get
 fixed. They are apparently still making changes to the 2.7, 3.0, and 3.1
 branches as recently as last week.

 Also, remember to Cc port maintainers; without that, they don't see your
 tickets.

-- 
Ticket URL: <https://trac.macports.org/ticket/66712#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list