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

Bug 651416

Summary: net-misc/nextcloud-client-2.3.3 - In file included from .../work/client_theming-2.3.3/client/src/libsync/account.cpp:15: /usr/include/qt5/QtNetwork/qnetworkcookie.h:57:24: error: variable ‘Q_NETWORK_EXPORT QNetworkCookie’ has initializer but incomplete ty
Product: Gentoo Linux Reporter: Sascha Spreitzer <sspreitz>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sspreitz
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Sascha Spreitzer 2018-03-25 10:47:12 UTC
Created attachment 525388 [details]
emerge --info

Looks like some include issue

--->
In file included from /usr/include/qt5/QtNetwork/QNetworkCookie:1:0,
                 from /var/tmp/portage/net-misc/nextcloud-client-2.3.3/work/client_theming-2.3.3/client/src/libsync/account.h:21,
                 from /var/tmp/portage/net-misc/nextcloud-client-2.3.3/work/client_theming-2.3.3/client/src/libsync/account.cpp:15:
/usr/include/qt5/QtNetwork/qnetworkcookie.h:57:24: error: variable ‘Q_NETWORK_EXPORT QNetworkCookie’ has initializer but incomplete type
 class Q_NETWORK_EXPORT QNetworkCookie
                        ^~~~~~~~~~~~~~
/usr/include/qt5/QtNetwork/qnetworkcookie.h:59:1: error: expected primary-expression before ‘public’
 public:
 ^~~~~~
/usr/include/qt5/QtNetwork/qnetworkcookie.h:59:1: error: expected ‘}’ before ‘public’
/usr/include/qt5/QtNetwork/qnetworkcookie.h:59:1: error: expected ‘,’ or ‘;’ before ‘public’
/usr/include/qt5/QtNetwork/qnetworkcookie.h:65:5: error: ‘explicit’ outside class declaration
--->
Comment 1 Sascha Spreitzer 2018-03-25 10:53:06 UTC
Can not add build.log as of some wierd access denied of the bugzilla

Here is the build log: https://pastebin.com/qJYF8Wer
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2018-03-26 08:11:10 UTC
Please attach the entire build log to this bug report.
Comment 3 Sascha Spreitzer 2018-03-26 08:58:00 UTC
Created attachment 525460 [details]
build.log

build.log
Comment 4 Sascha Spreitzer 2018-03-26 21:03:01 UTC
After updating qtnetwork to dev-qt/qtnetwork-5.9.4 this ebuild merged.

Suggesting to add this as a dependency.
Comment 5 Bernard Cafarelli gentoo-dev 2019-03-05 23:34:33 UTC
I hate bugs that fall under my radar, sorry for missing this one.

We now have 5.11 as minimum stable Qt, so we should be all good now here