[MacPorts] #63805: qt5-qtbase @5.15.2_2 fails to install on macOS Monterey

MacPorts noreply at macports.org
Tue Mar 22 16:22:51 UTC 2022


#63805: qt5-qtbase @5.15.2_2 fails to install on macOS Monterey
-------------------------+---------------------------------
  Reporter:  tcwan       |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:  monterey
      Port:  qt5-qtbase  |
-------------------------+---------------------------------

Comment (by diekhans):

 I get a similar failure on Monterey x86_64

 {{{
 :warn:clean The macOS 12 SDK does not appear to be installed. Ports may
 not build correctly.
 :warn:clean You can install it as part of the Xcode Command Line Tools
 package by running `xcode-select --install'.
 }}}

 followed by
 {{{
 :info:configure Creating qmake...
 :info:configure Failed to resolve SDK path for 'macosx12'
 :info:configure Failed to resolve SDK path for 'macosx12'
 }}}

 and then attempting to run a command 'c' rather than 'cc' to compile qt:

 {{{
 :info:configure c -o main.o -arch x86_64 -fconstant-cfstrings -MMD     -g
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/library
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/generators
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/src/3rdparty/tinycbor/src
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/generators/unix
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/generators/win32
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/generators/mac
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/include
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/include/QtCore
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/include/QtCore/5.15.3
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/include/QtCore/5.15.3/QtCore
 -I../src/corelib/global
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/mkspecs/macx-clang
 -DQT_VERSION_STR=\"5.15.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=15
 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED
 -DPROEVALUATOR_FULL -DQT_NO_FOREACH
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/work
 /qtbase-everywhere-src-5.15.3/qmake/main.cpp
 :info:configure make: c: No such file or directory
 :info:configure make: [main.o] Error 1 (ignored)
 }}}

 This happens after a fresh reinstall of macports and 1325 ports, so this
 appears to be a qt5 specific problem.

 attaching full log

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


More information about the macports-tickets mailing list