Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645380 - x11-wm/lumina-1.4.0_p1 : desktop-plugins/.../RSSObjects.cpp:275:17: error: invalid use of incomplete type const class QSslError
Summary: x11-wm/lumina-1.4.0_p1 : desktop-plugins/.../RSSObjects.cpp:275:17: error: in...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-22 19:00 UTC by Toralf Förster
Modified: 2019-07-01 15:57 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.45 KB, text/plain)
2018-01-22 19:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,203.11 KB, text/plain)
2018-01-22 19:00 UTC, Toralf Förster
Details
environment (environment,97.56 KB, text/plain)
2018-01-22 19:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.14 KB, application/x-bzip)
2018-01-22 19:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.61 KB, application/x-bzip)
2018-01-22 19:00 UTC, Toralf Förster
Details
x11-wm:lumina-1.4.0_p1:20180122-081245.log (x11-wm:lumina-1.4.0_p1:20180122-081245.log,111.14 KB, text/plain)
2018-01-22 19:00 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-22 19:00:34 UTC
 
desktop-plugins/rssreader/RSSObjects.cpp: In member function ‘void RSSReader::sslErrors(QNetworkReply*, const QList<QSslError>&)’:
desktop-plugins/rssreader/RSSObjects.cpp:275:17: error: invalid use of incomplete type ‘const class QSslError’
     if(errors[i].error()==QSslError::SelfSignedCertificate || errors[i].error()==QSslError::SelfSignedCertificateInChain){ ok++; }
                 ^
In file included from /usr/include/qt5/QtNetwork/QNetworkAccessManager:1:0,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_libressl_20180117-220140

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
  [2]   ruby23 (with Rubygems)
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv x11-wm/lumina
[ebuild  N    ] x11-wm/lumina-1.3.0_p1  USE="-desktop-utils"
Comment 1 Toralf Förster gentoo-dev 2018-01-22 19:00:38 UTC
Created attachment 515870 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-22 19:00:41 UTC
Created attachment 515872 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-01-22 19:00:44 UTC
Created attachment 515874 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-01-22 19:00:47 UTC
Created attachment 515876 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-01-22 19:00:50 UTC
Created attachment 515878 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-22 19:00:54 UTC
Created attachment 515880 [details]
x11-wm:lumina-1.4.0_p1:20180122-081245.log
Comment 7 Andrey Grozin gentoo-dev 2018-01-24 09:25:18 UTC
Cannot reproduce. I use the same gcc-7.2.0-r1, the same dev-qt/qtnetwork-5.9.3. The only difference I can see: I use the 13.0 profile. The 17.0 has broken all versions of dev-lisp/sbcl, dev-lisp/clisp-2.49-r101 (true, clisp-2.49.60 compliles on this profile, but it fails on x86, and I have 2 computers: amd64 and x86); don't know about other lisps, but one user says that he could build maxima only with 1 lisp: ecls (one of the slowest lisps around), while I use maxima with 6 different lisps (and prefer fast sbcl); fricas is also broken by this. I'm not going to switch until this is fixed. In Gentoo devs are allowed to break things, but then they are responsible for fixing them. Proponents of the 17.0 (and 17.1) profile only break, but don't fix. So, I have to stay with 13.0.
Comment 8 PhobosK 2018-05-26 08:14:28 UTC
The problem is not in the Gentoo profile used (I use 17.0 with no problems compiling lumina)....

The problem is that the OP has replaced openssl with libressl in his system (look at his /etc/portage/package.use/common):

*/*           libressl -gnutls -openssl



And as far as I am aware QT and LibreSSL still do not play along together very well :)
That's why OP's qtcore has been compiled with no SSL support and hence the messages in lumina compilation log + the compile error: 

/usr/include/qt5/Gentoo/gentoo-qconfig.h:18:0: note: this is the location of the previous definition
 #define QT_NO_OPENSSL


and if OpenSSL is compiled in qtcore the log should read:
/usr/include/qt5/Gentoo/gentoo-qconfig.h:12:0: note: this is the location of the previous definition
#define QT_LINKED_OPENSSL


Probably lumina upstream should be notified and do some checks for ssl before compilation... Or the checks to be run in the ebuild of lumina?...
Comment 9 PhobosK 2018-05-26 08:51:42 UTC
Hmm as I look further into this now,  it seems the reason could be because the dev-qt/qtnetwork is compiled without the ssl:


/etc/portage/package.use/libressl

dev-qt/qtnetwork  -ssl


Which means an dev-qt/qtnetwork[ssl] flag requirement in the ebuild should be considered?
Comment 10 Andreas Sturmlechner gentoo-dev 2018-07-15 20:31:00 UTC
(In reply to PhobosK from comment #9)
> Which means an dev-qt/qtnetwork[ssl] flag requirement in the ebuild should
> be considered?

Exactly, missing USE-depend on dev-qt/qtnetwork:5[ssl].
Comment 11 Larry the Git Cow gentoo-dev 2019-07-01 15:57:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41db5a91e80068c61fccea9669aeeb0623c2b8ee

commit 41db5a91e80068c61fccea9669aeeb0623c2b8ee
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2019-07-01 15:56:49 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2019-07-01 15:56:49 +0000

    x11-wm/lumina: fix dependencies, install icons and session file
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=597324
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=645380
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=688880
    Package-Manager: Portage-2.3.67, Repoman-2.3.16
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 x11-wm/lumina/files/lumina-session   | 90 +++++++++++++++++++++++++++++++++
 x11-wm/lumina/lumina-1.5.0-r1.ebuild | 96 ++++++++++++++++++++++++++++++++++++
 2 files changed, 186 insertions(+)