[MacPorts] #62934: Failed to configure qt5-qtbase

MacPorts noreply at macports.org
Fri May 21 15:42:43 UTC 2021


#62934: Failed to configure qt5-qtbase
-------------------------+---------------------------------
  Reporter:  pcmock      |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.0
Resolution:              |   Keywords:
      Port:  qt5-qtbase  |
-------------------------+---------------------------------

Comment (by kencu):

 configure wants an sdk that matches {{{macosx11}}}, but it doesn't exist.

 what does exist, on your system now, is {{{macosx}}} and {{{macosx11.3}}}.

 This appears to be internal to qt5, unless some PG or Portfile command is
 messing with it.

 Not sure yet -- I don't think many people have built qt5 since the Xcode
 upgrade, as everyone else installs into {{{/opt/local}}} and so picks up
 the prebuilt binaries from the buildbot.

 Proper fix is to first scour the Portfiles and PortGroups and patchfiles
 and see if we're doing anything to this, and then if not, patch configure
 to look for something that actually exists (it's a moving target as Apple
 changes things).

 For you, right now -- I would make a symlink myself so that {{{macosx11}}}
 is found, built qt5, and destroy the symlink when it's built. But no
 MacPorts committer and/or admin should make such a heathen recommendation,
 so you're stuck until Marcus or somebody like Marcus (me, etc) get around
 to trying to rebuild qt5-base again against the newest Xcode on BigSur,
 and fix the build, hopefully without breaking all the previous systems in
 the process.

 qt5 is a bit of a beast, and challenges all build systems, and patience,
 to the limit.

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


More information about the macports-tickets mailing list