From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2024-06-11T18:11:53+00:00 Subject: [ruby-core:118296] [Ruby master Bug#20499] Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0 Issue #20499 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.1: DONTNEED, 3.2: REQUIRED, 3.3: REQUIRED to 3.1: DONTNEED, 3.2: REQUIRED, 3.3: DONE ruby_3_3 commit:d3b139821294f56e6b31e28608c534d9f0920fc2 merged revision(s) commit:1e08a9f0e9058186db18f29efc6458c00f10a856. ---------------------------------------- Bug #20499: Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0 https://bugs.ruby-lang.org/issues/20499#change-108801 * Author: Bo98 (Bo Anderson) * Status: Closed * ruby -v: ruby 3.2.4 (2024-04-23 revision af471c0e01) [arm64-darwin23] * Backport: 3.1: DONTNEED, 3.2: REQUIRED, 3.3: DONE ---------------------------------------- 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. -- https://bugs.ruby-lang.org/