[Bug 851376] New: Yast does not work after installing ruby < 2.x
https://bugzilla.novell.com/show_bug.cgi?id=851376 https://bugzilla.novell.com/show_bug.cgi?id=851376#c0 Summary: Yast does not work after installing ruby < 2.x Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: 64bit OS/Version: openSUSE 13.1 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: romain.pelissier@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0 Hi, I have upgraded my 12.3 opensuse version to the 13.1 and yast was working at that point. I have installed prior the upgrade snorby which require ruby 1.9.x. Now that yast works with ruby 2 pre-installed, I had to install ruby 1.9.3. I have used this method: https://www.ruby-lang.org/fr/downloads/ I have went through the process of installing and configuring snorby again but I made it works. But now, yast does not work anymore. The only thing I see in the /var/log/YaST2/y2log log file is: 2013-11-20 11:05:34 <1> server(5865) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'menu' 'ncurses' 2013-11-20 11:05:34 <1> server(5865) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for "" 2013-11-20 11:05:34 <1> server(5865) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes 2013-11-20 11:05:36 <3> server(5865) [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' 2013-11-20 11:05:36 <1> server(5865) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base' 2013-11-20 11:05:36 <1> server(5865) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'false' 2013-11-20 11:07:14 <1> server(6079) [liby2] genericfrontend.cc(main):575 Launched YaST2 component 'y2base' 'menu' 'ncurses' 2013-11-20 11:07:14 <1> server(6079) [ui-component] YUIComponentCreator.cc(createInternal):124 Creating UI component for "" 2013-11-20 11:07:14 <1> server(6079) [liby2] genericfrontend.cc(main):764 YAST_IS_RUNNING is yes 2013-11-20 11:07:14 <3> server(6079) [Y2Ruby] binary/YRuby.cc(callClient):238 cannot require yast:cannot load such file -- fast_gettext at /usr/lib64/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require' 2013-11-20 11:07:14 <1> server(6079) [liby2] genericfrontend.cc(main):778 Finished YaST2 component 'y2base' 2013-11-20 11:07:14 <1> server(6079) [liby2] genericfrontend.cc(main):783 Exiting with client return value 'false' I don't know what exactly is not working here. Maybe I have broke something with my ruby 1.9.3 installation... Reproducible: Always Steps to Reproduce: 1. Upgrade 12.3 with snorby installed and ruby 1.9.x to opensuse 13.1 2. Install ruby 1.9.3 using https://www.ruby-lang.org/fr/downloads/ 3. Setup snorby then yast no longer works Actual Results: Yast sinply return to the shell, no error on the console Expected Results: yast should open -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c
Xiyuan Liu
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c1
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c2
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c3
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c4
--- Comment #4 from Josef Reidinger
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c5
Romain Pelissier
maybe related pull request that can help https://github.com/yast/yast-yast2/pull/155 . Yast need same major version of ruby as one to which it is compiled. I am not sure how manual install can break various linking to libraries.
Thanks for the information. I see in the comments on the github link that some code will be pushed into to factory but I guess it will not be updated in 13.1. Well, with 1.9 and 2 from the official rpm packages of opensuse, things work as expect for yast. Is there a way to switch from one ruby environment from the other so snorby will compile/install with the 1.9 opensuse version? Right now, if 1.9 and 2 (officials) are installed, snorby only detect the 2. I will post also something on snorby forum to know what could be done. Thanks -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=851376
https://bugzilla.novell.com/show_bug.cgi?id=851376#c6
Josef Reidinger
(In reply to comment #4)
maybe related pull request that can help https://github.com/yast/yast-yast2/pull/155 . Yast need same major version of ruby as one to which it is compiled. I am not sure how manual install can break various linking to libraries.
Thanks for the information. I see in the comments on the github link that some code will be pushed into to factory but I guess it will not be updated in 13.1.
Well, with 1.9 and 2 from the official rpm packages of opensuse, things work as expect for yast. Is there a way to switch from one ruby environment from the other so snorby will compile/install with the 1.9 opensuse version? Right now, if 1.9 and 2 (officials) are installed, snorby only detect the 2.
I will post also something on snorby forum to know what could be done.
Thanks
I recommend to ask on opensuse-ruby mailing list (http://lists.opensuse.org/opensuse-ruby/), maybe some ENV variables that set ruby paths can help. or update-alternative maybe work, it depends how ruby packages are created. Clossing this as invalid as yast doesn't support using mix of official and unofficial ruby. Thanks for your report -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com