<div dir="ltr">Hello,<div><br></div><div>I have run into a couple issues when attempting to build the KDE development environment using kdesrc-build:</div><div><br></div><div>My linux environment is as follows:</div><div>Ubuntu/Kubuntu 22.04</div><div>GNU C++ g++ 11.2.0 (Ubuntu 11.2.0-19ubuntu1)</div><div><br></div><div>I've installed all the Qt5 dependencies that I'm aware of as described at <a href="https://doc.qt.io/qt-5/linux-requirements.html">https://doc.qt.io/qt-5/linux-requirements.html</a></div><div><br></div><div>When I attempt to build kwindowsystem, it comes up with an error that it cannot find Qt5X11Extras package.  I did provide a workaround to that by creating a symbolic link named Qt5X11Extras in ~/kde/qt5/lib/cmake to my existing Qt5X11Extras folder found in /usr/lib/x86_64-linux-gnu/cmake, which is version 5.15.3, and the version of Qt that I am building in my KDE development environment is 5.15.5.  This seemed to resolve the issue, although I'm not sure if what I did is a valid way of resolving this.  </div><div><br></div><div>My question regarding this is why the Qt5X11Extras folder was not created in ~/kde/qt5/lib/cmake when Qt5 was build as the first step in building the KDE Development environment, so that this issue would not come up.  Any help on resolving that issue would be greatly appreciated. </div><div><br></div><div>On to my second more critical errors.  I am getting build/linker errors when building KIO as follows:</div><div><br></div><div>[ 51%] Building CXX object autotests/CMakeFiles/favicontest.dir/favicontest.cpp.o<br>[ 51%] Generating ui_checksumswidget.h<br>[ 51%] Generating ui_kfilepropspluginwidget.h<br>[ 51%] Generating ui_kpropertiesdesktopadvbase.h<br>[ 51%] Generating ui_kpropertiesdesktopbase.h<br>[ 51%] Generating fileundomanager_adaptor.moc<br>[ 51%] Generating kuiserver_interface.moc<br>[ 51%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/KF5KIOWidgets_autogen/mocs_compilation.cpp.o<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Core.so.5.15.5: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Test.so.5.15.5: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Test.so.5.15.5: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Core.so.5.15.5: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'<br>collect2: error: ld returned 1 exit status<br>gmake[2]: *** [autotests/http/CMakeFiles/httpauthenticationtest.dir/build.make:113: bin/httpauthenticationtest] Error 1<br>gmake[1]: *** [CMakeFiles/Makefile2:7959: autotests/http/CMakeFiles/httpauthenticationtest.dir/all] Error 2<br>gmake[1]: *** Waiting for unfinished jobs....<br>[ 51%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/kacleditwidget.cpp.o<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Core.so.5.15.5: undefined reference to `std::__exception_ptr::exception_ptr::_M_release()@CXXABI_1.3.13'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Test.so.5.15.5: undefined reference to `std::condition_variable::wait(std::unique_lock<std::mutex>&)@GLIBCXX_3.4.30'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Test.so.5.15.5: undefined reference to `std::__throw_bad_array_new_length()@GLIBCXX_3.4.29'<br>/usr/bin/ld: /home/rkanagy/kde/qt5/lib/libQt5Core.so.5.15.5: undefined reference to `std::__exception_ptr::exception_ptr::_M_addref()@CXXABI_1.3.13'<br>collect2: error: ld returned 1 exit status<br>gmake[2]: *** [autotests/http/CMakeFiles/httpobjecttest.dir/build.make:161: bin/httpobjecttest] Error 1<br>gmake[1]: *** [CMakeFiles/Makefile2:7987: autotests/http/CMakeFiles/httpobjecttest.dir/all] Error 2<br>[ 51%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/kurlrequesterdialog.cpp.o<br>[ 51%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/kurlcombobox.cpp.o<br>[ 52%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/kfileitemactions.cpp.o<br>[ 52%] Building CXX object src/widgets/CMakeFiles/KF5KIOWidgets.dir/imagefilter.cpp.o<br>[ 52%] Linking CXX executable ../bin/favicontest<br>[ 52%] Built target favicontest<br></div><div><br></div><div>I have provided some context to show where in the process these errors are occurring.  This seems to be a glibc++ problem, maybe I'm not using the correct version of the GNU C++ compiler, but I'm not sure.  </div><div><br></div><div>What do I need to do to resolve these linker errors?</div><div><br></div><div>Any help on these two issues would be greatly appreciated.</div><div><br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Thanks,<div>Ron Kanagy</div><div><br></div></div></div></div></div></div>