[MacPorts] #71423: qt5-qtbase @5.15.15_0: ASSERT failure in QMacVersion: "Could not find any version load command"

MacPorts noreply at macports.org
Fri Jan 17 08:08:24 UTC 2025


#71423: qt5-qtbase @5.15.15_0: ASSERT failure in QMacVersion: "Could not find any
version load command"
-------------------------+---------------------------------
  Reporter:  mebius-san  |      Owner:  MarcusCalhoun-Lopez
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  sequoia arm64
      Port:  qt5-qtbase  |
-------------------------+---------------------------------

Comment (by jamodeo12):

 Indeed, when trying to compile qt5-qtbase (without the compiling C++ fails
 stuff), I had the problem at ./configure stage with this error same error
 message than mebius-san

 :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.

 Looking in the log I found that it was needed to go in a folder and run
 ./configure (to make qmake if I remember it well). This folder had wrong
 permissions, I solved it, and the run the ./configure that eneded with new
 error message (same than mebius-san again) :

 ASSERT failure in QMacVersion: "Could not find any version load command",
 file
 /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.15/src/corelib/kernel/qcore_mac.mm, line 761

 After a few tries (I was able to compite qt6, thus I tried qt6 qmake,
 etc., it does not work), I solved all of that with the compiling C++ fails
 stuff from the macport Sequoia error webpage.
 After removing the/Library/Developer/CommandLineTools/usr/include/c++
 folder, qt5-qtbase installed instantaneously.

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


More information about the macports-tickets mailing list