[MacPorts] #65789: libgcc-devel @12-20220828_0+stdlib_flag build failure: use of undeclared identifier 'PTR'

MacPorts noreply at macports.org
Sun Sep 25 21:04:20 UTC 2022


#65789: libgcc-devel @12-20220828_0+stdlib_flag build failure: use of undeclared
identifier 'PTR'
---------------------------+-----------------------
  Reporter:  physicsbeany  |      Owner:  michaelld
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  libgcc-devel  |
---------------------------+-----------------------

Comment (by physicsbeany):

 Hi. Sorry for the radio silence. It was a while before I could try this
 out.

 I did install the full Xcode (v. 14), and tried a clean install of this
 port. It still fails, with the same "PTR" error I was seeing when I was
 just using command line tools.

 Replying to [comment:12 mascguy]:
 >
 > In the interim, it looks like you don't have a full version of Xcode
 installed:
 >
 > {{{
 > debug:sysinfo Xcode none
 > }}}
 >
 > Can you install that - using the version matching your Xcode Command-
 Line Tools - and then try again? (You can identify your Xcode CLT version
 via `xcodebuild -version`.)

 Side comment: `xcodebuild -version` doesn't tell you what version of the
 CLT you have installed -- it doesn't exist unless you have the full Xcode
 installed to begin with. Instead I used the clang version (also 14) as a
 proxy, referring to this table to relate to the CLT version:
 https://en.wikipedia.org/wiki/Xcode

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


More information about the macports-tickets mailing list