Bug 149119 - kdebindings fails make with ruby 1.8.6-p36
Summary: kdebindings fails make with ruby 1.8.6-p36
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: 2007-08-22 16:41 UTC by Taurnil
Modified: 2007-08-24 00:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
compile log showing make failure (47.36 KB, application/octet-stream)
2007-08-22 16:42 UTC, Taurnil
Details
config log with make failure (124.02 KB, application/octet-stream)
2007-08-22 16:43 UTC, Taurnil
Details

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