[MacPorts] #65904: qt5-qtbase doesn't find MacOS 12 sdk

MacPorts noreply at macports.org
Mon Sep 26 22:01:36 UTC 2022


#65904: qt5-qtbase doesn't find MacOS 12 sdk
--------------------+---------------------------------
 Reporter:  catap   |      Owner:  MarcusCalhoun-Lopez
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  qt5-qtbase
--------------------+---------------------------------
 `sudo port -v configure qt5-qtbase` fails on my laptop (macOS 12.6 21G115
 x86_64 / Xcode 14.0 14A309) with errors:
 {{{
 --->  Configuring qt5-qtbase
 Executing:  cd "/opt/local/var/macports/build/_Users_catap_src_macports-
 ports_aqua_qt5/qt5-qtbase/work/qtbase-everywhere-src-5.15.6" &&
 ./configure -prefix /opt/local/libexec/qt5 -bindir
 /opt/local/libexec/qt5/bin -headerdir /opt/local/libexec/qt5/include
 -libdir /opt/local/libexec/qt5/lib -archdatadir /opt/local/libexec/qt5
 -plugindir /opt/local/libexec/qt5/plugins -importdir
 /opt/local/libexec/qt5/imports -qmldir /opt/local/libexec/qt5/qml -datadir
 /opt/local/libexec/qt5 -docdir /opt/local/libexec/qt5/doc -translationdir
 /opt/local/libexec/qt5/translations -sysconfdir
 /opt/local/libexec/qt5/etc/xdg -examplesdir
 /opt/local/libexec/qt5/examples -testsdir /opt/local/libexec/qt5/tests
 -hostdatadir /opt/local/libexec/qt5 -release -opensource -confirm-license
 -shared -accessibility -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci
 -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
 -platform macx-clang -optimize-size -no-testcocoon -no-gcov -force-pkg-
 config -system-zlib -no-mtdev -no-journald -no-syslog -system-libpng
 -system-libjpeg -system-freetype -system-harfbuzz -no-libproxy -system-
 pcre -glib -no-gtk -make libs -make tools -nomake examples -nomake tests
 -gui -widgets -no-rpath -verbose -cups -no-iconv -no-evdev -no-tslib -icu
 -no-fontconfig -strip -no-pch -no-ltcg -dbus-linked -no-use-gold-linker
 -no-separate-debug-info -no-xcb -no-eglfs -no-gbm -no-directfb -no-linuxfb
 -no-kms -no-libinput -no-system-proxies -no-feature-vulkan -framework -sdk
 macosx -no-libudev -no-egl -openssl-linked
 Creating qmake...
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 Failed to resolve SDK path for 'macosx12'
 }}}
 when I applied a patch
 {{{
 diff --git a/aqua/qt5/Portfile b/aqua/qt5/Portfile
 index a688998106b..fc6b32b2ccc 100644
 --- a/aqua/qt5/Portfile
 +++ b/aqua/qt5/Portfile
 @@ -1183,9 +1183,9 @@ foreach {module module_info} [array get modules] {
              } else {
                  set sdks_dir ${configure.developer_dir}/SDKs
              }
 -            if { ![file exists
 ${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
 +#            if { ![file exists
 ${sdks_dir}/MacOSX${configure.sdk_version}.sdk] } {
                  configure.sdk_version
 -            }
 +#            }

              # respect configure.sdk_version
              post-patch {

 }}}
 it was successfully buit.

-- 
Ticket URL: <https://trac.macports.org/ticket/65904>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list