Closed omni6 closed 4 years ago
Will fix it very soon.
Fixed in repo, I'll release a new version later this week.
still failing to build i tried git version
What's the error you have now?
@omni6: could you please try compiling the repo version as well? Thanks!
==> Retrieving sources...
-> Updating ksmoothdock git repo...
Fetching origin
==> Validating source files with sha256sums...
ksmoothdock ... Skipped
==> Extracting sources...
-> Creating working copy of ksmoothdock git repo...
Switched to a new branch 'makepkg'
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- Configuring done
-- Generating done
-- Build files have been written to: /home/main-builder/pkgwork/src/ksmoothdock
[ 1%] Automatic MOC and UIC for target ksmoothdock_lib
[ 1%] Built target ksmoothdock_lib_autogen
[ 3%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/tooltip.cc.o
/home/main-builder/pkgwork/src/ksmoothdock/src/view/tooltip.cc: In member function ‘void ksmoothdock::Tooltip::updateLayout()’:
/home/main-builder/pkgwork/src/ksmoothdock/src/view/tooltip.cc:70:30: error: ‘int QFontMetrics::width(const QString&, int) const’ is deprecated: Use QFontMetrics::horizontalAdvance [-Werror=deprecated-declarations]
70 | int w = metrics.width(text_) + 2 * kPadding;
| ^
In file included from /usr/include/qt/QtWidgets/qwidget.h:50,
from /usr/include/qt/QtWidgets/QWidget:1,
from /home/main-builder/pkgwork/src/ksmoothdock/src/view/tooltip.h:26,
from /home/main-builder/pkgwork/src/ksmoothdock/src/view/tooltip.cc:19:
/usr/include/qt/QtGui/qfontmetrics.h:108:9: note: declared here
108 | int width(const QString &, int len = -1) const;
| ^~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/ksmoothdock_lib.dir/build.make:297: CMakeFiles/ksmoothdock_lib.dir/view/tooltip.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:545: CMakeFiles/ksmoothdock_lib.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
@shrinivas17081997 : the previous error is now fixed. Could you try again? My Linux system is not on Qt 5.13 yet so I can't fully test it. Thanks!
~/.../Compressed/ksmoothdock >>> makepkg -sci
==> Making package: ksmoothdock-git r549.2566dc4-1 (Tue 19 Nov 2019 09:12:03 AM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning ksmoothdock git repo...
Cloning into bare repository '/home/sk/Downloads/Compressed/ksmoothdock/ksmoothdock'...
remote: Enumerating objects: 6, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 3238 (delta 0), reused 1 (delta 0), pack-reused 3232
Receiving objects: 100% (3238/3238), 979.21 KiB | 227.00 KiB/s, done.
Resolving deltas: 100% (2345/2345), done.
==> Validating source files with sha256sums...
ksmoothdock ... Skipped
==> Extracting sources...
-> Creating working copy of ksmoothdock git repo...
Cloning into 'ksmoothdock'...
done.
==> Starting pkgver()...
==> Updated version: ksmoothdock-git r550.793b94e-1
==> Removing existing $pkgdir/ directory...
==> Starting build()...
-- The C compiler identification is GNU 9.2.0
-- The CXX compiler identification is GNU 9.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/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: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Activities: /usr/lib64/cmake/KF5Activities/KF5ActivitiesConfig.cmake (found version "5.64.0")
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.64.0")
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.64.0")
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.64.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.20.1")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.64.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.64.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.64.0")
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.64.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.64.0")
-- Found KF5: success (found suitable version "5.64.0", minimum required is "5.7") found components: Activities Config CoreAddons DBusAddons I18n IconThemes XmlGui WidgetsAddons WindowSystem
-- Configuring done
-- Generating done
-- Build files have been written to: /home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock
Scanning dependencies of target ksmoothdock_lib_autogen
[ 1%] Automatic MOC and UIC for target ksmoothdock_lib
[ 1%] Built target ksmoothdock_lib_autogen
Scanning dependencies of target ksmoothdock_lib
[ 3%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/ksmoothdock_lib_autogen/mocs_compilation.cpp.o
[ 4%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/application_menu_config.cc.o
[ 6%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/config_helper.cc.o
[ 7%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/multi_dock_model.cc.o
[ 9%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/add_panel_dialog.cc.o
[ 10%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/appearance_settings_dialog.cc.o
[ 12%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/application_menu_settings_dialog.cc.o
[ 14%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/application_menu.cc.o
[ 15%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/calendar.cc.o
[ 17%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/clock.cc.o
[ 18%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/desktop_selector.cc.o
[ 20%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/dock_panel.cc.o
[ 21%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/edit_launchers_dialog.cc.o
[ 23%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/icon_based_dock_item.cc.o
[ 25%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/iconless_dock_item.cc.o
[ 26%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/multi_dock_view.cc.o
[ 28%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/program.cc.o
[ 29%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/task_manager_settings_dialog.cc.o
[ 31%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/tooltip.cc.o
[ 32%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/wallpaper_settings_dialog.cc.o
[ 34%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/utils/task_helper.cc.o
[ 35%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/utils/wallpaper_helper.cc.o
[ 37%] Linking CXX static library libksmoothdock_lib.a
[ 37%] Built target ksmoothdock_lib
Scanning dependencies of target edit_launchers_dialog_test_autogen
[ 39%] Automatic MOC and UIC for target edit_launchers_dialog_test
[ 39%] Built target edit_launchers_dialog_test_autogen
Scanning dependencies of target edit_launchers_dialog_test
[ 40%] Building CXX object CMakeFiles/edit_launchers_dialog_test.dir/edit_launchers_dialog_test_autogen/mocs_compilation.cpp.o
[ 42%] Building CXX object CMakeFiles/edit_launchers_dialog_test.dir/view/edit_launchers_dialog_test.cc.o
[ 43%] Linking CXX executable edit_launchers_dialog_test
[ 43%] Built target edit_launchers_dialog_test
Scanning dependencies of target application_menu_config_test_autogen
[ 45%] Automatic MOC and UIC for target application_menu_config_test
[ 45%] Built target application_menu_config_test_autogen
Scanning dependencies of target application_menu_config_test
[ 46%] Building CXX object CMakeFiles/application_menu_config_test.dir/application_menu_config_test_autogen/mocs_compilation.cpp.o
[ 48%] Building CXX object CMakeFiles/application_menu_config_test.dir/model/application_menu_config_test.cc.o
[ 50%] Linking CXX executable application_menu_config_test
[ 50%] Built target application_menu_config_test
Scanning dependencies of target ksmoothdock_autogen
[ 51%] Automatic MOC and UIC for target ksmoothdock
[ 51%] Built target ksmoothdock_autogen
Scanning dependencies of target ksmoothdock
[ 53%] Building CXX object CMakeFiles/ksmoothdock.dir/ksmoothdock_autogen/mocs_compilation.cpp.o
[ 54%] Building CXX object CMakeFiles/ksmoothdock.dir/main.cc.o
[ 56%] Linking CXX executable ksmoothdock
[ 56%] Built target ksmoothdock
Scanning dependencies of target command_utils_test_autogen
[ 57%] Automatic MOC and UIC for target command_utils_test
AutoMoc subprocess error
------------------------
The moc process failed to compile
"/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc"
into
"/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/command_utils_test_autogen/include/command_utils_test.moc"
included by
"/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc"
Command
-------
/usr/bin/moc -I/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock -I/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/src -I/usr/include/qt -I/usr/include/qt/QtTest -I/usr/include/qt/QtCore -I/usr/lib/qt/mkspecs/linux-g++ -I/usr/include/qt/QtDBus -I/usr/include/qt/QtGui -I/usr/include/qt/QtWidgets -I/usr/include/KF5/KActivities -I/usr/include/KF5 -I/usr/include/KF5/KConfigCore -I/usr/include/KF5/KConfigGui -I/usr/include/qt/QtXml -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KDBusAddons -I/usr/include/KF5/KI18n -I/usr/include/KF5/KIconThemes -I/usr/include/KF5/KXmlGui -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KAuth -I/usr/include/KF5/KWindowSystem -I/usr/include -I/usr/include/c++/9.2.0 -I/usr/include/c++/9.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/9.2.0/backward -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include -I/usr/local/include -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/include-fixed -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG "-DQT_TESTCASE_BUILDDIR=\"/home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock\"" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB --include /home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/command_utils_test_autogen/moc_predefs.h -o /home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/command_utils_test_autogen/include/command_utils_test.moc /home/sk/Downloads/Compressed/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc
Output
------
usr/include/c++/9.2.0/bits/fs_fwd.:39: Parse error at "std"
make[2]: *** [CMakeFiles/command_utils_test_autogen.dir/build.make:58: CMakeFiles/command_utils_test_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:904: CMakeFiles/command_utils_test_autogen.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Same here, rolled back the git repo to last working version...
tracked the issue to this commit: 83da2db78b7df5eae92f2ce8b361fda15adb3a2c
this is the first one which doesn't build
This seems to be an error with \<filesystem> standard library on your compiler. Could you try compiling a very short C++ program using anything in \<filesystem> and see if it works? See: https://en.cppreference.com/w/cpp/header/filesystem
Not much I can do, I'm afraid. I need \<filesystem> standard library for 6.x
Could you try compiling a very short C++ program using anything in
and see if it works?
Give me a source and i will do. But honestly, i think you're on the wrong way. This issue on fedora and arch simultaneous, no this is strange. Maybe you should install manjaro or some bleeding edge dristro with newer qt and/or gcc in virtualmachine and try to reproduce yourself. I am almost sure that this issue will hit you when your distro pushes updates in future...
New makepkg output,latest master:
==> Starting build()...
-- The C compiler identification is Clang 9.0.0
-- The CXX compiler identification is Clang 9.0.0
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang -- 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: /usr/bin/clang++
-- Check for working CXX compiler: /usr/bin/clang++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found KF5Activities: /usr/lib64/cmake/KF5Activities/KF5ActivitiesConfig.cmake (found version "5.64.0")
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.64.0")
-- Found KF5CoreAddons: /usr/lib64/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.64.0")
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.64.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.20.1")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.64.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.64.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.64.0")
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.64.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.64.0")
-- Found KF5: success (found suitable version "5.64.0", minimum required is "5.7") found components: Activities Config CoreAddons DBusAddons I18n IconThemes XmlGui WidgetsAddons WindowSystem
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/makepkg/ksmoothdock/src/ksmoothdock/build
Scanning dependencies of target ksmoothdock_lib_autogen
[ 1%] Automatic MOC and UIC for target ksmoothdock_lib
[ 1%] Built target ksmoothdock_lib_autogen
Scanning dependencies of target ksmoothdock_lib
[ 3%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/config_helper.cc.o
[ 4%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/ksmoothdock_lib_autogen/mocs_compilation.cpp.o
[ 6%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/application_menu_config.cc.o
[ 9%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/model/multi_dock_model.cc.o
[ 9%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/add_panel_dialog.cc.o
[ 10%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/appearance_settings_dialog.cc.o
[ 12%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/application_menu_settings_dialog.cc.o
[ 14%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/application_menu.cc.o
[ 15%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/calendar.cc.o
[ 17%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/clock.cc.o
[ 18%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/desktop_selector.cc.o
[ 20%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/dock_panel.cc.o
[ 21%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/edit_launchers_dialog.cc.o
[ 23%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/icon_based_dock_item.cc.o
[ 25%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/iconless_dock_item.cc.o
[ 26%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/multi_dock_view.cc.o
[ 28%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/program.cc.o
[ 29%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/task_manager_settings_dialog.cc.o
[ 31%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/tooltip.cc.o
[ 32%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/view/wallpaper_settings_dialog.cc.o
[ 34%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/utils/task_helper.cc.o
[ 35%] Building CXX object CMakeFiles/ksmoothdock_lib.dir/utils/wallpaper_helper.cc.o
[ 37%] Linking CXX static library libksmoothdock_lib.a
[ 37%] Built target ksmoothdock_lib
Scanning dependencies of target edit_launchers_dialog_test_autogen
Scanning dependencies of target application_menu_config_test_autogen
Scanning dependencies of target ksmoothdock_autogen
Scanning dependencies of target command_utils_test_autogen
Scanning dependencies of target desktop_selector_test_autogen
Scanning dependencies of target application_menu_settings_dialog_test_autogen
Scanning dependencies of target appearance_settings_dialog_test_autogen
Scanning dependencies of target dock_panel_test_autogen
[ 39%] Automatic MOC and UIC for target edit_launchers_dialog_test
[ 40%] Automatic MOC and UIC for target ksmoothdock
[ 42%] Automatic MOC and UIC for target command_utils_test
[ 43%] Automatic MOC and UIC for target dock_panel_test
[ 46%] Automatic MOC and UIC for target application_menu_config_test
[ 46%] Automatic MOC and UIC for target desktop_selector_test
[ 48%] Automatic MOC and UIC for target appearance_settings_dialog_test
[ 50%] Automatic MOC and UIC for target application_menu_settings_dialog_test
[ 50%] Built target ksmoothdock_autogen
Scanning dependencies of target multi_dock_model_test_autogen
[ 51%] Automatic MOC and UIC for target multi_dock_model_test
AutoMoc subprocess error
------------------------
The moc process failed to compile
"/tmp/makepkg/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc"
into
"/tmp/makepkg/ksmoothdock/src/ksmoothdock/build/command_utils_test_autogen/include/command_utils_test.moc"
included by
"/tmp/makepkg/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc"
Command
-------
/usr/bin/moc -I/tmp/makepkg/ksmoothdock/src/ksmoothdock/build -I/tmp/makepkg/ksmoothdock/src/ksmoothdock/src -I/usr/include/qt -I/usr/include/qt/QtTest -I/usr/include/qt/QtCore -I/usr/lib/qt/mkspecs/linux-g++ -I/usr/include/qt/QtDBus -I/usr/include/qt/QtGui -I/usr/include/qt/QtWidgets -I/usr/include/KF5/KActivities -I/usr/include/KF5 -I/usr/include/KF5/KConfigCore -I/usr/include/KF5/KConfigGui -I/usr/include/qt/QtXml -I/usr/include/KF5/KCoreAddons -I/usr/include/KF5/KDBusAddons -I/usr/include/KF5/KI18n -I/usr/include/KF5/KIconThemes -I/usr/include/KF5/KXmlGui -I/usr/include/KF5/KConfigWidgets -I/usr/include/KF5/KCodecs -I/usr/include/KF5/KWidgetsAddons -I/usr/include/KF5/KAuth -I/usr/include/KF5/KWindowSystem -I/usr/include -I/usr/include/c++/9.2.0 -I/usr/include/c++/9.2.0/x86_64-pc-linux-gnu -I/usr/include/c++/9.2.0/backward -I/usr/local/include -I/usr/lib/clang/9.0.0/include -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DEPRECATED_WARNINGS -DQT_GUI_LIB -DQT_NO_DEBUG "-DQT_TESTCASE_BUILDDIR=\"/tmp/makepkg/ksmoothdock/src/ksmoothdock/build\"" -DQT_TESTLIB_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB --include /tmp/makepkg/ksmoothdock/src/ksmoothdock/build/command_utils_test_autogen/moc_predefs.h -o /tmp/makepkg/ksmoothdock/src/ksmoothdock/build/command_utils_test_autogen/include/command_utils_test.moc /tmp/makepkg/ksmoothdock/src/ksmoothdock/src/utils/command_utils_test.cc
Output
------
usr/include/c++/9.2.0/bits/fs_fwd.:39: Parse error at "std"
make[2]: *** [CMakeFiles/command_utils_test_autogen.dir/build.make:58: CMakeFiles/command_utils_test_autogen] Error 1
make[1]: *** [CMakeFiles/Makefile2:904: CMakeFiles/command_utils_test_autogen.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 51%] Built target application_menu_config_test_autogen
[ 51%] Built target desktop_selector_test_autogen
[ 51%] Built target application_menu_settings_dialog_test_autogen
[ 51%] Built target appearance_settings_dialog_test_autogen
[ 51%] Built target edit_launchers_dialog_test_autogen
[ 51%] Built target dock_panel_test_autogen
[ 51%] Built target multi_dock_model_test_autogen
make: *** [Makefile:141: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
edit: as you can see tried also with clang, same output...
Can you try to compile this program (test_fs.cc), e.g., run:
$ g++ test_fs.cc -std=c++17 -lstdc++fs
#include <filesystem>
namespace fs = std::filesystem;
int main() {
return fs::exists("/home/abc") ? 1 : 0;
}
If it doesn't work, then there is some issue with the compiler. If it does, then probably the flags were not passed in properly somehow.
Thanks,
Can you try to compile this program (test_fs.cc), e.g., run:
Just tried to compile this on Arch. Works perfectly.
Thanks for trying it out, I'll look more into it.
Btw seems another project has the same issue: https://aur.archlinux.org/packages/multibootusb/?O=0&PP=10
Could you guys paste the content of: ksmoothdock/CMakeFiles/command_utils_test.dir/flags.make ksmoothdock/CMakeFiles/command_utils_test.dir/link.txt ?
Thanks,
No problem
more is better.. link.txt flags.make.txt
Umm I don't see anything suspicious here. Could you paste the file in the error:
usr/include/c++/9.2.0/bits/fs_fwd. (should probably be usr/include/c++/9.2.0/bits/fs_fwd.h) ?
Thanks, Viet
Thanks, well I still think it's \<filesystem> header and some flags for it not set right in this case.
I might have to install a similar system to better debug it though, which might take some time...
Would it help if I provide you a virtual machine image for VirtualBox?
Thanks, but one of my Linux systems is quite old, I might as well upgrade it.
So today I installed Kubuntu 19.10 with g++ 9.2.1, cmake 3.13.4, Qt 5.12.4, KDE Frameworks 5.62 and it's compiling and running fine...
weird shit...
Arch versions:
gcc 9.2.0 cmake 3.15.5 Qt 5.13.2 KDE Frameworks 5.64 Plasma 5.17
Whats about the fedora guy? @gzuaps
Could you guys try to compile it again (with 6.1 RC5) to see if it works?
Thanks,
Build was successful! :smiley:
Also successful on Manjaro! :+1:
Great thanks guys! I will release 6.1 RC5 as 6.1 later today.
Released in v6.1
thank you!
Could someone help test compiling 6.2 RC1 on Arch? #113 Thanks a lot, Viet
It's building and running fine on my Arch System. I've used the latest master with commit hash 8b6f08a9e88fc05f468b36886c573420bd0932e8
Thank, guys! Will release it soon.
Fixed in repo, I'll release a new version later this week.
Would you please share how to fix it?
Hi AlexLuya,
This is an old bug and was fixed long time ago. If you have a problem with the latest version see #118 or file a new bug.
Thanks,
edit: last output was flawed due multiple install attemps