Bug 149119

Summary: kdebindings fails make with ruby 1.8.6-p36
Product: [Unmaintained] bindings Reporter: Taurnil <taurnil.oronar>
Component: generalAssignee: kde-bindings
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: compile log showing make failure
config log with make failure

Description Taurnil 2007-08-22 16:41:46 UTC
Version:            (using KDE KDE 3.5.7)
Installed from:    Compiled From Sources
Compiler:          gcc 4.1.2 sane optimizations used
OS:                Linux

First this really belongs with kdebindings but I could not find it in the application list.

The relevant part of the make failure;

make[5]: Entering directory `/usr/src/kdebindings-3.5.7/qtruby/rubylib/qtruby'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../smoke -I/opt/
        then mv -f ".deps/Qt.Tpo" ".deps/Qt.Plo"; else rm -f ".deps/Qt.Tpo"; exit 1; fi
/usr/lib/ruby/1.8/i686-linux/intern.h:207: error: use of enum 'rb_thread_status' without previous declaration
/usr/lib/ruby/1.8/i686-linux/intern.h:207: error: invalid type in declaration before ';' token
make[5]: *** [Qt.lo] Error 1
make[5]: Leaving directory `/usr/src/kdebindings-3.5.7/qtruby/rubylib/qtruby'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/kdebindings-3.5.7/qtruby/rubylib/qtruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/kdebindings-3.5.7/qtruby/rubylib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kdebindings-3.5.7/qtruby'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdebindings-3.5.7'
make: *** [all] Error 2
Comment 1 Taurnil 2007-08-22 16:42:56 UTC
Created attachment 21456 [details]
compile log showing make failure
Comment 2 Taurnil 2007-08-22 16:43:53 UTC
Created attachment 21457 [details]
config log with make failure
Comment 3 Taurnil 2007-08-22 16:46:00 UTC
Additionally, since the error noted a thread issue. I tried recompiling ruby with threads and got the same results. So I am not totally sure if this is really a kdebindings issue or a ruby problem.
Comment 4 Andreas Pakulat 2007-08-22 17:02:57 UTC
And you reported against the wrong component.
Comment 5 Taurnil 2007-08-22 18:53:59 UTC
Yeah no doubt. Seems I can never find the right component when filing a bug report.
Comment 6 Sebastian Sauer 2007-08-23 22:28:13 UTC
It's a ruby-bug ( http://www.ruby-forum.com/topic/112255 ) and fixed already. in the ruby-svn for 1.8.6. So, just use another patchlevel then p36 :)

Probably we should add a possibility to blacklist some Ruby releases somehow?
Comment 7 Taurnil 2007-08-23 22:57:30 UTC
Ok thanks. This can be closed then.
Comment 8 Sebastian Sauer 2007-08-24 00:04:41 UTC
Marked as fixed. Thanks for the feedback, Taurnil ! :)