Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Desktop

bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails

 

 

Gentoo desktop RSS feed   Index | Next | Previous | View Threaded


davygora at googlemail

Feb 4, 2012, 1:04 AM

Post #1 of 4 (553 views)
Permalink
bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails

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
Attachments: build.log (72.7 KB)
  info.log (5.76 KB)


davygora at googlemail

Feb 20, 2012, 2:41 AM

Post #2 of 4 (507 views)
Permalink
Re: bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails [In reply to]

ok, never mind, managed to patch it myself.


On 02/04/2012 10:04 AM, Yuriy Davygora 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
Attachments: kdeaddons_kate-plugins-qdatetime.patch (0.67 KB)


gnu_andrew at member

Feb 20, 2012, 4:21 AM

Post #3 of 4 (510 views)
Permalink
Re: bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails [In reply to]

On 4 February 2012 09:04, Yuriy Davygora <davygora [at] googlemail> 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’

--
Andii :-)


davygora at googlemail

Feb 20, 2012, 5:09 AM

Post #4 of 4 (512 views)
Permalink
Re: bug in kde-base/kate-plugins-3.5.10 (kde-sunset): build fails [In reply to]

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 [at] googlemail> 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: kdepim_konsolekalendar-qdatetime.patch (1.74 KB)

Gentoo desktop RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.