[MacPorts] #66113: multiple qt5 ports: configure failure: Project ERROR: Could not resolve SDK Path for 'macosx13' using --show-sdk-path
MacPorts
noreply at macports.org
Sun Oct 30 02:48:36 UTC 2022
#66113: multiple qt5 ports: configure failure: Project ERROR: Could not resolve SDK
Path for 'macosx13' using --show-sdk-path
-------------------------------------------------+-------------------------
Reporter: i0ntempest | Owner: i0ntempest
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.0
Resolution: | Keywords:
Port: iaito, qBittorrent-qt5, |
sqlitebrowser |
-------------------------------------------------+-------------------------
Comment (by kencu):
OK, here's the qmake.stash file that is created by the cmake5 PortGroup.
{{{
% cat
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_net_qBittorrent-qt5/qBittorrent-
qt5/work/qbittorrent-qBittorrent-395f70b/.qmake.stash
QMAKE_MAC_SDK.macosx.Path =
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
QMAKE_MAC_SDK.macosx.SDKVersion = 13.0
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CC =
/Library/Developer/CommandLineTools/usr/bin/clang
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_CXX =
/Library/Developer/CommandLineTools/usr/bin/clang++
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_FIX_RPATH = \
/Library/Developer/CommandLineTools/usr/bin/install_name_tool \
-id
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_AR = \
/Library/Developer/CommandLineTools/usr/bin/ar \
cq
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_RANLIB = \
/Library/Developer/CommandLineTools/usr/bin/ranlib \
-s
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK =
/Library/Developer/CommandLineTools/usr/bin/clang++
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK_SHLIB =
/Library/Developer/CommandLineTools/usr/bin/clang++
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK_C =
/Library/Developer/CommandLineTools/usr/bin/clang
QMAKE_MAC_SDK.macx-clang.macosx.QMAKE_LINK_C_SHLIB =
/Library/Developer/CommandLineTools/usr/bin/clang
QMAKE_CXX.QT_COMPILER_STDCXX = 199711L
QMAKE_CXX.QMAKE_APPLE_CC = 6000
QMAKE_CXX.QMAKE_APPLE_CLANG_MAJOR_VERSION = 14
QMAKE_CXX.QMAKE_APPLE_CLANG_MINOR_VERSION = 0
QMAKE_CXX.QMAKE_APPLE_CLANG_PATCH_VERSION = 0
QMAKE_CXX.QMAKE_GCC_MAJOR_VERSION = 4
QMAKE_CXX.QMAKE_GCC_MINOR_VERSION = 2
QMAKE_CXX.QMAKE_GCC_PATCH_VERSION = 1
QMAKE_CXX.COMPILER_MACROS = \
QT_COMPILER_STDCXX \
QMAKE_APPLE_CC \
QMAKE_APPLE_CLANG_MAJOR_VERSION \
QMAKE_APPLE_CLANG_MINOR_VERSION \
QMAKE_APPLE_CLANG_PATCH_VERSION \
QMAKE_GCC_MAJOR_VERSION \
QMAKE_GCC_MINOR_VERSION \
QMAKE_GCC_PATCH_VERSION
QMAKE_CXX.INCDIRS = \
/opt/local/libexec/boost/1.76/include \
/opt/local/include \
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1
\
/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include \
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include \
/Library/Developer/CommandLineTools/usr/include
QMAKE_CXX.LIBDIRS = \
/opt/local/lib \
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib
QMAKE_XCODE_DEVELOPER_PATH = /Library/Developer/CommandLineTools
}}}
I think that looks pretty reasonable, except for this part, which I would
argue shouldn't be in the QMAKE_CXX.INCDIRS:
{{{
/Library/Developer/CommandLineTools/usr/lib/clang/14.0.0/include \
}}}
there has been a proper SDK path found, to the generic SDK, so all that is
looking good so far.
--
Ticket URL: <https://trac.macports.org/ticket/66113#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list