Gentoo Archives: gentoo-desktop

From: Yuriy Davygora <davygora@××××××××××.com>
To: gentoo-desktop@l.g.o
Subject: Re: [gentoo-desktop] bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails
Date: Mon, 20 Feb 2012 14:03:09
Message-Id: 4F42460A.2080707@googlemail.com
In Reply to: Re: [gentoo-desktop] bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails by Andii Hughes
Yes, a similar patch should be applied there. Basically, one should do 
exactly, what the compiler tells you: remove the redundant ::QDateTime 
(patch in attachment). Similar patches are needed for about half a dozen 
packages pulled by kde-meta:3.5.


On 02/20/2012 01:21 PM, Andii Hughes wrote:
> On 4 February 2012 09:04, Yuriy Davygora<davygora@××××××××××.com> wrote: >> Hello, >> >> while emerging kde-meta:3.5 from kde-sunset, I have encountered the >> following problem with kde-base/kate-plugins-3.5.10: >> >> plugin_katetabbarextension.h: In constructor 'MyPtrList::MyPtrList()': >> plugin_katetabbarextension.h:56:54: error: cannot call constructor >> 'MyPtrList::QPtrList' directly >> plugin_katetabbarextension.h:56:54: error: for a function-style cast, >> remove the redundant '::QPtrList' >> plugin_katetabbarextension.h: At global scope: >> plugin_katetabbarextension.h:309:13: warning: unused parameter 'number' >> plugin_katetabbarextension.h:309:13: warning: unused parameter 'size' >> make[3]: *** [plugin_katetabbarextension.lo] Error 1 >> make[3]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate/tabbarextension' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10/kate' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory >> `/var/tmp/portage/kde-base/kate-plugins-3.5.10/work/kate-plugins-3.5.10' >> make: *** [all] Error 2 >> emake failed >> >> The complete build log is in the attachment (build.log). Output of >> >> emerge --info =kde-base/kate-plugins-3.5.10 >> >> is in info.log. >> >> Thanks in advance for any help! >> >> Best regards, >> Yuriy > konsolekalendar hits something similar: > > main.cpp:37:5: warning: "TIME_WITH_SYS_TIME" is not defined > main.cpp: In function ‘int main(int, char**)’: > main.cpp:802:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:802:64: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:808:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:808:58: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:817:64: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:817:64: error: for a function-style cast, remove the > redundant ‘::QDateTime’ > main.cpp:823:58: error: cannot call constructor ‘QDateTime::QDateTime’ directly > main.cpp:823:58: error: for a function-style cast, remove the > redundant ‘::QDateTime’ >

Attachments

File name MIME type
kdepim_konsolekalendar-qdatetime.patch text/x-patch