Hello Josef, I got the latest y2r from git running it after following the instructions in README.md, but I seem to have run into a wall. I’m running it on OpenSUSE Leap 42.1. Since YaST here is already in Ruby, it’ll complain about all the missing YCP modules imported by my module. To solve that, I got the files from SLES 11 SP4 media: erico@docmobile-suse:~/Projetos/ycp2ruby> unsquashfs -d squashfs-root-root /mnt/usbstick/boot/x86_64/root erico@docmobile-suse:~/Projetos/ycp2ruby> unsquashfs -d squashfs-root-common /mnt/usbstick/boot/x86_64/common Then I added the relevant dirs to LD_LIBRARY_PATH: erico@docmobile-suse:~/Projetos/ycp2ruby> export LD_LIBRARY_PATH=~/Projetos/ycp2ruby/squashfs-root-root/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi:~/Projetos/ycp2ruby/squashfs-root-root/usr/lib64:~/Projetos/ycp2ruby/squashfs-root-common/usr/lib64 It finds everything it needs, throws a couple of deprecated code warnings… until it hits the native Perl loaders: ycpc: symbol lookup error: /home/erico/Projetos/ycp2ruby/squashfs-root-root/usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi/LibStorage.so: undefined symbol: Perl_Gthr_key_ptr These were compiled with a different version of the interpreter. I reproduced the above in a SLES 11 SP4 VM, and it appears to have got past that point, but there were Ruby syntax errors. Apparently there are language syntax differences between Ruby 1.8 and Ruby 2.1? I’ll keep working. Let’s see what happens. -- — Erico Mendonça Dedicated Support Engineer SUSE Em [DATE], "[NAME]" <[ADDRESS]> escreveu:
On Thu, 7 Jan 2016 13:37:29 +0000 Erico Mendonca
wrote: Does anyone have the ycp-killer appliance ISO based on opensuse 12.3? The one in SUSE Studio was deleted, and I need to convert a custom YCP module to Ruby. Upgrading it to Leap causes all kinds of havoc with Perl, like missing .so files and symbols.
Hi Erico, what I did in past is that I use directly y2r[1] script to convert ycp files. I also document known bugs in it[2]. I found it faster, then trying to adapt ycp killer. What you basically need to do, is to do all steps ycp killer did as mentioned in [3].
If you need more help, do not hesitate to contact me as I in past convert some third party modules.
Josef
[1] https://github.com/yast/y2r [2] https://github.com/yast/y2r/blob/master/KNOWN_BUGS.md [3] https://github.com/yast/ycp-killer/#overview
Erico M. Mendonça Dedicated Support Engineer SUSE Rua Joaquim Floriano, 466 – Ed. Corporate 12º andar, Itaim Bibi – São Paulo – SP / Brasil Tel: +55 (11) 3345-3900 Cel: + 55 (61) 8594-9557 erico.mendonca@suse.com www.suse.com
N_____r__y___\___^__~_{.n_+__________?_r__i_m__0________-u____0_________
-- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org