[MacPorts] #65293: qmake5 PortGroup only works if use_xcode yes is applied to every PortFile that uses it: Project ERROR: Could not resolve SDK Path for 'macosx11' using --show-sdk-path

MacPorts noreply at macports.org
Sun Jun 5 15:27:26 UTC 2022


#65293: qmake5 PortGroup only works if use_xcode yes is applied to every PortFile
that uses it: Project ERROR: Could not resolve SDK Path for 'macosx11'
using --show-sdk-path
--------------------------+--------------------
  Reporter:  cooljeanius  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:
      Port:  qtads        |
--------------------------+--------------------

Comment (by reneeotten):

 this is indeed an annoying problem, but it as Ken said it only appears on
 newer systems... Adding {{{use_xcode yes}}} "fixes" the problem on newer
 systems, but now also requires users on older systems to have a full XCode
 installation while there that isn't necessary. That's the reason I've been
 reluctant to add for ports that report this problem (i.e., [ticket:65294]
 or [ticket:65107] or [ticket:64884] as I don't consider this the correct
 fix. Having said that, I also don't have the time or motivation to
 investigate this more thoroughly and see if there is another way to fix
 this.

 Perhaps if one could identify on which systems this is causing trouble we
 could add the {{{use_xcode yes}}} conditionally to the {{{qt5}}} PG -
 although that might cause other, possible non-reproducible build, issues.

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


More information about the macports-tickets mailing list