[MacPorts] #68643: py310-pyqt4 cannot find installed py310-sip4: ModuleNotFoundError: No module named 'sipconfig'
MacPorts
noreply at macports.org
Mon Nov 6 00:29:24 UTC 2023
#68643: py310-pyqt4 cannot find installed py310-sip4: ModuleNotFoundError: No
module named 'sipconfig'
-------------------------------------------------+-------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Keywords: tiger, leopard, snowleopard, | Port:
powerpc | py310-pyqt4, py310-sip4
-------------------------------------------------+-------------------------
`py27-pyqt4` installs normally on the identical setup. `py310-pyqt4`
fails:
{{{
36-32% sudo port -v install py310-pyqt4
Warning: configured user/group macports does not exist, will build as root
---> Computing dependencies for py310-pyqt4.
---> Fetching distfiles for py310-pyqt4
---> Verifying checksums for py310-pyqt4
---> Checksumming PyQt4_gpl_mac-4.12.1.tar.gz
---> Extracting py310-pyqt4
---> Extracting PyQt4_gpl_mac-4.12.1.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-pyqt4/py310-pyqt4/work" &&
/usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/python/PyQt4_gpl_mac-4.12.1.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to py310-pyqt4
---> Applying patch-configure.py.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1" && /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python
/py-pyqt4/files/patch-configure.py.diff'
patching file configure.py
---> Applying patch-add_ppc64.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1" && /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python
/py-pyqt4/files/patch-add_ppc64.diff'
patching file configure.py
---> Applying patch-fix-qt_apps_dir.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1" && /usr/bin/patch -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/python
/py-pyqt4/files/patch-fix-qt_apps_dir.diff'
patching file examples/demos/qtdemo/menumanager.py
patching file examples/designer/plugins/plugins.py
---> Patching configure.py:
s|@@MACPORTS_PYTHON_FRAMEWORK@@|/opt/local/Library/Frameworks/Python.framework/Versions/3.10/Python|
---> Patching menumanager.py: s|@QT_APPS_DIR@|/Applications/MacPorts/Qt4|
---> Patching plugins.py: s|@QT_APPS_DIR@|/Applications/MacPorts/Qt4|
---> Configuring py310-pyqt4
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
configure.py -q /opt/local/libexec/qt4/bin/qmake --verbose --confirm-
license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative
-e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e
QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer -e QtDesigner
--dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/dbus-1.0
--no-qsci-api
--sipdir=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/share/sip/PyQt4
--use-arch=ppc CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2
LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib
-Wl,-headerpad_max_install_names" CFLAGS="-Os -pipe" CXXFLAGS="-Os -pipe"
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1/configure.py", line 27, in
<module>
import sipconfig
ModuleNotFoundError: No module named 'sipconfig'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_macports_release_tarballs_ports_python_py-
pyqt4/py310-pyqt4/work/PyQt4_gpl_mac-4.12.1" &&
/opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10
configure.py -q /opt/local/libexec/qt4/bin/qmake --verbose --confirm-
license -e QtGui -e QtHelp -e QtMultimedia -e QtNetwork -e QtDeclarative
-e QtOpenGL -e QtScript -e QtScriptTools -e QtSql -e QtSvg -e QtTest -e
QtWebKit -e QtXml -e QtXmlPatterns -e QAxContainer -e QtDesigner
--dbus=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10/dbus-1.0
--no-qsci-api
--sipdir=/opt/local/Library/Frameworks/Python.framework/Versions/3.10/share/sip/PyQt4
--use-arch=ppc CC=/usr/bin/gcc-4.2 CXX=/usr/bin/g++-4.2
LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib
-Wl,-headerpad_max_install_names" CFLAGS="-Os -pipe" CXXFLAGS="-Os -pipe"
Exit code: 1
Error: Failed to configure py310-pyqt4: configure failure: command
execution failed
}}}
Default portfiles are being used for both.
--
Ticket URL: <https://trac.macports.org/ticket/68643>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list