Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.15.1
-
None
Description
Hello QtWebEngine Dev-Team,
QtWebEngine 5.15.1 build fails with following clang linker error on OpenBSD/amd64. Currently QtWebEngine 5.13.2 is ported to OpenBSD.
Here is the problem: QtWebEngineProcess is missing QtWebEngineCore::processMain from `src/core/process_main.cpp|h`.
It is probably missing a -lQt5WebEngineCore.
I have no idea why this suddenly stopped working. Does anyone have any idea what I can try?
Here is the full build error:
c++ -c -O2 -pipe -g -O2 -pipe -g -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -pthread -fPIC -DQT_NO_LINKED_LIST -DQT_BUILD_WEBENGINEWIDGETS_LIB -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_WEBENGINEWIDGETS_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I/usr/include/c++/v1 -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/webenginewidgets -I. -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/webenginewidgets -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/webenginewidgets/api -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/core -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/core/api -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/webengine/api -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineWidgets -I../../include -I../../include/QtWebEngineWidgets -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineWidgets/5.15.1 -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineWidgets/5.15.1/QtWebEngineWidgets -I../../include/QtWebEngineWidgets/5.15.1 -I../../include/QtWebEngineWidgets/5.15.1/QtWebEngineWidgets -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore -I../../include/QtWebEngineCore -I/usr/local/include/X11/qt5 -I/usr/local/include/X11/qt5/QtQuick -I/usr/local/include/X11/qt5/QtPrintSupport -I/usr/local/include/X11/qt5/QtWidgets -I/usr/local/include/X11/qt5/QtGui -I/usr/local/include/X11/qt5/QtQmlModels -I/usr/local/include/X11/qt5/QtWebChannel -I/usr/local/include/X11/qt5/QtQml -I/usr/local/include/X11/qt5/QtNetwork -I/usr/local/include/X11/qt5/QtPositioning -I/usr/local/include/X11/qt5/QtCore -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore/5.15.1 -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore/5.15.1/QtWebEngineCore -I../../include/QtWebEngineCore/5.15.1 -I../../include/QtWebEngineCore/5.15.1/QtWebEngineCore -I/usr/local/include/X11/qt5/QtQuick/5.15.1 -I/usr/local/include/X11/qt5/QtQuick/5.15.1/QtQuick -I/usr/local/include/X11/qt5/QtWidgets/5.15.1 -I/usr/local/include/X11/qt5/QtWidgets/5.15.1/QtWidgets -I/usr/local/include/X11/qt5/QtGui/5.15.1 -I/usr/local/include/X11/qt5/QtGui/5.15.1/QtGui -I/usr/local/include/X11/qt5/QtQmlModels/5.15.1 -I/usr/local/include/X11/qt5/QtQmlModels/5.15.1/QtQmlModels -I/usr/local/include/X11/qt5/QtQml/5.15.1 -I/usr/local/include/X11/qt5/QtQml/5.15.1/QtQml -I/usr/local/include/X11/qt5/QtCore/5.15.1 -I/usr/local/include/X11/qt5/QtCore/5.15.1/QtCore -I/usr/local/include/X11/qt5/QtQuickWidgets -I.moc -I/usr/X11R6/include -I/usr/X11R6/include/libdrm -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/openbsd-clang -o .obj/moc_qwebenginedownloaditem.o .moc/moc_qwebenginedownloaditem.cpp rm -f libQt5WebEngineWidgets.so.0.0 clang++ -g -g -pthread -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath,/usr/local/lib/qt5 -Wl,-rpath-link,/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/lib -shared -Wl,-Bsymbolic-functions -o libQt5WebEngineWidgets.so.0.0 .obj/qtwebenginewidgetsglobal.o .obj/qwebenginecertificateerror.o .obj/qwebengineclientcertificateselection.o .obj/qwebenginecontextmenudata.o .obj/qwebenginedownloaditem.o .obj/qwebenginefullscreenrequest.o .obj/qwebenginehistory.o .obj/qwebenginenotificationpresenter.o .obj/qwebenginepage.o .obj/qwebengineprofile.o .obj/qwebenginescript.o .obj/qwebenginescriptcollection.o .obj/qwebenginesettings.o .obj/qwebengineview.o .obj/render_widget_host_view_qt_delegate_widget.o .obj/printer_worker.o .obj/moc_qwebenginecontextmenudata.o .obj/moc_qwebenginedownloaditem.o .obj/moc_qwebenginefullscreenrequest.o .obj/moc_qwebenginenotificationpresenter_p.o .obj/moc_qwebengineprofile.o .obj/moc_render_widget_host_view_qt_delegate_widget.o .obj/moc_printer_worker.o -L/usr/local/lib/qt5 -L/usr/local/lib -L/usr/X11R6/lib -lQt5WebEngineCore -lQt5Quick -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5QmlModels -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Core -lGL -lQt5WebEngineCore -L/usr/local/lib/qt5 -L/usr/local/lib -L/usr/X11R6/lib -lQt5QuickWidgets -lQt5Quick -lQt5Widgets -lQt5Gui -lQt5QmlModels -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Positioning -lQt5Core -L/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/lib -L/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/src/core/api/release rm -f ../../lib/libQt5WebEngineWidgets.so.0.0 mv -f libQt5WebEngineWidgets.so.0.0 ../../lib/ cd process/ && ( test -e Makefile || /usr/local/bin/qmake-qt5 -o Makefile /usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/process/process.pro CONFIG-=examples PREFIX=/usr/local 'QMAKE_CFLAGS=-O2 -pipe -g ' 'QMAKE_CFLAGS_RELEASE=-O2 -pipe -g ' QMAKE_CXX=c++ 'QMAKE_CXXFLAGS=-O2 -pipe -g ' 'QMAKE_CXXFLAGS_RELEASE=-O2 -pipe -g ' QMAKE_LFLAGS=-g QMAKE_LFLAGS_RELEASE=-g ) && make -f Makefile c++ -c -O2 -pipe -g -O2 -pipe -g -std=c++1z -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -pthread -fPIC -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_WEBENGINECORE_LIB -DQT_QUICK_LIB -DQT_QMLMODELS_LIB -DQT_WEBCHANNEL_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_POSITIONING_LIB -DQT_CORE_LIB -I/usr/include/c++/v1 -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/process -I. -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/core -I/usr/local/include/X11/qt5 -I/usr/local/include/X11/qt5/QtGui -I/usr/local/include/X11/qt5/QtCore -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore/5.15.1 -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore/5.15.1/QtWebEngineCore -I../../include/QtWebEngineCore/5.15.1 -I../../include/QtWebEngineCore/5.15.1/QtWebEngineCore -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include -I/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/include/QtWebEngineCore -I../../include -I../../include/QtWebEngineCore -I/usr/local/include/X11/qt5/QtQuick/5.15.1 -I/usr/local/include/X11/qt5/QtQuick/5.15.1/QtQuick -I/usr/local/include/X11/qt5/QtQmlModels/5.15.1 -I/usr/local/include/X11/qt5/QtQmlModels/5.15.1/QtQmlModels -I/usr/local/include/X11/qt5/QtQml/5.15.1 -I/usr/local/include/X11/qt5/QtQml/5.15.1/QtQml -I/usr/local/include/X11/qt5/QtGui/5.15.1 -I/usr/local/include/X11/qt5/QtGui/5.15.1/QtGui -I/usr/local/include/X11/qt5/QtCore/5.15.1 -I/usr/local/include/X11/qt5/QtCore/5.15.1/QtCore -I/usr/local/include/X11/qt5/QtQuick -I/usr/local/include/X11/qt5/QtQmlModels -I/usr/local/include/X11/qt5/QtWebChannel -I/usr/local/include/X11/qt5/QtQml -I/usr/local/include/X11/qt5/QtNetwork -I/usr/local/include/X11/qt5/QtPositioning -I.moc -I/usr/X11R6/include -I/usr/X11R6/include/libdrm -I/usr/local/include -I/usr/local/include -I/usr/local/lib/qt5/mkspecs/openbsd-clang -o .obj/main.o /usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/process/main.cpp clang++ -g -g -pthread -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath,/usr/local/lib/qt5 -Wl,-rpath-link,/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/lib -o ../../libexec/QtWebEngineProcess .obj/main.o -L/usr/local/lib/qt5 -L/usr/X11R6/lib -lGL -L/usr/local/lib -lQt5Gui -lQt5Core -lQt5WebEngineCore -L/usr/local/lib/qt5 -L/usr/local/lib -L/usr/X11R6/lib -lQt5Quick -lQt5QmlModels -lQt5WebChannel -lQt5Qml -lQt5Network -lQt5Gui -lQt5Positioning -lQt5Core -L/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/libexec -L/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/lib -L/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/build-amd64/src/core/api/release ld.lld: error: undefined symbol: QtWebEngineCore::processMain(int, char const**) >>> referenced by main.cpp:130 (/usr/ports/pobj/qtwebengine-5.15.1/qtwebengine-everywhere-src-5.15.1/src/process/main.cpp:130) >>> .obj/main.o:(main) clang++: error: linker command failed with exit code 1 (use -v to see invocation) *** Error 1 in src/process (Makefile:94 '../../libexec/QtWebEngineProcess')