Opened 5 months ago
Last modified 5 months ago
#73213 assigned defect
qt5-qtbase: ASSERT failure in QMacVersion
| Reported by: | kom177 | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.11.6 |
| Keywords: | tahoe | Cc: | reneeotten (Renee Otten) |
| Port: | qt5-qtbase |
Description (last modified by kom177)
Installation of qt5-qtbase on Tahoe 26.1 fails with above error. This breaks install of many qt5-dependent ports (e.g. QGIS).
:info:configure Creating qmake... :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure Failed to resolve SDK path for 'macosx26.0' :info:configure make: Nothing to be done for `first'. :info:configure ASSERT failure in QMacVersion: "Could not find any version load command", file /opt/local/var/macports/build/qt5-qtbase-ff179007/work/qtbase-everywhere-src-5.15.18/src/corelib/kernel/qcore_mac.mm, line 776 :info:configure ./configure: line 865: 11684 Abort trap: 6 "$outpath/bin/qmake" "$relpathMangled" -- "$@" :info:configure Command failed: cd "/opt/local/var/macports/build/qt5-qtbase-ff179007/work/qtbase-everywhere-src-5.15.18" && ./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 QMAKE_CXXFLAGS_GNUCXX11=-std=c++17 -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-xkbcommon -no-system-proxies -no-feature-vulkan -framework -sdk macosx -no-libudev -no-egl -openssl-linked :info:configure Exit code: 134 :error:configure Failed to configure qt5-qtbase: configure failure: command execution failed :debug:configure Error code: NONE :debug:configure Backtrace: configure failure: command execution failed :debug:configure while executing :debug:configure "$procedure $targetname" :error:configure See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_qt5/qt5-qtbase/main.log for details.
Attachments (1)
Change History (8)
Changed 5 months ago by kom177
| Attachment: | main.log.zip added |
|---|
comment:1 Changed 5 months ago by kom177
| Description: | modified (diff) |
|---|
comment:2 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | reneeotten added |
|---|---|
| Keywords: | tahoe added |
| Owner: | set to MarcusCalhoun-Lopez |
| Status: | new → assigned |
| Summary: | Failed to configure qt5-qtbase: configure failure: command execution failed → qt5-qtbase: ASSERT failure in QMacVersion |
comment:3 Changed 5 months ago by kom177
comment:4 follow-up: 6 Changed 5 months ago by reneeotten (Renee Otten)
It works on Tahoe for me locally on x86_64 and I doubt it is an ARM specific issue. It more looks like an SDK problem related to your local installation form the error message (configure Failed to resolve SDK path for 'macosx26.0'). Did you try to reinstall XCode and/or CLT?
@Ryan: the build of qt5-qtbase on Tahoe on the buildbots failed but from the log that seems to be a random issue to me. Could you please reschedule a build to see whether that indeed fails with the same error as in this ticket?
comment:5 Changed 5 months ago by kom177
@reneeotten, no, reinstall of CLT didn't help. All above messages are totally the same. On the other hand, I've tried to build another port required for QGIS3 (gnupg2) and it finished successfully.
comment:6 Changed 5 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to reneeotten:
the build of
qt5-qtbaseon Tahoe on the buildbots failed but from the log that seems to be a random issue to me.
I agree; it looks like a consequence of #53587. While the portbuilder was trying to build the port, the portwatcher removed its work directory.
Could you please reschedule a build to see whether that indeed fails with the same error as in this ticket?
That succeeded: https://build.macports.org/builders/ports-26_arm64-builder/builds/20691
The archive should appear on the public server within a couple hours.
comment:7 Changed 5 months ago by kom177
@reneeotten, thanks, qt5-qtbase archive has been installed successfully, all of it's subports that required by QGIS has been built.

It is very similar to comment:ticket:71423:5 but the /Library/Developer/CommandLineTools/usr/include/c++ folder had been removed earlier.