[MacPorts] #62515: py39-pyqt5-webengine 5.15.4_0 and py39-pyqt5-chart 5.15.4_0: Unable to upgrade neither py39-pyqt5-webengine nor py39-pyqt5-chart

MacPorts noreply at macports.org
Mon Mar 22 10:25:59 UTC 2021


#62515: py39-pyqt5-webengine 5.15.4_0 and py39-pyqt5-chart 5.15.4_0: Unable to
upgrade neither py39-pyqt5-webengine nor py39-pyqt5-chart
-------------------------+-------------------------------------------------
 Reporter:  JD-Veiga     |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.6.4
 Keywords:               |       Port:  py39-pyqt5-webengine
                         |  py39-pyqt5-chart py39-pyqt5 py39-sip
-------------------------+-------------------------------------------------
 Hi,

 I am not able to upgrade neither `py39-pyqt5-webengine` nor
 `py39-pyqt5-chart`.

 The problem is quite similar to one that I have been in the past related
 to Python 3.8 (See #60741). Now, I have upgraded Python 3.8
 `py38-pyqt5-webengine` and `py38-pyqt5-chart` without any inconvenience
 but not Python 3.9 corresponding ports.

 `py39-pyqt5-chart` fails because:

 {{{
 sip: Unable to find file "QtGui/QtGuimod.sip"
 }}}


 while `py39-pyqt5-webengine` fails because:

 {{{
 sip: Unable to find file "QtCore/QtCoremod.sip"
 }}}

 Of course, both `QtGui/QtGuimod.sip` and `QtCore/QtCoremod.sip` can be
 found in:
 *
 `/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/sip/PyQt5/QtGui/QtGuimod.sip`
 and
 *
 `/opt/local/Library/Frameworks/Python.framework/Versions/3.9/share/sip/PyQt5/QtCore/QtCoremod.sip`.

 My system is:

 {{{
 macos Mojave 10.14.6 (18G8022)
 MacPorts 2.6.4
 }}}

 The installed ports are:

 {{{
 py39-pyqt5-chart @5.15.2_0
 py39-pyqt5-webengine @5.15.2_0
 }}}

 The output of `sudo port -v upgrade py39-pyqt5-webengine` is:

 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-webengine/work/PyQtWebEngine-5.15.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py -q /opt/local/libexec/qt5/bin/qmake --verbose
 --sip=/opt/local/bin/sip-3.9 --no-qsci-api --no-dist-info --spec=macx-
 clang
 Error: Unable to create the C++ code.
 Configuring PyQtWebEngine 5.15.4...
 The PyQtWebEngine .sip files will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5/bindings.
 PyQtWebEngine will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5.
 PyQt 5.15.4 is being used.
 Qt 5.15.2 is being used.
 sip 4.19.25 is being used.
 The sip executable is /opt/local/bin/sip-3.9.
 PyQtWebEngine is being built with 'protected' redefined as 'public'.
 The PEP 484 stubs will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5.
 Generating the C++ source for the QtWebEngine module...
 /opt/local/bin/sip-3.9 -I
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-webengine/work/PyQtWebEngine-5.15.4/sip -I
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5/bindings -n sip -t WS_MACX -t Qt_5_15_0 -B Qt_6_0_0
 -t QtWebEngine_5_15_0 -y QtWebEngine.pyi -P -o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-webengine/work/PyQtWebEngine-5.15.4/QtWebEngine
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-webengine/work/PyQtWebEngine-5.15.4/sip/QtWebEngine/QtWebEnginemod.sip
 sip: Deprecation warning: the -B flag is deprecated
 sip: Unable to find file "QtCore/QtCoremod.sip"
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-webengine/work/PyQtWebEngine-5.15.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py -q /opt/local/libexec/qt5/bin/qmake --verbose
 --sip=/opt/local/bin/sip-3.9 --no-qsci-api --no-dist-info --spec=macx-
 clang
 Exit code: 1
 Error: Failed to configure py39-pyqt5-webengine: configure failure:
 command execution failed
 }}}

 The output of `` is:

 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-chart/work/PyQtChart-5.15.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py -q /opt/local/libexec/qt5/bin/qmake --verbose
 --sip=/opt/local/bin/sip-3.9 --no-qsci-api --no-dist-info --spec=macx-
 clang
 Error: Unable to create the C++ code.
 Configuring PyQtChart 5.15.4...
 QtChart 5.15.2 is being used.
 The QtChart .sip files will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5/bindings.
 PyQtChart will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5.
 PyQt 5.15.4 is being used.
 Qt 5.15.2 is being used.
 sip 4.19.25 is being used.
 The sip executable is /opt/local/bin/sip-3.9.
 PyQtChart is being built with 'protected' redefined as 'public'.
 The PEP 484 stubs will be installed in
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5.
 Generating the C++ source for the QtChart module...
 /opt/local/bin/sip-3.9 -I
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-chart/work/PyQtChart-5.15.4/sip -I
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9
 /site-packages/PyQt5/bindings -n sip -t WS_MACX -t Qt_5_15_0 -B Qt_6_0_0
 -t QtChart_5_15_0 -y QtChart.pyi -P -o -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-chart/work/PyQtChart-5.15.4/QtChart
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-chart/work/PyQtChart-5.15.4/sip/QtChart/QtChartmod.sip
 sip: Deprecation warning: the -B flag is deprecated
 sip: Unable to find file "QtGui/QtGuimod.sip"
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_python_py-
 pyqt5/py39-pyqt5-chart/work/PyQtChart-5.15.4" &&
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9
 configure.py -q /opt/local/libexec/qt5/bin/qmake --verbose
 --sip=/opt/local/bin/sip-3.9 --no-qsci-api --no-dist-info --spec=macx-
 clang
 Exit code: 1
 Error: Failed to configure py39-pyqt5-chart: configure failure: command
 execution failed
 }}}

 Thanks a lot.

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


More information about the macports-tickets mailing list