Bug 273963 - pykde4 doesn't build with sip 4.12.2
Summary: pykde4 doesn't build with sip 4.12.2
Status: RESOLVED FIXED
Alias: None
Product: bindings
Classification: Developer tools
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kde-bindings
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-23 14:54 UTC by Andrea Scarpino
Modified: 2011-11-11 00:10 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
fix pykde4 build (3.91 KB, patch)
2011-05-24 13:26 UTC, Andrea Scarpino
Details

Note You need to log in before you can comment on or make changes to this bug.
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