Mailinglist Archive: yast-devel (91 mails)

< Previous Next >
Re: [yast-devel] YCP Killer appliance
Hello Josef,

I got the latest y2r from git running it after following the instructions in, 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
erico@docmobile-suse:~/Projetos/ycp2ruby> unsquashfs -d squashfs-root-common

Then I added the relevant dirs to LD_LIBRARY_PATH:

erico@docmobile-suse:~/Projetos/ycp2ruby> export

It finds everything it needs, throws a couple of deprecated code warnings…
until it hits the native Perl loaders:

ycpc: symbol lookup error:
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

Em [DATE], "[NAME]" <[ADDRESS]> escreveu:

On Thu, 7 Jan 2016 13:37:29 +0000
Erico Mendonca <Erico.Mendonca@xxxxxxxx> 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.



Erico M. Mendonça
Dedicated Support Engineer
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

To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups