Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645580 - net-libs/jreen-1.3.0-r1 : /.../directconnection.cpp:121:20: error: QTcpSocket was not declared in this scope
Summary: net-libs/jreen-1.3.0-r1 : /.../directconnection.cpp:121:20: error: QTcpSocket...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords:
Depends on: 562050
Blocks:
  Show dependency tree
 
Reported: 2018-01-24 18:19 UTC by Toralf Förster
Modified: 2022-01-07 14:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.28 KB, text/plain)
2018-01-24 18:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,221.49 KB, text/plain)
2018-01-24 18:19 UTC, Toralf Förster
Details
environment (environment,116.20 KB, text/plain)
2018-01-24 18:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.51 KB, application/x-bzip)
2018-01-24 18:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.48 KB, application/x-bzip)
2018-01-24 18:19 UTC, Toralf Förster
Details
net-libs:jreen-1.3.0-r1:20180123-232127.log (net-libs:jreen-1.3.0-r1:20180123-232127.log,106.25 KB, text/plain)
2018-01-24 18:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.44 KB, application/x-bzip)
2018-01-24 18:19 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-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