I get a problem compiling drkonqi from source on Linux. Before I describe the error, allow me to show you my OS and relevant software versions, so that you can exclude some errors: === Operating System: GNU/Linux Os Bit Type: x86_64 CPU Model: AMD A8-7600 Radeon R7, 10 Compute Cores 4C+6G, cores CFLAGS in use: -O2 -fPIC -fno-strict-overflow -Wno-error Gcc Version: 8.2.0 Glibc Version: 2.26 Kernel Version: 4.14.12 Binutils Version: GNU gold (GNU Binutils 2.31.1) 1.16 == This was a slackware system but I compiled most everything from source myself, excluding glibc and kernel (which are a bit old, but the rest is up to date, including binutils). I compiled most of the KDE stack recently, KDE apps and KDE foundation (well, for the most part, up to the dependencies of drkonqi). This worked very well. The source tarball I am using is this one here: https://download.kde.org/stable/plasma/5.13.5/drkonqi-5.13.5.tar.xz drkonqi, however had, has a problem, which will be shown next: --- [ 85%] Linking CXX executable ../../../bin/backtraceparsertest_manual [ 85%] Built target backtraceparsertest_manual Scanning dependencies of target backtraceparsertest_autogen [ 86%] Automatic MOC for target backtraceparsertest [ 86%] Built target backtraceparsertest_autogen Scanning dependencies of target backtraceparsertest [ 88%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/fakebacktracegenerator.cpp.o [ 89%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/backtraceparsertest.cpp.o [ 90%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/backtraceparsertest_autogen/mocs_compilation.cpp.o [ 92%] Linking CXX executable ../../../bin/backtraceparsertest failed to create symbolic link 'backtraceparsertest_data' because existing path cannot be removed: Is a directory make[2]: *** [src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/build.make:116: bin/backtraceparsertest] Error 1 make[2]: *** Deleting file 'bin/backtraceparsertest' make[1]: *** [CMakeFiles/Makefile2:619: src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 --- It seems to want to create a symlink; before so, it wants to remove an existing path which is a directory. I am not sure why but I believe that there is some error with the directory-path there. I'll next display more of the error - perhaps it helps. (I am using some ruby scripts to automate the compile-process; that is why the copy/pasted text below has a few different messages perhaps. Oddly enough, drkonqi has some ruby components too and these do not seem to work reliably right now and do not seem to be rescued; I suggest a begin/rescue clause additionally, and a meaningful error message if rescue fails. But this is not the reason for the cmake-problem shown above; just something I also wanted to mention.) --- Next running cmake -DCMAKE_INSTALL_PREFIX=/usr/ .: -- The C compiler identification is GNU 8.2.0 -- The CXX compiler identification is GNU 8.2.0 -- Check for working C compiler: /System/Index/bin/cc -- Check for working C compiler: /System/Index/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /System/Index/bin/c++ -- Check for working CXX compiler: /System/Index/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Installing in the same prefix as Qt, adopting their path scheme. -- Looking for __GLIBC__ -- Looking for __GLIBC__ - found -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Success -- Performing Test HAVE_DATE_TIME -- Performing Test HAVE_DATE_TIME - Success -- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") -- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.50.0") -- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.50.0") -- Found KF5Service: /usr/lib64/cmake/KF5Service/KF5ServiceConfig.cmake (found version "5.50.0") -- Found KF5ConfigWidgets: /usr/lib64/cmake/KF5ConfigWidgets/KF5ConfigWidgetsConfig.cmake (found version "5.50.0") -- Found KF5JobWidgets: /usr/lib64/cmake/KF5JobWidgets/KF5JobWidgetsConfig.cmake (found version "5.50.0") -- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.50.0") -- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.50.0") -- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.50.0") -- Found KF5XmlRpcClient: /usr/lib64/cmake/KF5XmlRpcClient/KF5XmlRpcClientConfig.cmake (found version "5.50.0") -- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.50.0") -- Found KF5Wallet: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (found version "5.50.0") -- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.50.0") -- Found KF5IdleTime: /usr/lib64/cmake/KF5IdleTime/KF5IdleTimeConfig.cmake (found version "5.50.0") -- Found KF5: success (found suitable version "5.50.0", minimum required is "5.42.0") found components: I18n CoreAddons Service ConfigWidgets JobWidgets KIO Crash Completion XmlRpcClient WidgetsAddons Wallet Notifications IdleTime -- Looking for strsignal -- Looking for strsignal - found -- Looking for uname -- Looking for uname - found /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/gir_ffi/builders/module_builder.rb:45:in `find_namespaced_class_info': Class IConv not found in namespace GLib (NameError) from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/gir_ffi/builders/module_builder.rb:36:in `build_namespaced_class' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/gir_ffi/module_base.rb:16:in `load_class' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/ffi-glib/iconv.rb:2:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/ffi-glib.rb:13:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/gir_ffi-0.10.2/lib/gir_ffi.rb:4:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/atspi-0.9.1/lib/atspi/libatspi.rb:1:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/atspi-0.9.1/lib/atspi/requires.rb:2:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require' from /Programs/Ruby/2.5.1/lib/ruby/gems/2.5.0/gems/atspi-0.9.1/lib/atspi.rb:1:in `<top (required)>' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require' from /Programs/Ruby/2.5.1/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require' from -e:1:in `<main>' -- The following RECOMMENDED packages have been found: * Qt5X11Extras (required version >= 5.9.0) Recommended for better integration on X11. -- The following REQUIRED packages have been found: * ECM (required version >= 5.42.0) * Qt5Core * Qt5Gui (required version >= 5.11.2) * Qt5Widgets * Qt5Test * Qt5DBus * Qt5Concurrent * Qt5 (required version >= 5.9.0) * Gettext * KF5I18n (required version >= 5.42.0) * KF5CoreAddons (required version >= 5.42.0) * KF5Service (required version >= 5.42.0) * KF5ConfigWidgets (required version >= 5.42.0) * KF5JobWidgets (required version >= 5.42.0) * KF5KIO (required version >= 5.42.0) * KF5Crash (required version >= 5.42.0) * KF5Completion (required version >= 5.42.0) * KF5XmlRpcClient (required version >= 5.42.0) * KF5WidgetsAddons (required version >= 5.42.0) * KF5Wallet (required version >= 5.42.0) * KF5Notifications (required version >= 5.42.0) * KF5IdleTime (required version >= 5.42.0) * KF5 (required version >= 5.42.0) -- The following features have been disabled: * DrKonqiIntegrationTesting, Needs Ruby, functional atspi and xmlrpc gems, gdb, as well as xvfb-run. -- Configuring done -- Generating done -- Build files have been written to: /Depot/Temp/rbt/drkonqi-5.13.5 Now running `make`. Scanning dependencies of target pofiles-1afda50b9cf3afb2de4afc332ed3d151 [ 1%] Generating mo... [ 1%] Built target pofiles-1afda50b9cf3afb2de4afc332ed3d151 Scanning dependencies of target tsfiles-1afda50b9cf3afb2de4afc332ed3d151 [ 2%] Generating ts... [ 2%] Built target tsfiles-1afda50b9cf3afb2de4afc332ed3d151 Scanning dependencies of target drkonqi_backtrace_parser_autogen [ 3%] Automatic MOC for target drkonqi_backtrace_parser [ 3%] Built target drkonqi_backtrace_parser_autogen Scanning dependencies of target drkonqi_backtrace_parser [ 5%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/backtraceparser.cpp.o [ 6%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/backtraceparsergdb.cpp.o [ 7%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/backtraceparserkdbgwin.cpp.o [ 9%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/backtraceparsernull.cpp.o [ 10%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/drkonqi_parser_debug.cpp.o [ 11%] Building CXX object src/parser/CMakeFiles/drkonqi_backtrace_parser.dir/drkonqi_backtrace_parser_autogen/mocs_compilation.cpp.o [ 13%] Linking CXX static library ../../lib/libdrkonqi_backtrace_parser.a [ 13%] Built target drkonqi_backtrace_parser Scanning dependencies of target drkonqi_autogen [ 14%] Automatic MOC for target drkonqi [ 14%] Built target drkonqi_autogen [ 15%] Generating ui_assistantpage_bugzilla_send.h [ 17%] Generating ui_maindialog.h [ 18%] Generating ui_backtracewidget.h [ 19%] Generating ui_assistantpage_introduction.h [ 21%] Generating ui_assistantpage_bugawareness.h [ 22%] Generating ui_assistantpage_conclusions.h [ 23%] Generating ui_assistantpage_conclusions_dialog.h [ 25%] Generating ui_assistantpage_bugzilla_login.h [ 26%] Generating ui_assistantpage_bugzilla_duplicates.h [ 27%] Generating ui_assistantpage_bugzilla_duplicates_dialog.h [ 28%] Generating ui_assistantpage_bugzilla_duplicates_dialog_confirmation.h [ 30%] Generating ui_assistantpage_bugzilla_information.h [ 31%] Generating ui_assistantpage_bugzilla_preview.h Scanning dependencies of target drkonqi [ 32%] Building CXX object src/CMakeFiles/drkonqi.dir/main.cpp.o [ 34%] Building CXX object src/CMakeFiles/drkonqi.dir/drkonqidialog.cpp.o [ 35%] Building CXX object src/CMakeFiles/drkonqi.dir/statuswidget.cpp.o [ 36%] Building CXX object src/CMakeFiles/drkonqi.dir/aboutbugreportingdialog.cpp.o [ 38%] Building CXX object src/CMakeFiles/drkonqi.dir/backtraceratingwidget.cpp.o [ 39%] Building CXX object src/CMakeFiles/drkonqi.dir/backtracewidget.cpp.o [ 40%] Building CXX object src/CMakeFiles/drkonqi.dir/backtracegenerator.cpp.o [ 42%] Building CXX object src/CMakeFiles/drkonqi.dir/drkonqi.cpp.o [ 43%] Building CXX object src/CMakeFiles/drkonqi.dir/drkonqibackends.cpp.o [ 44%] Building CXX object src/CMakeFiles/drkonqi.dir/detachedprocessmonitor.cpp.o [ 46%] Building CXX object src/CMakeFiles/drkonqi.dir/debugpackageinstaller.cpp.o [ 47%] Building CXX object src/CMakeFiles/drkonqi.dir/systeminformation.cpp.o [ 48%] Building CXX object src/CMakeFiles/drkonqi.dir/crashedapplication.cpp.o [ 50%] Building CXX object src/CMakeFiles/drkonqi.dir/debugger.cpp.o [ 51%] Building CXX object src/CMakeFiles/drkonqi.dir/debuggerlaunchers.cpp.o [ 52%] Building CXX object src/CMakeFiles/drkonqi.dir/debuggermanager.cpp.o [ 53%] Building CXX object src/CMakeFiles/drkonqi.dir/applicationdetailsexamples.cpp.o [ 55%] Building CXX object src/CMakeFiles/drkonqi.dir/gdbhighlighter.cpp.o [ 56%] Building CXX object src/CMakeFiles/drkonqi.dir/statusnotifier.cpp.o [ 57%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/bugzillalib.cpp.o [ 59%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportassistantdialog.cpp.o [ 60%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportassistantpage.cpp.o [ 61%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportassistantpages_base.cpp.o [ 63%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportassistantpages_bugzilla.cpp.o [ 64%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportassistantpages_bugzilla_duplicates.cpp.o [ 65%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/reportinterface.cpp.o [ 67%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/productmapping.cpp.o [ 68%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/parsebugbacktraces.cpp.o [ 69%] Building CXX object src/CMakeFiles/drkonqi.dir/bugzillaintegration/duplicatefinderjob.cpp.o [ 71%] Building CXX object src/CMakeFiles/drkonqi.dir/drkonqi_debug.cpp.o [ 72%] Building CXX object src/CMakeFiles/drkonqi.dir/drkonqi_autogen/mocs_compilation.cpp.o [ 73%] Linking CXX executable ../bin/drkonqi [ 73%] Built target drkonqi Scanning dependencies of target crashtest_autogen [ 75%] Automatic MOC for target crashtest [ 75%] Built target crashtest_autogen Scanning dependencies of target crashtest [ 76%] Building CXX object src/tests/crashtest/CMakeFiles/crashtest.dir/crashtest.cpp.o [ 77%] Building CXX object src/tests/crashtest/CMakeFiles/crashtest.dir/crashtest_autogen/mocs_compilation.cpp.o [ 78%] Linking CXX executable ../../../bin/crashtest [ 78%] Built target crashtest Scanning dependencies of target backtraceparsertest_manual_autogen [ 80%] Automatic MOC for target backtraceparsertest_manual [ 80%] Built target backtraceparsertest_manual_autogen Scanning dependencies of target backtraceparsertest_manual [ 81%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest_manual.dir/fakebacktracegenerator.cpp.o [ 82%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest_manual.dir/backtraceparsertest_manual.cpp.o [ 84%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest_manual.dir/backtraceparsertest_manual_autogen/mocs_compilation.cpp.o [ 85%] Linking CXX executable ../../../bin/backtraceparsertest_manual [ 85%] Built target backtraceparsertest_manual Scanning dependencies of target backtraceparsertest_autogen [ 86%] Automatic MOC for target backtraceparsertest [ 86%] Built target backtraceparsertest_autogen Scanning dependencies of target backtraceparsertest [ 88%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/fakebacktracegenerator.cpp.o [ 89%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/backtraceparsertest.cpp.o [ 90%] Building CXX object src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/backtraceparsertest_autogen/mocs_compilation.cpp.o [ 92%] Linking CXX executable ../../../bin/backtraceparsertest failed to create symbolic link 'backtraceparsertest_data' because existing path cannot be removed: Is a directory make[2]: *** [src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/build.make:116: bin/backtraceparsertest] Error 1 make[2]: *** Deleting file 'bin/backtraceparsertest' make[1]: *** [CMakeFiles/Makefile2:619: src/tests/backtraceparsertest/CMakeFiles/backtraceparsertest.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 PS: I did not see some field called "build process" or "compilation" or something, at "Component", so I just picked "general" instead.
Already reported as bug 397030. Please answer bug 397030 comment #3 there.