Hi,
I’m trying to build gwenview with the kdesrc-build tool.
It runs through all the dependencies, but the compile of gwenview itself fails with an error that I don’t know how to approach.
The last few lines of the error log are quoted here, and I put the error line in bold. Does anyone have an idea where I can start?
[202/296] Linking CXX executable bin/gwenview
FAILED: bin/gwenview
: && /usr/bin/c++ -pipe -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -O2 -g -DNDEBUG -Wl,–enable-new-dtags app/CMakeFiles/gwenview.dir/gwenview_autogen/mocs_compilation.cpp.o app/CMakeFiles/gwenview.dir/abstractcontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/alignwithsidebarwidgetaction.cpp.o app/CMakeFiles/gwenview.dir/configdialog.cpp.o app/CMakeFiles/gwenview.dir/gvcore.cpp.o app/CMakeFiles/gwenview.dir/documentinfoprovider.cpp.o app/CMakeFiles/gwenview.dir/viewmainpage.cpp.o app/CMakeFiles/gwenview.dir/fileoperations.cpp.o app/CMakeFiles/gwenview.dir/filtercontroller.cpp.o app/CMakeFiles/gwenview.dir/folderviewcontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/fullscreencontent.cpp.o app/CMakeFiles/gwenview.dir/infocontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/imagemetainfodialog.cpp.o app/CMakeFiles/gwenview.dir/imageopscontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/fileopscontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/main.cpp.o app/CMakeFiles/gwenview.dir/mainwindow.cpp.o app/CMakeFiles/gwenview.dir/spotlightmode.cpp.o app/CMakeFiles/gwenview.dir/preloader.cpp.o app/CMakeFiles/gwenview.dir/renamedialog.cpp.o app/CMakeFiles/gwenview.dir/saveallhelper.cpp.o app/CMakeFiles/gwenview.dir/savebar.cpp.o app/CMakeFiles/gwenview.dir/sidebar.cpp.o app/CMakeFiles/gwenview.dir/startmainpage.cpp.o app/CMakeFiles/gwenview.dir/thumbnailviewhelper.cpp.o app/CMakeFiles/gwenview.dir/browsemainpage.cpp.o app/CMakeFiles/gwenview.dir/gwenview_app_debug.cpp.o app/CMakeFiles/gwenview.dir/gwenview_lib_debug.cpp.o app/CMakeFiles/gwenview.dir/semanticinfocontextmanageritem.cpp.o app/CMakeFiles/gwenview.dir/gwenview_autogen/EWIEGA46WW/qrc_gwenview.cpp.o -o bin/gwenview -Wl,-rpath,/home/phands/kde/build/gwenview/bin:/home/phands/kde/usr/lib/x86_64-linux-gnu:/home/phands/kde/usr/lib: /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ItemModels.so.6.3.0 bin/libgwenviewlib.so.4.97.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libPlasmaActivities.so.6.1.80 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6PurposeWidgets.so.6.3.0 /usr/lib/x86_64-linux-gnu/libtiff.so /home/phands/kde/usr/lib/libkImageAnnotator-Qt6.so.0.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6KIOFileWidgets.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6KIOWidgets.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6KIOGui.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6KIOCore.so.6.3.0 /usr/lib/x86_64-linux-gnu/libQt6Concurrent.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6JobWidgets.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Service.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Completion.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Bookmarks.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6WindowSystem.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6XmlGui.so.6.3.0 /usr/lib/x86_64-linux-gnu/libQt6PrintSupport.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ItemViews.so.6.3.0 /usr/lib/x86_64-linux-gnu/libexiv2.so /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/liblcms2.so /home/phands/kde/usr/lib/x86_64-linux-gnu/libphonon4qt6.so.4.12.0 /usr/lib/x86_64-linux-gnu/libQt6OpenGLWidgets.so.6.7.0 /usr/lib/x86_64-linux-gnu/libQt6OpenGL.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6IconWidgets.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6IconThemes.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ConfigWidgets.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6WidgetsAddons.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ColorScheme.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6GuiAddons.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ConfigGui.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKDcrawQt6.so.5.0.0 /usr/lib/x86_64-linux-gnu/libX11.so /usr/lib/x86_64-linux-gnu/libQt6SvgWidgets.so.6.7.0 /usr/lib/x86_64-linux-gnu/libQt6Svg.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Baloo.so.6.2.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Solid.so.6.3.0 /usr/lib/x86_64-linux-gnu/libQt6Xml.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6FileMetaData.so.6.2.0 /usr/lib/x86_64-linux-gnu/libQt6WaylandClient.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libwayland-client.so /home/phands/kde/usr/lib/x86_64-linux-gnu/libwayland-cursor.so /usr/lib/x86_64-linux-gnu/libxkbcommon.so /usr/lib/x86_64-linux-gnu/libQt6Widgets.so.6.7.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6I18n.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6Purpose.so.6.3.0 /usr/lib/x86_64-linux-gnu/libQt6Gui.so.6.7.0 /usr/lib/x86_64-linux-gnu/libGLX.so /usr/lib/x86_64-linux-gnu/libOpenGL.so /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6ConfigCore.so.6.3.0 /home/phands/kde/usr/lib/x86_64-linux-gnu/libKF6CoreAddons.so.6.3.0 /usr/lib/x86_64-linux-gnu/libQt6DBus.so.6.7.0 /usr/lib/x86_64-linux-gnu/libQt6Network.so.6.7.0 /usr/lib/x86_64-linux-gnu/libQt6Core.so.6.7.0 -Wl,-rpath-link,/home/phands/kde/usr/lib:/home/phands/kde/usr/lib/x86_64-linux-gnu && :
> /usr/bin/ld: /home/phands/kde/usr/lib/libkImageAnnotator-Qt6.so.0.7.0: undefined reference to `operator<<(QDebug, QDockWidget const&)@Qt_6’
> collect2: error: ld returned 1 exit status
[203/296] Building CXX object importer/CMakeFiles/gwenview_importer.dir/importdialog.cpp.o
[204/296] Building CXX object importer/CMakeFiles/gwenview_importer.dir/progresspage.cpp.o
[205/296] Building CXX object importer/CMakeFiles/gwenview_importer.dir/importer.cpp.o
ninja: build stopped: subcommand failed.