[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)

2018-11-12 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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)

2018-11-11 Thread Benjamin Traut
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] New: kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*), QChar::QChar(char) and QString::QString(const QByteArray&) are private)

2018-11-11 Thread Benjamin Traut
https://bugs.kde.org/show_bug.cgi?id=400934

Bug ID: 400934
   Summary: kdepim-runtime does not compile with qt 5.11 (because
QString::QString(const char*),  QChar::QChar(char) and
QString::QString(const QByteArray&) are private)
   Product: kdepim
   Version: GIT (master)
  Platform: Gentoo Packages
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: libkdepim
  Assignee: kdepim-b...@kde.org
  Reporter: b.tr...@gmx.net
  Target Milestone: ---

SUMMARY

See Bug #400916, fixed today. Package fails to compile now at several other
files.

Qt 5.11.x seems to have deprecated some constructors.

I:

/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:
In member function ‘void O0BaseAuth::setExtraTokens(const QVariantMap&)’:
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:126:43:
error: ‘QString::QString(const QByteArray&)’ is private within this context
 store_->setValue(key, bytes.toBase64());
   ^
In file included from /usr/include/qt5/QtCore/qobject.h:47:0,
 from /usr/include/qt5/QtCore/qiodevice.h:45,
 from /usr/include/qt5/QtCore/qdatastream.h:44,
 from /usr/include/qt5/QtCore/QDataStream:1,
 from
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:1:
/usr/include/qt5/QtCore/qstring.h:830:5: note: declared private here
 QString(const QByteArray );
 ^~~
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:
In static member function ‘static QByteArray
O0BaseAuth::createQueryParameters(const QList&)’:
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:140:50:
error: ‘QString::QString(const QByteArray&)’ is private within this context
 ret.append(QUrl::toPercentEncoding(h.name) + "=" +
QUrl::toPercentEncoding(h.value));
  ^
In file included from /usr/include/qt5/QtCore/qobject.h:47:0,
 from /usr/include/qt5/QtCore/qiodevice.h:45,
 from /usr/include/qt5/QtCore/qdatastream.h:44,
 from /usr/include/qt5/QtCore/QDataStream:1,
 from
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:1:
/usr/include/qt5/QtCore/qstring.h:830:5: note: declared private here
 QString(const QByteArray );
 ^~~
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:140:91:
error: ‘QString::QString(const QByteArray&)’ is private within this context
 ret.append(QUrl::toPercentEncoding(h.name) + "=" +
QUrl::toPercentEncoding(h.value));
   
   ^
In file included from /usr/include/qt5/QtCore/qobject.h:47:0,
 from /usr/include/qt5/QtCore/qiodevice.h:45,
 from /usr/include/qt5/QtCore/qdatastream.h:44,
 from /usr/include/qt5/QtCore/QDataStream:1,
 from
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/tomboynotes/o2/o0baseauth.cpp:1:
/usr/include/qt5/QtCore/qstring.h:830:5: note: declared private here
 QString(const QByteArray );
 ^~~
make[2]: ***
[resources/tomboynotes/CMakeFiles/akonadi_tomboynotes_resource.dir/build.make:221:
resources/tomboynotes/CMakeFiles/akonadi_tomboynotes_resource.dir/o2/o0baseauth.cpp.o]
Error 1
make[2]: Leaving directory
'/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-_build'
make[1]: *** [CMakeFiles/Makefile2:2873:
resources/tomboynotes/CMakeFiles/akonadi_tomboynotes_resource.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs

II:
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/auth/ewspkeyauthjob.cpp:
In function ‘QMultiMap
parseCertSubjectInfo(const QString&)’:
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/auth/ewspkeyauthjob.cpp:41:68:
error: ‘QChar::QChar(char)’ is private within this context
 for (const auto token : info.split(',', QString::SkipEmptyParts)) {
^
In file included from /usr/include/qt5/QtCore/qstring.h:48:0,
 from /usr/include/qt5/QtCore/qobject.h:47,
 from /usr/include/qt5/QtCore/QObject:1,
 from /usr/include/KF5/KCoreAddons/kjob.h:26,
 from /usr/include/KF5/KCoreAddons/kcompositejob.h:24,
 from 

[kdepim] [Bug 400916] New: kdepim-runtime does not compile with qt 5.11 (because QString::QString(const char*) is private)

2018-11-10 Thread Benjamin Traut
https://bugs.kde.org/show_bug.cgi?id=400916

Bug ID: 400916
   Summary: kdepim-runtime does not compile with qt 5.11 (because
QString::QString(const char*) is private)
   Product: kdepim
   Version: GIT (master)
  Platform: Gentoo Packages
OS: Linux
Status: REPORTED
  Severity: major
  Priority: NOR
 Component: libkdepim
  Assignee: kdepim-b...@kde.org
  Reporter: b.tr...@gmx.net
  Target Milestone: ---

Note:

  * Severity "major" only because no compilation is possible. Please change
accordingly.
  * Component "libkdepim": It's a wild guess. Git-Repo would be
kdepim-runtime.git

SUMMARY

I am using gentoos qt5-live packages, which currently results in qt-5.11.x
being used.

When trying to compile the live kdepim-runtime-packages using the ebuild
provided by the gentoo kde-overlay repository, the following error occurs:

/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/ewsrequest.cpp:
In member function ‘void EwsRequest::prepare(const QString&)’:
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/ewsrequest.cpp:104:87:
error: ‘QString::QString(const char*)’ is private within this context
 job->addMetaData(QStringLiteral("customHTTPHeader"),
customHeaders.join("\r\n"));
   
   ^
In file included from /usr/include/qt5/QtCore/qhashfunctions.h:44:0,
 from /usr/include/qt5/QtCore/qlist.h:47,
 from /usr/include/qt5/QtCore/qhash.h:46,
 from /usr/include/qt5/QtCore/qshareddata.h:46,
 from /usr/include/qt5/QtCore/qsharedpointer.h:45,
 from /usr/include/qt5/QtCore/QSharedPointer:1,
 from
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/ewsrequest.h:25,
 from
/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-/resources/ews/ewsclient/ewsrequest.cpp:20:
/usr/include/qt5/QtCore/qstring.h:829:5: note: declared private here
 QString(const char *ch);
 ^~~
make[2]: *** [resources/ews/ewsclient/CMakeFiles/ewsclient.dir/build.make:466:
resources/ews/ewsclient/CMakeFiles/ewsclient.dir/ewsrequest.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory
'/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-_build'
make[1]: *** [CMakeFiles/Makefile2:3124:
resources/ews/ewsclient/CMakeFiles/ewsclient.dir/all] Error 2
make[1]: Leaving directory
'/var/tmp/portage/kde-apps/kdepim-runtime-/work/kdepim-runtime-_build'

STEPS TO REPRODUCE
1. compile Qt5-5.11 from sources (gentoo qt-overlay)
2. compile kdepim-live-package-set (if you haven't before).
3. or compile directly the kde-apps/kdepim-runtime-.ebuild

OBSERVED RESULT
Package does not compile (see above error message)

EXPECTED RESULT
Package does compile and install

SOFTWARE/OS VERSIONS
Windows: -
MacOS: -
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.18 (live)
KDE Frameworks Version: 5.52.0 (live)
Qt Version: 5.11.2 (live)

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 364220] Crash after downloading mails

2016-06-11 Thread Benjamin Traut via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364220

--- Comment #1 from Benjamin Traut <b.tr...@gmx.net> ---
Created attachment 99458
  --> https://bugs.kde.org/attachment.cgi?id=99458=edit
Crash-report using the Crash Reporting Assistant including backtrace

-- 
You are receiving this mail because:
You are watching all bug changes.


[kmail2] [Bug 364220] New: Crash after downloading mails

2016-06-11 Thread Benjamin Traut via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=364220

Bug ID: 364220
   Summary: Crash after downloading mails
   Product: kmail2
   Version: Git (master)
  Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdepim-b...@kde.org
  Reporter: b.tr...@gmx.net

KMail was just about to finish downloading new E-Mails when it crashed.
Because i started KMail in a Konsole-window, the last messages in the
konsole-window read

[warn] epoll_wait: Bad file descriptor

Before that, KMail sometimes shows a message saing that Akonadi is not running
and on the konsole-window i read s.th.
akonadicore_log: Socket error occurred: "QLocalSocket: Remote closed"
and afterward akonadi gets restarted.

The crash after download is relatively new, the closing of akonadi also happend
with Qt-5.6. (gentoo-live-ebuild).

The crash can be reproduced sometimes.

Reproducible: Sometimes

Steps to Reproduce:
1. Open Kmail
2. Check mails
3. crash


Expected Results:  
Kmail should not crash.

The part of akonadi not running happened also with Qt-5.6..

Application: kmail (5.2.49 pre (QtWebEngine))
 (Compiled from sources)
Qt Version: 5.7.0
Frameworks Version: 5.23.0
Operating System: Linux 4.6.0-gentoo x86_64
Distribution (Platform): Gentoo Packages

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault.

Backtrace can be provided. I can't paste it due to it's size.

-- 
You are receiving this mail because:
You are watching all bug changes.