Opened 4 months ago
#73812 new defect
qt5-qtlocation fails to configure on Sonoma: Project ERROR: Could not resolve SDK Path for 'macosx14' using --show-sdk-path
| Reported by: | barracuda156 | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.12.4 |
| Keywords: | sonoma, arm64 | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), reneeotten (Renee Otten) |
| Port: | qt5-qtlocation |
Description
Apparently fails on build-bots too: https://build.macports.org/builders/ports-14_arm64-builder/builds/74237
DEBUG: Starting logging for qt5-qtlocation @5.15.18_1 DEBUG: macOS 14.7.1 (darwin/23.6.0) arch arm DEBUG: MacPorts 2.11.6 DEBUG: Xcode 15.4, CLT 15.3.0.0.1.1708646388 DEBUG: SDK 14 DEBUG: MACOSX_DEPLOYMENT_TARGET: 14.0 DEBUG: Attempting ln -sf /opt/local/var/macports/build/qt5-qtlocation-ff179007/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/work DEBUG: dropping privileges: euid changed to 502, egid changed to 501. DEBUG: Executing org.macports.main (qt5-qtlocation) DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: archivefetch phase started at Wed Apr 8 16:40:35 WIB 2026 ---> Fetching archive for qt5-qtlocation DEBUG: Executing org.macports.archivefetch (qt5-qtlocation) DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/incoming to macports DEBUG: euid/egid changed to: 502/501 ---> qt5-qtlocation-5.15.18_1.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch qt5-qtlocation-5.15.18_1.darwin_23.arm64.tbz2 from https://packages.macports.org/qt5-qtlocation DEBUG: Fetching archive failed: The requested URL returned error: 404 ---> Attempting to fetch qt5-qtlocation-5.15.18_1.darwin_23.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/qt5-qtlocation DEBUG: Fetching archive failed: The requested URL returned error: 404 ---> Attempting to fetch qt5-qtlocation-5.15.18_1.darwin_23.arm64.tbz2 from https://kmq.jp.packages.macports.org/qt5-qtlocation DEBUG: Fetching archive failed: The requested URL returned error: 404 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: fetch phase started at Wed Apr 8 16:40:37 WIB 2026 ---> Fetching distfiles for qt5-qtlocation DEBUG: elevating privileges for fetch: euid changed to 0, egid changed to 0. DEBUG: dropping privileges: euid changed to 502, egid changed to 501. DEBUG: Executing proc-pre-org.macports.fetch-fetch-0 DEBUG: qt5-stock-1.0 PG overloaded the eval_variants procedure! DEBUG: Executing proc-pre-org.macports.fetch-fetch-1 DEBUG: qmake5-1.0 PG overloaded the eval_variants procedure! DEBUG: Executing org.macports.fetch (qt5-qtlocation) ---> qtlocation-everywhere-opensource-src-5.15.18.tar.xz does not exist in /opt/local/var/macports/distfiles/qt5 ---> Attempting to fetch qtlocation-everywhere-opensource-src-5.15.18.tar.xz from http://jog.id.distfiles.macports.org/macports/distfiles/qt5 DEBUG: Fetching distfile failed: The requested URL returned error: 404 ---> Attempting to fetch qtlocation-everywhere-opensource-src-5.15.18.tar.xz from https://distfiles.macports.org/qt5 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: checksum phase started at Wed Apr 8 16:40:50 WIB 2026 ---> Verifying checksums for qt5-qtlocation DEBUG: Executing org.macports.checksum (qt5-qtlocation) ---> Checksumming qtlocation-everywhere-opensource-src-5.15.18.tar.xz DEBUG: Calculated (rmd160) is 23b09c2c8f631676fffdc73661b8ef91832e5d84 DEBUG: Correct (rmd160) checksum for qtlocation-everywhere-opensource-src-5.15.18.tar.xz DEBUG: Calculated (sha256) is ea2ed52b085989fe38d0e7f9080da4104d4707d60d8d3b5f5a478b9bec325a3c DEBUG: Correct (sha256) checksum for qtlocation-everywhere-opensource-src-5.15.18.tar.xz DEBUG: Calculated (size) is 6534556 DEBUG: Correct (size) checksum for qtlocation-everywhere-opensource-src-5.15.18.tar.xz DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: extract phase started at Wed Apr 8 16:40:50 WIB 2026 ---> Extracting qt5-qtlocation DEBUG: setting option extract.cmd to /opt/local/bin/xz DEBUG: Executing org.macports.extract (qt5-qtlocation) ---> Extracting qtlocation-everywhere-opensource-src-5.15.18.tar.xz DEBUG: setting option extract.args to '/opt/local/var/macports/distfiles/qt5/qtlocation-everywhere-opensource-src-5.15.18.tar.xz' DEBUG: Environment: DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/.CC_PRINT_OPTIONS' DEBUG: CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='14.0' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: SOURCE_DATE_EPOCH='1775234974' Executing: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/qt5/qtlocation-everywhere-opensource-src-5.15.18.tar.xz' | /usr/bin/tar -xf - DEBUG: system: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/qt5/qtlocation-everywhere-opensource-src-5.15.18.tar.xz' | /usr/bin/tar -xf - DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/build/qt5-qtlocation-ff179007/work to macports DEBUG: euid/egid changed to: 502/501 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: patch phase started at Wed Apr 8 16:40:51 WIB 2026 DEBUG: Executing org.macports.patch (qt5-qtlocation) ---> Applying patches to qt5-qtlocation ---> Applying patch-qt5location-boost.diff DEBUG: Environment: DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/.CC_PRINT_OPTIONS' DEBUG: CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='14.0' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: SOURCE_DATE_EPOCH='1775234974' Executing: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qt5location-boost.diff' DEBUG: system: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qt5location-boost.diff' patching file 'src/3rdparty/mapbox-gl-native/mapbox-gl-native.pro' ---> Applying patch-qtlocation-mbgl-unique_any.hpp.diff DEBUG: Environment: DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/.CC_PRINT_OPTIONS' DEBUG: CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='14.0' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: SOURCE_DATE_EPOCH='1775234974' Executing: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qtlocation-mbgl-unique_any.hpp.diff' DEBUG: system: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qtlocation-mbgl-unique_any.hpp.diff' patching file 'src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp' ---> Applying patch-qtlocation-narrowing-const-reference.diff DEBUG: Environment: DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/.CC_PRINT_OPTIONS' DEBUG: CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='14.0' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: SOURCE_DATE_EPOCH='1775234974' Executing: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qtlocation-narrowing-const-reference.diff' DEBUG: system: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /usr/bin/patch -t -N -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/aqua/qt5/files/patch-qtlocation-narrowing-const-reference.diff' patching file 'src/3rdparty/mapbox-gl-native/src/mbgl/layout/symbol_projection.cpp' DEBUG: Executing proc-post-org.macports.patch-patch-0 ---> Patching main.cpp: s|return 0;|return 0;\ #error turn off test|g DEBUG: Executing reinplace: /usr/bin/sed s|return\ 0\;|return\ 0\;\\\n#error\ turn\ off\ test|g </opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18/config.tests/gypsy/main.cpp >@file13 DEBUG: euid/egid changed to: 0/0 DEBUG: chowned /opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18/config.tests/gypsy/main.cpp to macports DEBUG: euid/egid changed to: 502/501 DEBUG: euid/egid changed to: 0/0 DEBUG: setting attributes on /opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18/config.tests/gypsy/main.cpp DEBUG: euid/egid changed to: 502/501 DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: configure phase started at Wed Apr 8 16:40:51 WIB 2026 ---> Configuring qt5-qtlocation DEBUG: Preferred compilers: clang macports-clang-20 macports-clang-19 macports-clang-18 macports-clang-17 macports-clang-16 macports-clang-15 macports-clang-14 macports-clang-13 macports-clang-11 DEBUG: Using compiler 'Xcode Clang' DEBUG: Executing proc-pre-org.macports.configure-configure-0 DEBUG: qt5 PortGroup: Qt is provided by qt5 DEBUG: Executing proc-pre-org.macports.configure-configure-1 DEBUG: Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: xz icu zlib qt5-qtdeclarative qt5-qtquickcontrols qt5-qtquickcontrols2 qt5-qtserialport qt5-qtbase pkgconfig boost176 DEBUG: Executing proc-pre-org.macports.configure-configure-2 DEBUG: qt5-qtbase is installed with the following variants: +openssl DEBUG: required: debug, forbidden: DEBUG: rejected, because required variant debug is missing DEBUG: Executing proc-pre-org.macports.configure-configure-3 DEBUG: qt5-qtbase is installed with the following variants: +openssl DEBUG: required: examples, forbidden: DEBUG: rejected, because required variant examples is missing DEBUG: qt5-qtbase is installed with the following variants: +openssl DEBUG: required: tests, forbidden: DEBUG: rejected, because required variant tests is missing DEBUG: Executing org.macports.configure (qt5-qtlocation) DEBUG: Environment: DEBUG: BOOSTDIR='/opt/local/libexec/boost/1.76' DEBUG: BOOSTROOT='/opt/local/libexec/boost/1.76' DEBUG: BOOST_DIR='/opt/local/libexec/boost/1.76' DEBUG: BOOST_INCLUDEDIR='/opt/local/libexec/boost/1.76/include' DEBUG: BOOST_LIBRARYDIR='/opt/local/libexec/boost/1.76/lib' DEBUG: BOOST_ROOT='/opt/local/libexec/boost/1.76' DEBUG: CC='/usr/bin/clang' DEBUG: CC_PRINT_OPTIONS='YES' DEBUG: CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/.CC_PRINT_OPTIONS' DEBUG: CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' DEBUG: CPATH='/opt/local/libexec/boost/1.76/include:/opt/local/include' DEBUG: CPPFLAGS='-I/opt/local/libexec/boost/1.76/include -isystem/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: CXX='/usr/bin/clang++' DEBUG: CXXFLAGS='-pipe -I/opt/local/libexec/boost/1.76/include -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' DEBUG: DEVELOPER_DIR='/Library/Developer/CommandLineTools' DEBUG: F90FLAGS='-pipe -Os -m64' DEBUG: FCFLAGS='-pipe -Os -m64' DEBUG: FFLAGS='-pipe -Os -m64' DEBUG: INSTALL='/opt/local/libexec/macports/clonebin/install' DEBUG: LDFLAGS='-L/opt/local/libexec/boost/1.76/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' DEBUG: LIBRARY_PATH='/opt/local/lib' DEBUG: MACOSX_DEPLOYMENT_TARGET='14.0' DEBUG: OBJC='/usr/bin/clang' DEBUG: OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' DEBUG: OBJCXX='/usr/bin/clang++' DEBUG: OBJCXXFLAGS='-pipe -I/opt/local/libexec/boost/1.76/include -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk -arch arm64' DEBUG: PKG_CONFIG_ALLOW_SYSTEM_CFLAGS='1' DEBUG: PKG_CONFIG_ALLOW_SYSTEM_LIBS='1' DEBUG: SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk' DEBUG: SOURCE_DATE_EPOCH='1775234974' Executing: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_LIBS_OPENSSL= QMAKE_CXXFLAGS_CXX14=-std=c++17 -spec macx-clang DEBUG: system: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_LIBS_OPENSSL= QMAKE_CXXFLAGS_CXX14=-std=c++17 -spec macx-clang Project ERROR: Could not resolve SDK Path for 'macosx14' using --show-sdk-path Command failed: cd "/opt/local/var/macports/build/qt5-qtlocation-ff179007/work/qtlocation-everywhere-src-5.15.18" && /opt/local/libexec/qt5/bin/qmake PREFIX=/opt/local QMAKE_LIBS_OPENSSL= QMAKE_CXXFLAGS_CXX14=-std=c++17 -spec macx-clang Exit code: 3 Error: Failed to configure qt5-qtlocation: configure failure: command execution failed DEBUG: Error code: NONE
Note: See
TracTickets for help on using
tickets.
