[MacPorts] #69886: rb30-nokogiri, rb31-nokogiri, rb32-nokogiri, rb33-nokogiri @1.16.4: ERROR: Failed to build gem native extension.
MacPorts
noreply at macports.org
Wed May 1 14:37:10 UTC 2024
#69886: rb30-nokogiri, rb31-nokogiri, rb32-nokogiri, rb33-nokogiri @1.16.4: ERROR:
Failed to build gem native extension.
-------------------------------------+-------------------------------------
Reporter: ryandesign | Owner: kimuraw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: lion mountainlion | Port: rb30-nokogiri,
mavericks yosemite elcapitan | rb31-nokogiri, rb32-nokogiri,
sierra | rb33-nokogiri
-------------------------------------+-------------------------------------
https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/267952/steps
/install-port/logs/stdio
{{{
Building native extensions. This could take a while...
ERROR: Error installing /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/nokogiri-1.16.4/nokogiri.gem:
ERROR: Failed to build gem native extension.
current directory: /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/nokogiri-1.16.4/ext/nokogiri
/opt/local/bin/ruby3.2 extconf.rb
checking for whether -std=c99 is accepted as CFLAGS... *** extconf.rb
failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You
may
need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/opt/local/bin/$(RUBY_BASE_NAME)3.2
--help
--clean
--prevent-strip
/opt/local/lib/ruby3.2/3.2.0/mkmf.rb:490:in `try_do': The compiler failed
to generate an executable file. (RuntimeError)
You have to install development tools first.
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:616:in `block in
try_compile'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:563:in `with_werror'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:616:in `try_compile'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:680:in `try_cflags'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:1025:in `block (2
levels) in append_cflags'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:989:in `block in
checking_for'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:354:in `block (2 levels)
in postpone'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:324:in `open'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:354:in `block in
postpone'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:324:in `open'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:350:in `postpone'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:988:in `checking_for'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:1024:in `block in
append_cflags'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:1023:in `each'
from /opt/local/lib/ruby3.2/3.2.0/mkmf.rb:1023:in `append_cflags'
from extconf.rb:655:in `<main>'
To see why this extension failed to compile, please check the mkmf.log
which can be found here:
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/extensions/x86_64-darwin-16/3.2.0/nokogiri-1.16.4/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/gems/nokogiri-1.16.4
for inspection.
Results logged to /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0/extensions/x86_64-darwin-16/3.2.0/nokogiri-1.16.4/gem_make.out
Command failed: cd "/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/nokogiri-1.16.4" && /opt/local/bin/gem3.2
install --local --force --install-dir /opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/destroot/opt/local/lib/ruby3.2/gems/3.2.0
/opt/local/var/macports/build
/_opt_bblocal_var_buildworker_ports_build_ports_ruby_rb-
nokogiri/rb32-nokogiri/work/nokogiri-1.16.4/nokogiri.gem
Exit code: 1
}}}
--
Ticket URL: <https://trac.macports.org/ticket/69886>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list