Bug 273963

Summary: pykde4 doesn't build with sip 4.12.2
Product: [Unmaintained] bindings Reporter: Andrea Scarpino <scarpino>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: normal CC: arthur, hrvoje.senjan
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: fix pykde4 build

Description Andrea Scarpino 2011-05-23 14:54:03 UTC
Version:           unspecified (using Devel) 
OS:                Linux

pykde4 from git doesn't build with sip 4.12.2, error is:

[ 21%] Building CXX object CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart2.o                                                                                  
/build/src/build/sip/kdeui/sipkdeuipart2.cpp: In function 'PyObject* meth_KTabWidget_label(PyObject*, PyObject*)':
/build/src/build/sip/kdeui/sipkdeuipart2.cpp:17452:42: error: 'class KTabWidget' has no member named 'label'
/build/src/build/sip/kdeui/sipkdeuipart2.cpp: In function 'PyObject* meth_KTabWidget_tabLabel(PyObject*, PyObject*)':
/build/src/build/sip/kdeui/sipkdeuipart2.cpp:17480:42: error: 'class KTabWidget' has no member named 'tabLabel'
/build/src/build/sip/kdeui/sipkdeuipart2.cpp: In function 'PyObject* meth_KTabWidget_setTabLabel(PyObject*, PyObject*)':
/build/src/build/sip/kdeui/sipkdeuipart2.cpp:17508:21: error: 'class KTabWidget' has no member named 'setTabLabel'
make[2]: *** [CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart2.o] Error 1
make[1]: *** [CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make: *** [all] Error 2

Reproducible: Always




sip 4.12.2
pyqt 4.8.4
Comment 1 Hrvoje Senjan 2011-05-24 11:39:31 UTC
Andrea , using these diffs/patches i am able to compile pykde4 succesfully.
http://pastebin.com/wGcUnSCE
http://pastebin.com/PCXAQ4kE
http://pastebin.com/1k4J6333
http://pastebin.com/6Dbnjghq
http://pastebin.com/L0fFFmRU
http://pastebin.com/HuinSGhp
Comment 2 Andrea Scarpino 2011-05-24 13:26:39 UTC
Created attachment 60265 [details]
fix pykde4 build
Comment 3 Andrea Scarpino 2011-05-24 13:27:19 UTC
(In reply to comment #1)
> Andrea , using these diffs/patches i am able to compile pykde4 succesfully.
> http://pastebin.com/wGcUnSCE
> http://pastebin.com/PCXAQ4kE
> http://pastebin.com/1k4J6333
> http://pastebin.com/6Dbnjghq
> http://pastebin.com/L0fFFmRU
> http://pastebin.com/HuinSGhp
Confirmed. Those patches fix pykde4 build, I merged them in a file which is attached
Comment 4 Hrvoje Senjan 2011-05-25 10:31:32 UTC
These patches aren't helpfull anymore. Failog with them:
http://pastebin.com/AHWr7BTw
without them:
http://pastebin.com/JKpCWgMu
Comment 5 Andrea Scarpino 2011-05-25 10:37:03 UTC
(In reply to comment #4)
> These patches aren't helpfull anymore. Failog with them:
> http://pastebin.com/AHWr7BTw
you are missing boost:
fatal error: boost/shared_ptr.hpp: No such file or directory
Comment 6 Hrvoje Senjan 2011-05-25 12:10:29 UTC
(In reply to comment #5)
Ooops :)
Patches are working...
Comment 7 Andrea Scarpino 2011-11-11 00:10:26 UTC
Cannot reproduce anymore since KDE 4.7