[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #18 from Benjamin Traut --- Thank you all. I commented out the mentioned line in the ebuild and now it compiled. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #17 from Manuel Nickschas --- I can confirm that removing this from the ebuild makes kdepim-runtime compile on Gentoo, so you guys were right. That was one venue I didn't look into when trying to debug :) -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #16 from andreas.sturmlech...@gmail.com --- Oh, I see now. Our ebuild has the following: > # We don't build kolab, so we can disable this > punt_bogus_dep KF5 KDELibs4Support That's why the the build issues are unmasked. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Laurent Montel changed: What|Removed |Added Resolution|--- |LATER Status|REOPENED|RESOLVED --- Comment #15 from Laurent Montel --- (In reply to Manuel Nickschas from comment #14) > The compiler flags -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY > -DQT_NO_CAST_TO_ASCII are enforced by extra-cmake-modules in > KDEFrameworkCompilerSettings.cmake; so those are not added by Gentoo. indeed it's in KDEFrameworkCompilerSettings.cmake I know as I added it in kdepim-runtime. but we use kdelibs4support which has remove_definition() but as gentoo force it to build it will override remove_definition. I tested in local it yesterday > > In addition, resources/ews/ewsclient/auth/ewspkeyauthjob.cpp misses an > #include ; also in that file, QString::toAscii() is used twice, > which is deprecated since Qt 5.0 (and I guess something in KDE's build chain > disables those methods, although I could not find the actual place). > > Removing the flags from KDEFrameworkCompilerSettings.cmake, adding the > missing include and changing toAscii() to toLatin1() fixes the > kdepim-runtime build for me, but obviously these are hacks that should be > fixed properly. For sure they need to be fix. It's for that I close as 'later' as it compiles fine for the moment > > I'm reopening the bug, because these seem to be upstream issues rather than > Gentoo issues. If you disagree, feel free to close again. I disagreee => I close it -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Manuel Nickschas changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0 |1 CC||sputn...@quassel-irc.org Resolution|LATER |--- --- Comment #14 from Manuel Nickschas --- The compiler flags -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII are enforced by extra-cmake-modules in KDEFrameworkCompilerSettings.cmake; so those are not added by Gentoo. In addition, resources/ews/ewsclient/auth/ewspkeyauthjob.cpp misses an #include ; also in that file, QString::toAscii() is used twice, which is deprecated since Qt 5.0 (and I guess something in KDE's build chain disables those methods, although I could not find the actual place). Removing the flags from KDEFrameworkCompilerSettings.cmake, adding the missing include and changing toAscii() to toLatin1() fixes the kdepim-runtime build for me, but obviously these are hacks that should be fixed properly. I'm reopening the bug, because these seem to be upstream issues rather than Gentoo issues. If you disagree, feel free to close again. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 andreas.sturmlech...@gmail.com changed: What|Removed |Added CC||andreas.sturmlechner@gmail. ||com --- Comment #13 from andreas.sturmlech...@gmail.com --- For the record, Gentoo does not mess with those flags. Benjamin, if you are working with live sources, make sure you use `smart-live-rebuild` to catch any new upstream commits in dependencies that may fix your issue. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Benjamin Traut changed: What|Removed |Added Resolution|FIXED |LATER --- Comment #12 from Benjamin Traut --- I had no intention of marking it as fixed instead of later. Sorry. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Benjamin Traut changed: What|Removed |Added Resolution|LATER |FIXED --- Comment #11 from Benjamin Traut --- I filed a report on bugs.gentoo.org: https://bugs.gentoo.org/670958 -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Laurent Montel changed: What|Removed |Added Status|REPORTED|RESOLVED Resolution|--- |LATER --- Comment #10 from Laurent Montel --- you force some flags as there are removed by kdelibs4support. So by default it builds without it. So you need to remove theses flags for kdepim-runtime. We will fix it later but for normal build it's ok. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #9 from Benjamin Traut --- and the commandline from the build-output (see attachment) states -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_CAST_TO_ASCII -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #8 from Benjamin Traut --- ...or the packages to be installed are setting this...? -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #7 from Benjamin Traut --- Looking at /usr/include/qt5/QtCore/qstring.h at line ~826: private: #if defined(QT_NO_CAST_FROM_ASCII) QString +=(const char *s); QString +=(const QByteArray ); QString(const char *ch); QString(const QByteArray ); QString =(const char *ch); QString =(const QByteArray ); #endif so I guess, that gentoos qt5-packages are setting the QT_NO_CAST_FROM_ASCII-flags where they should'nt currently do? -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #6 from Benjamin Traut --- I have attached three files. If you need additional information, please say so. -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #5 from Benjamin Traut --- Created attachment 116249 --> https://bugs.kde.org/attachment.cgi?id=116249=edit Compressed build-log -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #4 from Benjamin Traut --- Created attachment 116248 --> https://bugs.kde.org/attachment.cgi?id=116248=edit Compressed versuin of the build-environment -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #3 from Benjamin Traut --- Created attachment 116247 --> https://bugs.kde.org/attachment.cgi?id=116247=edit Output of emerge --info -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 --- Comment #2 from Laurent Montel --- https://build.kde.org/view/Failing/job/Applications/job/kdepim-runtime/job/kf5-qt5%20FreeBSDQt5.11/ as you can see all compile fine. So I don"t know why gentoo creates this problem (same here) -- You are receiving this mail because: You are watching all bug changes.
[kdepim] [Bug 400934] kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)
https://bugs.kde.org/show_bug.cgi?id=400934 Laurent Montel changed: What|Removed |Added CC||mon...@kde.org --- Comment #1 from Laurent Montel --- I don't know why you have this problem. What do you use as build specific argument ? -- You are receiving this mail because: You are watching all bug changes.