[MacPorts] #67436: pangox-compat configure failure
MacPorts
noreply at macports.org
Tue May 16 17:40:42 UTC 2023
#67436: pangox-compat configure failure
----------------------------+------------------------
Reporter: saraanjum17 | Owner: ryandesign
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: invalid | Keywords:
Port: pangox-compat |
----------------------------+------------------------
Changes (by ryandesign):
* status: assigned => closed
* version: 2.6.2 => 2.8.1
* resolution: => invalid
Comment:
Thanks.
main.log says:
{{{
:info:configure configure: error: C compiler cannot create executables
:info:configure See `config.log' for more details
}}}
config.log says:
{{{
clang: error: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=13.0'
}}}
This means your clang is too old for macOS 13.
main.log says:
{{{
:debug:sysinfo macOS 13.3.1 (darwin/22.4.0) arch i386
:debug:sysinfo MacPorts 2.8.1
:debug:sysinfo Xcode none, CLT none
}}}
So as far as MacPorts knows, you have neither Xcode nor the Xcode command
line tools (CLT) installed, yet you have clang, which would have been
provided by one of those packages.
config.log says:
{{{
configure:2987: /usr/bin/clang --version >&5
Apple clang version 11.0.0 (clang-1100.0.33.17)
}}}
According to XcodeVersionInfo this is from Xcode or CLT 11.3.1, which is
for macOS 10.14 and 10.15.
Probably, you were affected by the macOS bug that deleted the CLT receipt
during macOS updates. The CLT receipt is what MacPorts reads to know what
version of the CLT you have installed. The receipt is also what allows
Software Update to know that you have something installed and to suggest
updates for it. I think Apple has fixed the bug so the receipt won't be
deleted again, but you'll need to reinstall the CLT one time to get the
correct version installed, along with the receipt. See ProblemHotlist
#reinstall-clt for instructions. In the future, Software Update should
correctly suggest CLT updates for you.
Installing the current Xcode and/or CLT are part of the [wiki:Migration
migration instructions]. Since you missed this step, please review the
other steps to ensure you followed them after you upgraded to macOS 13.
Once you get a compatible CLT installed, you'll still be unable to install
pangox-compat because of #64228. Unfortunately I do not have a solution
for that for you.
--
Ticket URL: <https://trac.macports.org/ticket/67436#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list