[MacPorts] #61827: rb27-nokogiri @1.10.4 : Failed to compile on Big Sur (Apple Silicon)

MacPorts noreply at macports.org
Tue Dec 29 01:24:49 UTC 2020


#61827: rb27-nokogiri @1.10.4 : Failed to compile on Big Sur (Apple Silicon)
--------------------------+--------------------------
  Reporter:  milkcocoa    |      Owner:  kimuraw
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.6.4
Resolution:  fixed        |   Keywords:  bigsur arm64
      Port:  rb-nokogiri  |
--------------------------+--------------------------

Comment (by ryandesign):

 Replying to [comment:12 radarhere]:
 > {{{
 > % port list outdated
 > }}}

 Note that `port list outdated` doesn't do what you think it does. See
 wiki:FAQ#portlist.

 > {{{
 > % port installed ruby27
 > The following ports are currently installed:
 >   ruby27 @2.7.2_1 (active)
 > % ruby2.7 -rpp -e 'pp RbConfig::CONFIG["CFLAGS"]' | grep sysroot
 > "-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
 -fno-common"
 > }}}

 Looks like you have successfully updated to the fixed version.

 The log you attached says:

 {{{
 :info:destroot checking if the C compiler accepts  -I
 /opt/local/include/libxml2... *** extconf.rb failed ***
 :info:destroot Could not create Makefile due to some reason, probably lack
 of necessary
 :info:destroot libraries and/or headers.  Check the mkmf.log file for more
 details.  You may
 }}}

 So please attach mkmf.log.

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


More information about the macports-tickets mailing list