Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 645580

Summary: net-libs/jreen-1.3.0-r1 : /.../directconnection.cpp:121:20: error: QTcpSocket was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo LibreSSL <libressl>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=562050
https://bugs.gentoo.org/show_bug.cgi?id=830727
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 562050    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-libs:jreen-1.3.0-r1:20180123-232127.log
temp.tbz2

Description Toralf Förster gentoo-dev 2018-01-24 18:19:05 UTC
/var/tmp/portage/net-libs/jreen-1.3.0-r1/work/jreen-1.3.0/src/directconnection.cpp: In member function ‘void Jreen::DirectConnectionPrivate::stateChanged(QAbstractSocket::SocketState)’:
/var/tmp/portage/net-libs/jreen-1.3.0-r1/work/jreen-1.3.0/src/directconnection.cpp:121:20: error: ‘QTcpSocket’ was not declared in this scope
   if (qobject_cast<QTcpSocket*>(socket)) {
                    ^~~~~~~~~~
/var/tmp/portage/net-libs/jreen-1.3.0-r1/work/jreen-1.3.0/src/directconnection.cpp:121:20: note: suggested alternative: ‘socket’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_libressl-test_20180117-214426

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)

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 net-libs/jreen
Comment 1 Toralf Förster gentoo-dev 2018-01-24 18:19:08 UTC
Created attachment 516382 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-24 18:19:12 UTC
Created attachment 516384 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-01-24 18:19:14 UTC
Created attachment 516386 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-01-24 18:19:17 UTC
Created attachment 516388 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-01-24 18:19:20 UTC
Created attachment 516390 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-24 18:19:23 UTC
Created attachment 516392 [details]
net-libs:jreen-1.3.0-r1:20180123-232127.log
Comment 7 Toralf Förster gentoo-dev 2018-01-24 18:19:26 UTC
Created attachment 516394 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2018-01-24 18:41:24 UTC
It appears this file is missing #include <QTcpSocket>, then.
Comment 9 Andreas Sturmlechner gentoo-dev 2018-01-24 18:46:55 UTC
I can't reproduce it with GCC-7.2.0 though. Maybe an issue with how qtnetwork was built with libressl?
Comment 10 Toralf Förster gentoo-dev 2018-01-24 19:10:48 UTC
definitely an libressl issue
I did not tweak the ebuild so it should not be built with libressl, or ?
Comment 11 Andreas Sturmlechner gentoo-dev 2018-01-24 19:36:38 UTC
dev-qt/qtnetwork has: ssl? ( dev-libs/openssl:0=[bindist=] )

But even if I build it with -ssl the header exists.
Comment 12 Stefan Strogin gentoo-dev 2020-02-09 01:47:39 UTC
Build fine with libressl-3.0.2. But I am using dev-qt/qtnetwork from libressl overlay.
Leaving the bug open until dev-qt/qtnetwork supports libressl without the overlay.
Comment 13 Toralf Förster gentoo-dev 2020-02-09 09:38:55 UTC
(In reply to Stefan Strogin from comment #12)
> Build fine with libressl-3.0.2. But I am using dev-qt/qtnetwork from
> libressl overlay.

The Tinderbox too: https://github.com/toralf/tinderbox/blob/master/bin/setup_img.sh#L337

 ;)
Comment 14 Toralf Förster gentoo-dev 2022-01-07 13:20:02 UTC
pbly not LibreSSL related, see bug 830727