flathub / io.qt.qtwebengine.BaseApp

9 stars 13 forks source link

`qwebenginewebauthuxrequest.h` not found #351

Closed JakobDev closed 6 months ago

JakobDev commented 6 months ago

While building the 6.7 branch of the PyQt BaseApp, I got the following error:

/usr/bin/qmake -recursive PyQt6-WebEngine.pro
Info: creating stash file /run/build/pyqt-webengine/build/.qmake.stash
Reading /run/build/pyqt-webengine/build/QtWebEngineCore/QtWebEngineCore.pro
Reading /run/build/pyqt-webengine/build/QtWebEngineQuick/QtWebEngineQuick.pro
Reading /run/build/pyqt-webengine/build/QtWebEngineWidgets/QtWebEngineWidgets.pro
Compiling the project...
make
cd QtWebEngineCore/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /run/build/pyqt-webengine/build/QtWebEngineCore/QtWebEngineCore.pro ) && make -f Makefile 
make[1]: Entering directory '/run/build/pyqt-webengine/build/QtWebEngineCore'
g++ -c -pipe -g -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03080000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLINTEGRATION_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.11 -I/app/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtOpenGL -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtQmlIntegration -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/mkspecs/linux-g++ -o sipQtWebEngineCorepart0.o sipQtWebEngineCorepart0.cpp
/run/build/pyqt-webengine/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip:100:10: fatal error: qwebenginewebauthuxrequest.h: No such file or directory
  100 | #include <qwebenginewebauthuxrequest.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1006: sipQtWebEngineCorepart0.o] Error 1
make[1]: Leaving directory '/run/build/pyqt-webengine/build/QtWebEngineCore'
make: *** [Makefile:49: sub-QtWebEngineCore-make_first-ordered] Error 2
sip-build: 'make' failed returning 2
FB: host_command_exited_cb 1394326 0
]2;flatpak-builder: Installing pyqt-webengineFB: Running 'flatpak build --die-with-parent --env=FLATPAK_BUILDER_BUILDDIR=/run/build/pyqt-webengine --nofilesystem=host:reset --filesystem=/srv/buildbot/worker/build-x86_64-3/build/.flatpak-builder/build/pyqt-webengine-1 --bind-mount=/run/build/pyqt-webengine=/srv/buildbot/worker/build-x86_64-3/build/.flatpak-builder/build/pyqt-webengine-1 --build-dir=/run/build/pyqt-webengine --bind-mount=/run/ccache=/srv/buildbot/worker/build-x86_64-3/build/.flatpak-builder/ccache --unshare=network --env=SOURCE_DATE_EPOCH=1714132342 '--env=CFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=CXXFLAGS=-O2 -pipe -g -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer ' '--env=LDFLAGS=-L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed ' --env=QMAKEPATH=/app --env=CCACHE_DIR=/run/ccache/disabled --env=PATH=/app/bin:/usr/bin --env=LD_LIBRARY_PATH=/app/lib --env=PKG_CONFIG_PATH=/app/lib/pkgconfig:/app/share/pkgconfig:/usr/lib/pkgconfig:/usr/share/pkgconfig --env=FLATPAK_BUILDER_N_JOBS=64 /srv/buildbot/worker/build-x86_64-3/build/.flatpak-builder/rofiles/rofiles-F9U9Ie make -j64 -l128 --directory=build' on host
make: Entering directory '/run/build/pyqt-webengine/build'
cd QtWebEngineCore/ && ( test -e Makefile || /usr/bin/qmake -o Makefile /run/build/pyqt-webengine/build/QtWebEngineCore/QtWebEngineCore.pro ) && make -f Makefile 
make[1]: Entering directory '/run/build/pyqt-webengine/build/QtWebEngineCore'
g++ -c -pipe -g -fno-exceptions -Wall -Wextra -D_REENTRANT -fPIC -DPy_LIMITED_API=0x03080000 -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_QMLINTEGRATION_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I. -I. -I.. -I/usr/include/python3.11 -I/app/include/QtWebEngineCore -I/usr/include/QtQuick -I/usr/include/QtOpenGL -I/usr/include/QtGui -I/usr/include/QtQmlModels -I/usr/include/QtWebChannel -I/usr/include/QtQml -I/usr/include/QtNetwork -I/usr/include/QtQmlIntegration -I/usr/include/QtPositioning -I/usr/include/QtCore -I. -I/usr/mkspecs/linux-g++ -o sipQtWebEngineCorepart0.o sipQtWebEngineCorepart0.cpp
/run/build/pyqt-webengine/sip/QtWebEngineCore/qwebenginewebauthuxrequest.sip:100:10: fatal error: qwebenginewebauthuxrequest.h: No such file or directory
  100 | #include <qwebenginewebauthuxrequest.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1006: sipQtWebEngineCorepart0.o] Error 1
make[1]: Leaving directory '/run/build/pyqt-webengine/build/QtWebEngineCore'
make: *** [Makefile:49: sub-QtWebEngineCore-make_first-ordered] Error 2
make: Leaving directory '/run/build/pyqt-webengine/build'
FB: host_command_exited_cb 1394375 512

Looks like a header file is missing.

bbhtt commented 6 months ago

Seems it is there

flatpak run --command=find io.qt.qtwebengine.BaseApp//6.7 /app/include -name qwebenginewebauthuxrequest.h

/app/include/QtWebEngineCore/qwebenginewebauthuxrequest.h
JakobDev commented 6 months ago

I was stupid. I just forgot the update the Branch of the BaseApp. Sorry for that.