From a82e419c3dd25355593180264e5dd998868964fb Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 28 Dec 2025 22:10:43 +0100 Subject: [PATCH] package/python-pyqt5: disable qt5webkit module Due to issues in the installation of qt5webkit, building the corresponding Python binding fails: Project ERROR: Unknown module(s) in QT: webkit Error: /home/thomas/buildroot/br/output-all/host/bin/qmake failed to create a makefile from PyQt5.pro. make[1]: *** [package/pkg-generic.mk:263: /home/thomas/buildroot/br/output-all/build/python-pyqt5-5.15.6/.stamp_configured] Error 1 make: *** [Makefile:83: _all] Error 2 https://lore.kernel.org/buildroot/20220929181350.1026033-1-thomas.ballasi@savoirfairelinux.com/ was an attempt at fixing it, but this patch doesn't work and looks weird. So for the time being, disable the Webkit module in python-pyqt5. This issue has indeed been around for as far as 2022. Fixes: https://autobuild.buildroot.net/results/b9d69d21e734aa62a6e0b4d4124c2bcfc027ebe4/ Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit b3e9dc303e0fb883c42954f9eaf3fe70001bd714) Signed-off-by: Thomas Perale --- package/python-pyqt5/python-pyqt5.mk | 7 ------- 1 file changed, 7 deletions(-) diff --git a/package/python-pyqt5/python-pyqt5.mk b/package/python-pyqt5/python-pyqt5.mk index bee0c529ca..1ab9cea4ad 100644 --- a/package/python-pyqt5/python-pyqt5.mk +++ b/package/python-pyqt5/python-pyqt5.mk @@ -91,13 +91,6 @@ PYTHON_PYQT5_DEPENDENCIES += qt5webchannel PYTHON_PYQT5_MODULES += QtWebChannel endif -ifeq ($(BR2_PACKAGE_QT5WEBKIT),y) -PYTHON_PYQT5_DEPENDENCIES += qt5webkit -PYTHON_PYQT5_MODULES += \ - QtWebKit \ - $(if $(BR2_PACKAGE_QT5BASE_WIDGETS),QtWebKitWidgets) -endif - ifeq ($(BR2_PACKAGE_QT5WEBSOCKETS),y) PYTHON_PYQT5_DEPENDENCIES += qt5websockets PYTHON_PYQT5_MODULES += QtWebSockets