Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Paludis ruby bindings fail to compile with ruby 1.9.2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Stefano Crocco
Apprentice
Apprentice


Joined: 28 Sep 2006
Posts: 157

PostPosted: Sat Oct 16, 2010 12:55 pm    Post subject: Paludis ruby bindings fail to compile with ruby 1.9.2 Reply with quote

I have been unable to install paludis 0.54.4 with the ruby-bindings use flag enabled and ruby 1.9.2 because of the following compilation error:

Code:

In file included from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from choice.cc:21:
/usr/include/ruby-1.9.1/ruby/ruby.h:1063: warning: 'void rb_global_variable(VALUE*)' hides constructor for 'struct rb_global_variable'
In file included from /usr/include/ruby-1.9.1/ruby/ruby.h:1327,
                 from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from choice.cc:21:
/usr/include/ruby-1.9.1/ruby/missing.h:169: error: declaration of 'int ffs(int)' throws different exceptions
/usr/include/string.h:523: error: from previous declaration 'int ffs(int) throw ()'
make[4]: *** [libpaludisruby_0.54_la-choice.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from contents.cc:22:
/usr/include/ruby-1.9.1/ruby/ruby.h:1063: warning: 'void rb_global_variable(VALUE*)' hides constructor for 'struct rb_global_variable'
In file included from /usr/include/ruby-1.9.1/ruby/ruby.h:1327,
                 from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from contents.cc:22:
/usr/include/ruby-1.9.1/ruby/missing.h:169: error: declaration of 'int ffs(int)' throws different exceptions
/usr/include/string.h:523: error: from previous declaration 'int ffs(int) throw ()'
make[4]: *** [libpaludisruby_0.54_la-contents.lo] Error 1
make[4]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.54.4/work/paludis-0.54.4/ruby'
make[3]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.54.4/work/paludis-0.54.4/ruby'
make[2]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.54.4/work/paludis-0.54.4/ruby'
make[1]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.54.4/work/paludis-0.54.4'
In file included from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from action.cc:22:
/usr/include/ruby-1.9.1/ruby/ruby.h:1063: warning: 'void rb_global_variable(VALUE*)' hides constructor for 'struct rb_global_variable'
In file included from /usr/include/ruby-1.9.1/ruby/ruby.h:1327,
                 from /usr/include/ruby-1.9.1/ruby.h:33,
                 from ./paludis_ruby.hh:51,
                 from action.cc:22:
/usr/include/ruby-1.9.1/ruby/missing.h:169: error: declaration of 'int ffs(int)' throws different exceptions
/usr/include/string.h:523: error: from previous declaration 'int ffs(int) throw ()'
make[4]: *** [libpaludisruby_0.54_la-action.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

paludis compiles correctly with ruby 1.8.7 and also compiled correctly with ruby 1.9.1.

Has anyone succeeded in compiling paludis with the ruby bindings and ruby 1.9.2 or should I report a bug for paludis?

Thanks in advance for any answer
_________________
Stefano
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum