Opened 4 weeks ago
Closed 4 days ago
#71096 closed defect (fixed)
Error installing py312-pyqt6 on MacOS Sequoia
Reported by: | RivetBenoit (Benoit Rivet) | Owned by: | reneeotten (Renee Otten) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mamoll (Mark Moll) | |
Port: | py312-pyqt6 |
Description
Now that qt6-webengine compiles on Mac OS Sequoia (thanks to all the people working hard on these issues), I have been finally able to attempt installing py312-pyqt6. However, installation fails, it's really sad.
According to the log file, this is due to call to deleted constructor of '::QXmlStreamEntityResolver'
See the log file, starting line 32374 :
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:64:97: error: call to deleted constructor of '::QXmlStreamEntityResolver' :info:build 64 | sipQXmlStreamEntityResolver::sipQXmlStreamEntityResolver(const ::QXmlStreamEntityResolver& a0): ::QXmlStreamEntityResolver(a0), sipPySelf(SIP_NULLPTR) :info:build | ^ ~~ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:25: note: 'QXmlStreamEntityResolver' has been explicitly marked deleted here :info:build 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver) :info:build | ^ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:148:71: error: overload resolution selected deleted operator '=' :info:build 148 | reinterpret_cast<::QXmlStreamEntityResolver *>(sipDst)[sipDstIdx] = *reinterpret_cast<::QXmlStreamEntityResolver *>(sipSrc); :info:build | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:5: note: candidate function has been explicitly deleted :info:build 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver) :info:build | ^ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:28:5: note: expanded from macro 'Q_DISABLE_COPY_MOVE' :info:build 28 | Q_DISABLE_COPY(Class) \ :info:build | ^ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:25:12: note: expanded from macro 'Q_DISABLE_COPY' :info:build 25 | Class &operator=(const Class &) = delete; :info:build | ^ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:5: note: candidate function not viable: expects an rvalue for 1st argument :info:build 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver) :info:build | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qtclasshelpermacros.h:30:12: note: expanded from macro 'Q_DISABLE_COPY_MOVE' :info:build 30 | Class &operator=(Class &&) = delete; :info:build | ^ ~~~~~~~~ :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt6/py312-pyqt6/work/PyQt6-6.7.1/build/QtCore/sipQtCoreQXmlStreamEntityResolver.cpp:155:16: error: call to deleted constructor of '::QXmlStreamEntityResolver' :info:build 155 | return new ::QXmlStreamEntityResolver(reinterpret_cast<const ::QXmlStreamEntityResolver *>(sipSrc)[sipSrcIdx]); :info:build | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :info:build /opt/local/libexec/qt6/lib/QtCore.framework/Headers/qxmlstream.h:220:25: note: 'QXmlStreamEntityResolver' has been explicitly marked deleted here :info:build 220 | Q_DISABLE_COPY_MOVE(QXmlStreamEntityResolver) :info:build | ^ :info:build 3 errors generated. :info:build make[1]: *** [sipQtCoreQXmlStreamEntityResolver.o] Error 1 :info:build make: *** [sub-QtCore-make_first-ordered] Error 2 :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-pyqt6/py312-pyqt6/work/PyQt6-6.7.1" && sip-build-3.12 --qmake /opt/local/libexec/qt6/bin/qmake --verbose --confirm-license --dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.12/include/python3.12/dbus-1.0 :info:build Exit code: 1
There is also an error line 32042 :
:info:build Project ERROR: Unknown module(s) in QT: axcontainer
Attachments (1)
Change History (5)
Changed 4 weeks ago by RivetBenoit (Benoit Rivet)
Attachment: | py312-pyqt6.log added |
---|
comment:1 Changed 4 weeks ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to reneeotten |
---|---|
Status: | new → assigned |
comment:2 Changed 4 weeks ago by reneeotten (Renee Otten)
comment:3 Changed 3 weeks ago by mamoll (Mark Moll)
Cc: | mamoll added |
---|
comment:4 Changed 4 days ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Indeed, this is the last missing piece to get all the Qt 6 pieces build on at least modern macOS versions. I’m assuming upstream will release a version that filly support Qt 6.8.0 in the near future.