[MacPorts] #64276: macports will not build ports with Xcode 13.2.1

MacPorts noreply at macports.org
Sat Dec 25 17:33:26 UTC 2021


#64276: macports will not build ports with Xcode 13.2.1
--------------------------+----------------------
  Reporter:  AgilentGCMS  |      Owner:  (none)
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.1
Resolution:               |   Keywords:
      Port:  gperf        |
--------------------------+----------------------

Comment (by ryandesign):

 MacPorts wants an SDK that matches the major version of the OS you're on.
 There are ports that will not build correctly if that is not the case.
 That's why you get a warning. (It's not an error.)

 The main.log says the problem is:

 {{{
 configure: error: C compiler cannot create executables
 }}}

 The config.log says:

 {{{
 configure:2976: === configuring in lib
 (/Users/sbasu1/packages/macports/var/macports/build/_Users_sbasu1_packages_macports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gperf/gperf/work/gperf-3.1/lib)
 configure:3039: running /bin/sh ./configure --disable-option-checking '--
 prefix=/Users/sbasu1/packages/macports'  '--
 infodir=/Users/sbasu1/packages/macports/share/info' --cache-file=/dev/null
 --srcdir=.
 configure:3044: error: ./configure failed for lib
 }}}

 So I guess there is a second config.log file inside the lib directory and
 that's the one we'll need to see to understand what the problem is.

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


More information about the macports-tickets mailing list