[MacPorts] #67164: gcc12 @12.2.0_2: gcc is baking in a fragile specific sdk because regex test is not mstching SDKs without a decimal point

MacPorts noreply at macports.org
Sat Apr 1 13:06:02 UTC 2023


#67164: gcc12 @12.2.0_2: gcc is baking in a fragile specific sdk because regex test
is not mstching SDKs without a decimal point
----------------------+--------------------
  Reporter:  jsalort  |      Owner:  (none)
      Type:  defect   |     Status:  closed
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.8.1
Resolution:  wontfix  |   Keywords:
      Port:  gcc12    |
----------------------+--------------------

Comment (by cjones051073):

 Sorry, my mistake, Yes when the regex matches it forces the completely
 versionless SDK.

 However the intention was always that the regex would only match
 MacOSN.x.sdk and never MacOSN.sdk. That later SDK is stable for a given
 macOSN release and is fine to use. So the end result is the same, nothing
 needs changing here, and if the end user wants control over the SDK that
 they use then they should always, as before, do so by using xcrun or
 setting SDKROOT themselves.

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


More information about the macports-tickets mailing list