[MacPorts] #64475: rb30-nokogiri, rb31-nokogiri: ERROR: Failed to build gem native extension
MacPorts
noreply at macports.org
Thu Jan 27 14:51:42 UTC 2022
#64475: rb30-nokogiri, rb31-nokogiri: ERROR: Failed to build gem native extension
--------------------------+----------------------
Reporter: ryandesign | Owner: kimuraw
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: sierra
Port: rb-nokogiri |
--------------------------+----------------------
Changes (by kimuraw):
* status: assigned => accepted
Comment:
I reproduced this error. I'll fix this problem in PortGoup ruby.
note:
- ruby30 or later has "compiler.blacklist { clang < 901 }"
- ruby try to compile a C-extension with compiler that used compiling
"ruby" itself
- if the compiler does not exist on users' environment, this error occurs.
(OS X 11 El Capitan)
{{{
% ruby3.1 --version
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin15]
% ruby3.1 -rpp -e 'pp RbConfig::CONFIG["CC"]'
"/opt/local/bin/clang-mp-9.0"
% file /opt/local/bin/clang-mp-9.0
/opt/local/bin/clang-mp-9.0: cannot open `/opt/local/bin/clang-mp-9.0' (No
such file or directory)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64475#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list