Bug 232107 - ruby binding fails to compile
Summary: ruby binding fails to compile
Status: RESOLVED UPSTREAM
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: 2010-03-25 14:32 UTC by Tomas Vavra
Modified: 2010-08-04 17:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vavra 2010-03-25 14:32:22 UTC
Version:            (using Devel)
Compiler:          gcc version 4.4.3 (Debian 4.4.3-5) 
OS:                Linux
Installed from:    Compiled sources

Ruby bindings fails to compile due missing kdevplatform/shell/profile.h. Before compile I had to copy content of kdevplatform from extragear/sdk/kdevplatform. I think that is something wrong with ruby bindings as profile.h doesn't exist in kdevplatform.

Part of output:

[ 98% Built target rubyktexteditor

[100% Built target smokekdevplatform

[100% Building CXX object ruby/kdevplatform/CMakeFiles/rubykdevplatform.dir/kdevplatformhandlers.o

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:36:40: error: kdevplatform/shell/profile.h: No such file or directory

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: âTypeIdentifierâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: âTypeIdentifierâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: âTypeIdentifierâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: âTypeIdentifierâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: template argument 1 is invalid

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:54: error: no matches converting function âmarshall_ValueListItemâ to type âvoid (*)(class Marshall*)â

/usr/src/kde4/kdebindings/ruby/qtruby/src/marshall_macros.h:166: error: candidates are: template<class Item, class ItemList, const char* ItemSTR> void marshall_ValueListItem(Marshall*)

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:55: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:55: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:55: error: parse error in template argument list

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:55: error: no matches converting function âmarshall_ValueListItemâ to type âvoid (*)(class Marshall*)â

/usr/src/kde4/kdebindings/ruby/qtruby/src/marshall_macros.h:166: error: candidates are: template<class Item, class ItemList, const char* ItemSTR> void marshall_ValueListItem(Marshall*)

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: âProfileâ is not a member of âKDevelopâ

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: template argument 1 is invalid

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:64: error: no matches converting function âmarshall_ItemListâ to type âvoid (*)(class Marshall*)â

/usr/src/kde4/kdebindings/ruby/qtruby/src/marshall_macros.h:50: error: candidates are: template<class Item, class ItemList, const char* ItemSTR> void marshall_ItemList(Marshall*)

/usr/src/kde4/kdebindings/ruby/kdevplatform/kdevplatformhandlers.cpp:55: warning: â<unnamed>::KDevelopProfileEntryListSTRâ defined but not used

make[2: *** [ruby/kdevplatform/CMakeFiles/rubykdevplatform.dir/kdevplatformhandlers.o Error 1

make[1: *** [ruby/kdevplatform/CMakeFiles/rubykdevplatform.dir/all Error 2

make: *** [all Error 2

Log directory for kdebindings is /usr/src/kde4/log/2010-03-25-08/kdebindings
  Setting kdebindings,#error-log-file = /usr/src/kde4/log/2010-03-25-08/kdebindings/build-1.log
Logfile for kdebindings is build-1.log
Comment 1 Arno Rehn 2010-03-25 14:41:06 UTC
kdevplatform is still highly unstable and its API changes frequently, along with the available headers.
As far as I know, we've removed the kdevplatform bindings from the 4.4 branch and I think we should disable them by default in trunk or even move them back to playground.
Comment 2 Richard Dale 2010-03-25 14:52:10 UTC
On Thursday 25 March 2010 01:43:19 pm Arno Rehn wrote:
> https://bugs.kde.org/show_bug.cgi?id=232107
> 
> 
> Arno Rehn <kde@arnorehn.de> changed:
> 
>            What    |Removed                     |Added
> ---------------------------------------------------------------------------
> - CC|                            |kde@arnorehn.de
> 
> 
> 
> 
> --- Comment #1 from Arno Rehn <kde arnorehn de>  2010-03-25 14:41:06 ---
> kdevplatform is still highly unstable and its API changes frequently, along
> with the available headers.
> As far as I know, we've removed the kdevplatform bindings from the 4.4
> branch and I think we should disable them by default in trunk or even move
> them back to playground.
Yes, I think they should be removed from the trunk branch. Then only set up 
project for them in playground if they are going to be used.