[yast-devel] Re: [opensuse-ruby] ruby 2.2 - next step
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 06 May 2015 10:33:57 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 10:26, Josef Reidinger wrote:
On Wed, 06 May 2015 10:02:51 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
We're getting there - the yast modules crash now in real life and no longer during boot ;)
https://openqa.opensuse.org/tests/60766/modules/yast2_lan/steps/2
https://openqa.opensuse.org/tests/60766/modules/yast2_bootloader/steps/2
Greetings, Stephan
Great, that we have progress. Now it again failed with problem with dbus ( yast2-bootloader - cannot require yast:cannot load such file -- dbus ) and it also affect network.
I try to download iso and test it manually why dbus cannot be loaded.
Note that the installation is still ruby2.1 as long as installation-images do not build.
Greetings, Stephan
Problem is that rubygem-dbus is not build for ruby 2.2. I only see ruby2.1-rubygem-ruby-dbus but no ruby2.2-rubygem-ruby-dbus so it is not found. Any idea why it missing? Josef -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVJ3YQACgkQV5WwXbxWL0iWjQCfQ0kHnPpDNROVXnFRV1H8nXb4 2UgAoJWMkKZGwIj6vOclbVYSRaGzq9Jo =RNfx -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06.05.2015 11:23, Josef Reidinger wrote:
Problem is that rubygem-dbus is not build for ruby 2.2. I only see ruby2.1-rubygem-ruby-dbus but no ruby2.2-rubygem-ruby-dbus so it is not found. Any idea why it missing?
Where are you looking? it's built: https://build.opensuse.org/package/binaries/openSUSE:Factory:Staging:H/rubyg... Greetings, Stephan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVJ3mQACgkQwFSBhlBjoJb/1gCguGN8iFU65q2ItfsQ2yZYrq3Q CTgAn2HHDuBSN2l5mfapSKnhxsYGh7Rn =QNhO -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 06 May 2015 11:27:00 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 11:23, Josef Reidinger wrote:
Problem is that rubygem-dbus is not build for ruby 2.2. I only see ruby2.1-rubygem-ruby-dbus but no ruby2.2-rubygem-ruby-dbus so it is not found. Any idea why it missing?
Where are you looking? it's built:
https://build.opensuse.org/package/binaries/openSUSE:Factory:Staging:H/rubyg...
Greetings, Stephan
It is not part of repository on ISO I downloaded from openQA. So maybe it is problem? Not sure what exactly is problem that cause that package is missing on DVD repo. Josef
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlVJ3mQACgkQwFSBhlBjoJb/1gCguGN8iFU65q2ItfsQ2yZYrq3Q CTgAn2HHDuBSN2l5mfapSKnhxsYGh7Rn =QNhO -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVJ35sACgkQV5WwXbxWL0isewCgk5hDbFxk6rwrueFTj2kMw0eV dBsAn0EFPxej5Wr8pbLq6FvVtDaJpIBl =DngW -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06.05.2015 11:32, Josef Reidinger wrote:
On Wed, 06 May 2015 11:27:00 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 11:23, Josef Reidinger wrote:
Problem is that rubygem-dbus is not build for ruby 2.2. I only see ruby2.1-rubygem-ruby-dbus but no ruby2.2-rubygem-ruby-dbus so it is not found. Any idea why it missing?
Where are you looking? it's built:
https://build.opensuse.org/package/binaries/openSUSE:Factory:Staging:H/rubyg...
Greetings, Stephan
It is not part of repository on ISO I downloaded from openQA. So maybe it is problem? Not sure what exactly is problem that cause that package is missing on DVD repo.
I'm afraid this highlights a big problem: there are no requirements on what is really required. yast2-storage requires "rubygem(ruby-dbus)" not the version it actually looks for and as such libsolv is free to pick and as such it creates an interesting mix: install libruby2_1-2_1-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install libruby2_2-2_2-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install libstorage-ruby-2.25.20-4.2.x86_64@staging_Factory:H-x86_64 install ruby-2.2-89.3.x86_64@staging_Factory:H-x86_64 install ruby-common-2.1-101.1.noarch@staging_Factory:H-x86_64 install ruby2.1-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install ruby2.1-rubygem-gem2rpm-0.10.1-19.4.x86_64@staging_Factory:H-x86_64 install ruby2.1-rubygem-ruby-dbus-0.11.0-6.3.x86_64@staging_Factory:H-x86_64 install ruby2.1-stdlib-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install ruby2.2-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install ruby2.2-rubygem-fast_gettext-0.9.2-3.3.x86_64@staging_Factory:H-x86_64 install ruby2.2-stdlib-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install yast2-ruby-bindings-3.1.31-3.1.x86_64@staging_Factory:H-x86_64 yast2-ruby-bindings actually requires "rubygem(ruby:2.2.0:fast_gettext)" and I'm afraid this is what all yast modules need to do: require a *specific* rubygem. Any ruby-dbus just doesn't work ;( I clearly can work around this for the staging DVDs - and I don't necessarly want 2 ruby versions in tumbleweed going forward, but we want to support the use case of having system ruby and bleeding edge ruby next to it, so I did this "2 ruby versions in stagings" on purpose. Greetings, Stephan -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVJ4pQACgkQwFSBhlBjoJZVfACg3+af8d0FKEM+BX63O6AnYeOx Vu8AoI/aL4UMG/ZclpItN1IuwHD+YRUb =B1Qq -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
* Stephan Kulow <coolo@suse.de> [May 06. 2015 11:45]:
yast2-ruby-bindings actually requires "rubygem(ruby:2.2.0:fast_gettext)" and I'm afraid this is what all yast modules need to do: require a *specific* rubygem.
Touch *all* YaST .spec files when a new Ruby version comes out ? You must be kidding. SCNR ! Klaus -- SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton, HRB 21284 (AG Nürnberg) Maxfeldstraße 5, 90409 Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06.05.2015 12:02, Klaus Kaempf wrote:
* Stephan Kulow <coolo@suse.de> [May 06. 2015 11:45]:
yast2-ruby-bindings actually requires "rubygem(ruby:2.2.0:fast_gettext)" and I'm afraid this is what all yast modules need to do: require a *specific* rubygem.
Touch *all* YaST .spec files when a new Ruby version comes out ? You must be kidding.
Yeah, just as we touch all spec files whenever the shared library dependencies change - NOT. Greetings, Stephan -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 06 May 2015 12:37:27 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 12:02, Klaus Kaempf wrote:
* Stephan Kulow <coolo@suse.de> [May 06. 2015 11:45]:
yast2-ruby-bindings actually requires "rubygem(ruby:2.2.0:fast_gettext)" and I'm afraid this is what all yast modules need to do: require a *specific* rubygem.
Touch *all* YaST .spec files when a new Ruby version comes out ? You must be kidding.
Yeah, just as we touch all spec files whenever the shared library dependencies change - NOT.
Greetings, Stephan
Thanks to Arvin, it should be now fixed, fixed packages send as SR. In the end we use as coolo propose format Requires: rubygem(%{rb_default_ruby_abi}:docker-api) so we not need to update for each new ruby version and it works for different products whatever ruby they use as default one. Josef -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVKNsAACgkQV5WwXbxWL0gyUgCdEjXptMMw4mjmmIPGAaVdXaGb 8+IAoJFjtdQEZ5b53Yz6Rv7Mf3RQbhPw =Y3/r -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 06 May 2015 11:44:52 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 11:32, Josef Reidinger wrote:
On Wed, 06 May 2015 11:27:00 +0200 Stephan Kulow <coolo@suse.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 06.05.2015 11:23, Josef Reidinger wrote:
Problem is that rubygem-dbus is not build for ruby 2.2. I only see ruby2.1-rubygem-ruby-dbus but no ruby2.2-rubygem-ruby-dbus so it is not found. Any idea why it missing?
Where are you looking? it's built:
https://build.opensuse.org/package/binaries/openSUSE:Factory:Staging:H/rubyg...
Greetings, Stephan
It is not part of repository on ISO I downloaded from openQA. So maybe it is problem? Not sure what exactly is problem that cause that package is missing on DVD repo.
I'm afraid this highlights a big problem: there are no requirements on what is really required.
yast2-storage requires "rubygem(ruby-dbus)" not the version it actually looks for and as such libsolv is free to pick and as such it creates an interesting mix:
install libruby2_1-2_1-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install libruby2_2-2_2-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install libstorage-ruby-2.25.20-4.2.x86_64@staging_Factory:H-x86_64 install ruby-2.2-89.3.x86_64@staging_Factory:H-x86_64 install ruby-common-2.1-101.1.noarch@staging_Factory:H-x86_64 install ruby2.1-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install ruby2.1-rubygem-gem2rpm-0.10.1-19.4.x86_64@staging_Factory:H-x86_64 install ruby2.1-rubygem-ruby-dbus-0.11.0-6.3.x86_64@staging_Factory:H-x86_64 install ruby2.1-stdlib-2.1.6-28.4.x86_64@staging_Factory:H-x86_64 install ruby2.2-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install ruby2.2-rubygem-fast_gettext-0.9.2-3.3.x86_64@staging_Factory:H-x86_64 install ruby2.2-stdlib-2.2.2-12.3.x86_64@staging_Factory:H-x86_64 install yast2-ruby-bindings-3.1.31-3.1.x86_64@staging_Factory:H-x86_64
yast2-ruby-bindings actually requires "rubygem(ruby:2.2.0:fast_gettext)" and I'm afraid this is what all yast modules need to do: require a *specific* rubygem. Any ruby-dbus just doesn't work ;(
That do not work, as Yast do not know which rubygem it need. It need rubygem for ruby used as systemwide one. So if system ruby is 2.2 it need 2.2 gem. If system ruby is 2.1 it need 2.1. I hope that it is handled automatic with `rubygem()` dependency. I see no way how we can do it with fixed version. Josef
I clearly can work around this for the staging DVDs - and I don't necessarly want 2 ruby versions in tumbleweed going forward, but we want to support the use case of having system ruby and bleeding edge ruby next to it, so I did this "2 ruby versions in stagings" on purpose.
Greetings, Stephan
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2
iEYEARECAAYFAlVJ4pQACgkQwFSBhlBjoJZVfACg3+af8d0FKEM+BX63O6AnYeOx Vu8AoI/aL4UMG/ZclpItN1IuwHD+YRUb =B1Qq -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVJ8K8ACgkQV5WwXbxWL0g6UACfUS0ZutTNjFHJf4qEtdJhukxA Q/4AoKhffQIlHY8BzIkMJcYQLDAWuYpi =ByMh -----END PGP SIGNATURE-----
participants (3)
-
Josef Reidinger
-
Klaus Kaempf
-
Stephan Kulow