Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 653626 - kde-apps/kopete-18.04.0[oscar]: invalid use of incomplete type ‘class Buffer’
Summary: kde-apps/kopete-18.04.0[oscar]: invalid use of incomplete type ‘class Buffer’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-20 17:41 UTC by Erik Zeek
Modified: 2018-04-24 09:56 UTC (History)
4 users (show)

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


Attachments
Build log (kde-apps:kopete-18.04.0:20180420-165642.log.gz,79.81 KB, application/gzip)
2018-04-20 17:41 UTC, Erik Zeek
Details
emerge --info '=kde-apps/kopete-18.04.0::gentoo' (emerge-info.txt,13.44 KB, text/plain)
2018-04-20 17:41 UTC, Erik Zeek
Details
emerge --info '=kde-apps/kopete-18.04.0::gentoo' (kopete-18.04.0_emerge.info,6.22 KB, application/x-info)
2018-04-20 21:07 UTC, Nils Kneuper
Details
build log (1.6MB, so gzipped) (build.log.gz,45.05 KB, application/gzip)
2018-04-20 21:08 UTC, Nils Kneuper
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erik Zeek 2018-04-20 17:41:00 UTC
Created attachment 528102 [details]
Build log

Build fails every time 

In file included from /gentoo/tmp/portage/kde-apps/kopete-18.04.0/work/kopete-18.04.0_build/protocols/oscar/liboscar/oscar_autogen/mocs_compilation.cpp:13:0:
/gentoo/tmp/portage/kde-apps/kopete-18.04.0/work/kopete-18.04.0_build/protocols/oscar/liboscar/oscar_autogen/4YFCYKDWW7/moc_messagereceivertask.cpp: In static member function ‘static void MessageReceiverTask::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)’:
/gentoo/tmp/portage/kde-apps/kopete-18.04.0/work/kopete-18.04.0_build/protocols/oscar/liboscar/oscar_autogen/4YFCYKDWW7/moc_messagereceivertask.cpp:83:165: error: invalid use of incomplete type ‘class Buffer’
         case 2: _t->fileMessage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QByteArray(*)>(_a[3])),(*reinterpret_cast< Buffer(*)>(_a[4]))); break;
Comment 1 Erik Zeek 2018-04-20 17:41:32 UTC
Created attachment 528104 [details]
emerge --info '=kde-apps/kopete-18.04.0::gentoo'
Comment 2 Nils Kneuper 2018-04-20 21:07:09 UTC
Created attachment 528106 [details]
emerge --info '=kde-apps/kopete-18.04.0::gentoo'

Same problem for me...
Comment 3 Nils Kneuper 2018-04-20 21:08:57 UTC
Created attachment 528108 [details]
build log (1.6MB, so gzipped)

Sorry, build log is too large to attach as plain text. Attached as gzip instead.
Comment 4 Nils Kneuper 2018-04-21 07:28:13 UTC
Note: this issue seems to only happen if the use flag "oscar" is active. WIthout oscar the package does build. Yet that is one of the main functions for me...

I don't know if the issue is part of the package itself or because of a dependency / compiler setting.
Comment 5 Larry the Git Cow gentoo-dev 2018-04-24 09:56:16 UTC
The bug has been closed via the following commit(s):

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

commit bb7eff3f226488ac68f9164fce6123bfdba37302
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2018-04-24 09:55:32 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2018-04-24 09:56:04 +0000

    kde-apps/kopete: Fix USE=oscar
    
    Closes: https://bugs.gentoo.org/653626
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 kde-apps/kopete/files/kopete-18.04.0-oscar.patch | 29 ++++++++++++++++++++++++
 kde-apps/kopete/kopete-18.04.0.ebuild            |  2 ++
 2 files changed, 31 insertions(+)