Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268576 - [kde-testing] kde-base/pykde4-4.2.71: compilation failed
Summary: [kde-testing] kde-base/pykde4-4.2.71: compilation failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
: 268606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-04 11:19 UTC by Sergey Morozov
Modified: 2009-05-05 12:52 UTC (History)
1 user (show)

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


Attachments
patch for kencodingprober.sip (pykde4-4.2.71-kencodingprober.patch,709 bytes, patch)
2009-05-05 08:22 UTC, Sergey Morozov
Details | Diff
patch for kdatetime.sip (pykde4-4.2.71-kdatetime.patch,857 bytes, text/plain)
2009-05-05 08:23 UTC, Sergey Morozov
Details
patch for backendcapabilities.sip (pykde4-4.2.71-backendcapabilities.patch,539 bytes, text/plain)
2009-05-05 08:23 UTC, Sergey Morozov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Morozov 2009-05-04 11:19:58 UTC
The part of the emerge out:

[  4%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/sip/kdecore/sipkdecorepart0.o                                                                
In file included from /usr/include/python2.6/Python.h:8,                                 
                 from /usr/include/python2.6/sip.h:28,                                   
                 from /var/tmp/portage/kde-base/pykde4-4.2.71/work/pykde4-4.2.71_build/python/pykde4/sip/kdecore/sipAPIkdecore.h:11,                                              
                 from /var/tmp/portage/kde-base/pykde4-4.2.71/work/pykde4-4.2.71_build/python/pykde4/sip/kdecore/sipkdecorepart0.cpp:7:                                           
/usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined             
<command-line>: warning: this is the location of the previous definition                 
sipkdecorepart0.cpp: In function 'void initkdecore()':                                   
sipkdecorepart0.cpp:4691: error: 'SslErrorUiData' was not declared in this scope         
sipkdecorepart0.cpp:4691: error: no matching function for call to 'qRegisterMetaType(const char [15])'                                                                            
sipkdecorepart0.cpp: In function 'PyObject* meth_KUser_fullName(PyObject*, PyObject*)':  
sipkdecorepart0.cpp:12930: warning: 'QString KUser::fullName() const' is deprecated (declared at /usr/include/kuser.h:179)                                                        
make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/sip/kdecore/sipkdecorepart0.o] Error 1                                                                    
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2     
make[1]: *** Waiting for unfinished jobs....                                             

Reproducible: Always

Steps to Reproduce:
1. emerge =kde-base/pykde4-4.2.71
Comment 1 Rafal Lalik 2009-05-04 14:30:23 UTC
*** Bug 268606 has been marked as a duplicate of this bug. ***
Comment 2 Alexey Shvetsov archtester gentoo-dev 2009-05-04 18:59:21 UTC
Fixed in overlay
Comment 3 Sergey Morozov 2009-05-04 19:13:27 UTC
Thanks, but this is not helps for me.
New error:

[  6%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/sip/kdecore/sipkdecorepart3.o                                                                                                                
In file included from /usr/include/python2.6/Python.h:8,                                                         
                 from /usr/include/python2.6/sip.h:28,                                                           
                 from /var/tmp/portage/kde-base/pykde4-4.2.71/work/pykde4-4.2.71_build/python/pykde4/sip/kdecore/sipAPIkdecore.h:11,                                                                                              
                 from /var/tmp/portage/kde-base/pykde4-4.2.71/work/pykde4-4.2.71_build/python/pykde4/sip/kdecore/sipkdecorepart3.cpp:7:                                                                                           
/usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined                                     
<command-line>: warning: this is the location of the previous definition                                         
sipkdecorepart3.cpp: In function 'PyObject* meth_KEncodingProber_encodingName(PyObject*, PyObject*)':            
sipkdecorepart3.cpp:3282: warning: 'const char* KEncodingProber::encodingName() const' is deprecated (declared at /usr/include/kencodingprober.h:132)                                                                             
/usr/include/kencodingprober.h: In member function 'KEncodingProber& KEncodingProber::operator=(const KEncodingProber&)':                                                                                                         
/usr/include/kencodingprober.h:68: error: non-static const member 'KEncodingProberPrivate* const KEncodingProber::d', can't use default assignment operator                                                                       
sipkdecorepart3.cpp: In function 'void assign_KEncodingProber(void*, const void*)':                              
sipkdecorepart3.cpp:3493: note: synthesized method 'KEncodingProber& KEncodingProber::operator=(const KEncodingProber&)' first required here                                                                                      
sipkdecorepart3.cpp: In function 'PyObject* meth_KCharsets_languageForEncoding(PyObject*, PyObject*)':           
sipkdecorepart3.cpp:4815: warning: 'QString KCharsets::languageForEncoding(const QString&) const' is deprecated (declared at /usr/include/kcharsets.h:147)                                                                        
sipkdecorepart3.cpp: In function 'PyObject* meth_KStandardDirs_addResourceType(PyObject*, PyObject*)':           
sipkdecorepart3.cpp:6419: warning: 'bool KStandardDirs::addResourceType(const char*, const QString&, bool)' is deprecated (declared at /usr/include/kstandarddirs.h:258)                                                          
sipkdecorepart3.cpp: In function 'PyObject* meth_KStandardDirs_kde_default(PyObject*, PyObject*)':               
sipkdecorepart3.cpp:7040: warning: 'static QString KStandardDirs::kde_default(const char*)' is deprecated (declared at /usr/include/kstandarddirs.h:639)                                                                          
make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/sip/kdecore/sipkdecorepart3.o] Error 1   
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2                             
make[1]: *** Waiting for unfinished jobs....                                                                     
Comment 4 Alexey Shvetsov archtester gentoo-dev 2009-05-04 19:37:36 UTC
lets find new patch for it =)
Comment 5 Sergey Morozov 2009-05-05 08:22:01 UTC
Created attachment 190390 [details, diff]
patch for kencodingprober.sip
Comment 6 Sergey Morozov 2009-05-05 08:23:09 UTC
Created attachment 190392 [details]
patch for kdatetime.sip
Comment 7 Sergey Morozov 2009-05-05 08:23:52 UTC
Created attachment 190393 [details]
patch for backendcapabilities.sip
Comment 8 Sergey Morozov 2009-05-05 08:34:42 UTC
Now, pykde4 compiled successfully
Comment 9 Alexey Shvetsov archtester gentoo-dev 2009-05-05 09:08:17 UTC
thanks for patches =)
Comment 10 Sergey Morozov 2009-05-05 12:52:24 UTC
You're welcome!