Project

General

Profile

Actions

Bug #20499

closed

Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0

Added by Bo98 (Bo Anderson) 6 months ago. Updated 5 months ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.2.4 (2024-04-23 revision af471c0e01) [arm64-darwin23]
[ruby-core:117947]

Description

This is a regression introduced by https://github.com/ruby/ruby/commit/038f9ade3c4d965415e4956561975454cf9eeb21 and causes various downstream problems such as https://github.com/ruby/prism/issues/2716. Development tools on macOS are relocatable - Xcode.app can exist anywhere on the system so it cannot be assumed that the location on the build machine matches the location on the running machine. If an absolute path must be used, /usr/bin/nm and /usr/bin/ar are acceptable.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #20760: Ruby 3.0.6 fails to build on macOS 15.0 24A335 arm64ClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0