-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
kde-ring fails to compile #33
Comments
Thanks for your feedback. I try to look into it on the weekend. |
I can reproduce the problem but I have difficulties spotting what the actual error is. |
You can fix it by adding
I already bypass this problem in this branch, but met another problems, so I did not make a PR Also, in my local repo, i'm switched to next-branch. It is compiled without errors.
p.s. In file included from /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/mainwindow.cpp:84:0:
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/ring-lrc/src/globalinstances.h: In instantiation of 'void GlobalInstances::setInterface(Ts ...) [with I = KDEPixmapManipulation; Ts = {}]':
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/mainwindow.cpp:157:60: required from here
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/ring-lrc/src/globalinstances.h:102:29: error: invalid new-expression of abstract class type 'KDEPixmapManipulation'
auto i = new I(args...);
^
In file included from /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/mainwindow.cpp:70:0:
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/delegates/kdepixmapmanipulation.h:28:7: note: because the following virtual functions are pure within 'KDEPixmapManipulation':
class KDEPixmapManipulation : public QObject ,public Interfaces::PixmapManipulatorI {
^
In file included from /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/delegates/kdepixmapmanipulation.h:21:0,
from /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/mainwindow.cpp:70:
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/ring-lrc/src/interfaces/pixmapmanipulatori.h:73:24: note: virtual QByteArray Interfaces::PixmapManipulatorI::toByteArray(const QVariant&, const QString&)
virtual QByteArray toByteArray(const QVariant& pxm, const QString& type = "PNG") = 0;
^
make[2]: *** [src/CMakeFiles/ring-kde.dir/build.make:308: src/CMakeFiles/ring-kde.dir/mainwindow.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999'
make[1]: *** [CMakeFiles/Makefile2:534: src/CMakeFiles/ring-kde.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999'
make: *** [Makefile:139: all] Error 2 |
@YogSottot thanks for your input. I also tried to switch to the "next" branch, but I had some compile errors that wanted a newer version of Qt (>=5.7). It would be nice to keep me posted when you have gotten figured it out. :) |
Well, Qt 5.7 should be fine soon. There is already a stabilization request for 5.7.1. |
I'm switched to qtcore 5.7 long time ago. So i didn't aware about those errors. |
It is probably no error/problem, but I'm mostly on a stable system and didn't want to figure out all the packages I have to keyword. :) |
dev-qt/qtcore-5.7.1-r3 is stable now. [ 73%] Building CXX object src/photoselector/CMakeFiles/libphotoselector.dir/photoplugin.cpp.o
cd /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/photoselector && /usr/bin/x86_64-pc-linux-gnu-g++ -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_QML_LIB -DQT_QUICKCONTROLS2_LIB -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/photoselector -I/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/ring-lrc/src -isystem /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999 -isystem /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/../lib -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtDBus -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtQuickWidgets -isystem /usr/include/qt5/QtQuickControls2 -DNDEBUG -march=core2 -O2 -pipe -std=c++0x -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 -Wvla -Wdate-time -std=c++0x -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 -Wvla -Wdate-time -fexceptions -Wno-error -Wno-reorder -Wno-error=deprecated-declarations -Wall -Wextra -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wwrite-strings -Wformat-nonliteral -Wformat-security -Wswitch-enum -Winit-self -Wmissing-include-dirs -Wundef -Wmissing-format-attribute -Wno-reorder -Wunused -Wuninitialized -Woverloaded-virtual -Wunused-value -pedantic -Wnonnull -Wsequence-point -Wsizeof-pointer-memaccess -Wvarargs -Wunused-but-set-parameter -Wconditionally-supported -Wno-cpp -Wdate-time -Wdelete-incomplete -Wsuggest-override -Wsuggest-final-types -Wsuggest-final-methods -Wbool-compare -Wformat-signedness -Wlogical-not-parentheses -Wnormalized -Wshift-count-negative -Wshift-count-overflow -Wsized-deallocation -Wsizeof-array-argument -Wmaybe-uninitialized -Wunused-local-typedefs -pedantic -std=c++0x -std=c++11 -fPIC -std=gnu++11 -o CMakeFiles/libphotoselector.dir/photoplugin.cpp.o -c /var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/photoselector/photoplugin.cpp
/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999/src/photoselector/photoselector.cpp:26:30: fatal error: klocalizedstring.h: No such file or directory
compilation terminated. kde-frameworks/ki18n is installed of course |
Thanks for all the feedback on kde-ring, I'll try to look into it on the weekend. |
Thanks to all the work of @YogSottot there is now again a kde-ring package that compiles. The live ebuild is still a work in progress. |
git fetch git://anongit.kde.org/ring-kde +HEAD:refs/git-r3/HEAD
remote: Counting objects: 20294, done.
remote: Compressing objects: 100% (2959/2959), done.
remote: Total 20294 (delta 17361), reused 20177 (delta 17268)
Receiving objects: 100% (20294/20294), 7.13 MiB | 2.01 MiB/s, done.
Resolving deltas: 100% (17361/17361), done.
From git://anongit.kde.org/ring-kde
git symbolic-ref refs/git-r3/net-voip/kde-ring/0/main refs/git-r3/HEAD
git checkout --quiet refs/git-r3/HEAD
GIT NEW branch -->
repository: git://anongit.kde.org/ring-kde
at the commit: de9cc2fea7480c3f2d706809860ad3954e6d6d9d
-- Installing in the same prefix as Qt, adopting their path scheme.
-- Could not set up the appstream test. appstreamcli is missing.
-- Looking for GLIBC
-- Looking for GLIBC - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found GCC version >= 4.8: 6.3.0
-- Found KF5Config: /usr/lib64/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.34.0")
-- Found KF5GuiAddons: /usr/lib64/cmake/KF5GuiAddons/KF5GuiAddonsConfig.cmake (found version "5.34.0")
-- Found KF5DBusAddons: /usr/lib64/cmake/KF5DBusAddons/KF5DBusAddonsConfig.cmake (found version "5.34.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1")
-- Found PythonInterp: /usr/bin/python (found version "3.4.5")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.34.0")
-- Found KF5Init: /usr/lib64/cmake/KF5Init/KF5InitConfig.cmake (found version "5.34.0")
-- Found KF5WindowSystem: /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake (found version "5.34.0")
-- Found KF5XmlGui: /usr/lib64/cmake/KF5XmlGui/KF5XmlGuiConfig.cmake (found version "5.34.0")
-- Found KF5Notifications: /usr/lib64/cmake/KF5Notifications/KF5NotificationsConfig.cmake (found version "5.34.0")
-- Found KF5IconThemes: /usr/lib64/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.34.0")
-- Found KF5KIO: /usr/lib64/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.34.0")
-- Found KF5Completion: /usr/lib64/cmake/KF5Completion/KF5CompletionConfig.cmake (found version "5.34.0")
-- Found KF5Crash: /usr/lib64/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.34.0")
-- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.34.0")
-- Found KF5GlobalAccel: /usr/lib64/cmake/KF5GlobalAccel/KF5GlobalAccelConfig.cmake (found version "5.34.0")
-- Found KF5: success (found suitable version "5.34.0", minimum required is "5.6.0") found components: Config GuiAddons DBusAddons I18n Init WindowSystem XmlGui Notifications IconThemes KIO Completion Crash NotifyConfig GlobalAccel
-- Found KF5Akonadi: /usr/lib64/cmake/KF5Akonadi/KF5AkonadiConfig.cmake (found version "5.5.2")
-- Found KF5AkonadiContact: /usr/lib64/cmake/KF5AkonadiContact/KF5AkonadiContactConfig.cmake (found version "5.5.2")
-- Found KF5Contacts: /usr/lib64/cmake/KF5Contacts/KF5ContactsConfig.cmake (found version "5.5.2")
-- Found KF5: success (found suitable version "5.34.0", minimum required is "5.6.0") found components: KIO I18n GuiAddons
-- Could not set up the appstream test. appstreamcli is missing.
-- Found KF5WidgetsAddons: /usr/lib64/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.34.0")
-- Found KF5: success (found version "5.34.0") found components: Config GuiAddons I18n Init WindowSystem WidgetsAddons XmlGui
-- <<< Gentoo configuration >>>
Build type Gentoo
Install path /usr
Compiler flags:
C -march=native -O2 -pipe -std=iso9899:1990 -fno-common -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wmissing-format-attribute -Wwrite-strings -Werror=implicit-function-declaration
C++ -march=native -O2 -pipe -std=c++0x -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 -Wvla -Wdate-time
Linker flags:
Executable -Wl,--enable-new-dtags -march=native -O2 -pipe
Module -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -march=native -O2 -pipe
Shared -Wl,--no-undefined -Wl,--fatal-warnings -Wl,--enable-new-dtags -march=native -O2 -pipe
-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/net-voip/kde-ring-99999999/work/kde-ring-99999999_build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered: