FS#74265 - [ruby-cairo] Upgrading cairo to 1.17.6-1 breaks ruby-cairo-1.17.5-6
Attached to Project:
Community Packages
Opened by Stanimir (korikori) - Tuesday, 29 March 2022, 14:56 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 29 March 2022, 21:50 GMT
Opened by Stanimir (korikori) - Tuesday, 29 March 2022, 14:56 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 29 March 2022, 21:50 GMT
|
Details
Hi - there's a new version of cairo, and it's already in
Arch. Installing it breaks anything using ruby-cairo and
ruby-gtk3 on my system. Example logs:
kori@tempest ~ ruby bin/ideapad-perf/ideapad-perf-tray.rb <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': /usr/lib/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/cairo-1.17.5/cairo.so: undefined symbol: cairo_xml_create_for_stream - /usr/lib/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/cairo-1.17.5/cairo.so (LoadError) from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/cairo-1.17.5/lib/cairo.rb:54:in `rescue in <top (required)>' from /usr/lib/ruby/gems/3.0.0/gems/cairo-1.17.5/lib/cairo.rb:50:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/cairo-gobject-3.4.5/lib/cairo-gobject.rb:17:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/gdk3-3.4.5/lib/gdk3.rb:18:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/gtk3-3.4.5/lib/gtk3.rb:18:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from bin/ideapad-perf/ideapad-perf-tray.rb:2:in `<main>' <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- 3.0/cairo.so (LoadError) from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/cairo-1.17.5/lib/cairo.rb:52:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/cairo-gobject-3.4.5/lib/cairo-gobject.rb:17:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/gdk3-3.4.5/lib/gdk3.rb:18:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from /usr/lib/ruby/gems/3.0.0/gems/gtk3-3.4.5/lib/gtk3.rb:18:in `<top (required)>' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require' from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:149:in `require' from bin/ideapad-perf/ideapad-perf-tray.rb:2:in `<main>' <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- gtk3 (LoadError) from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require' from bin/ideapad-perf/ideapad-perf-tray.rb:2:in `<main>' Additional info: ruby-cairo-1.17.5-6, ruby-3.0.3-1, cairo-1.17.6-1 Steps to reproduce: Upgrade cairo to the latest version and open anything that depends on ruby-gtk3/ruby-cairo. I opened a bug in the project's Github page (https://github.com/rcairo/rcairo/issues/74), and I was asked to try rebuilding the package - this resolved the issue on my system. I previously flagged the package as out of date, but maybe I should have opened a bug report instead? I apologize if I'm causing more work. |
This task depends upon
Closed by Anatol Pomozov (anatolik)
Tuesday, 29 March 2022, 21:50 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-cairo-1.17.5-7
Tuesday, 29 March 2022, 21:50 GMT
Reason for closing: Fixed
Additional comments about closing: ruby-cairo-1.17.5-7
Comment by
Anatol Pomozov (anatolik) - Tuesday,
29 March 2022, 21:17 GMT
Comment by Stanimir (korikori) -
Tuesday, 29 March 2022, 21:39 GMT
Comment by
Anatol Pomozov (anatolik) - Tuesday,
29 March 2022, 21:40 GMT
Comment by Stanimir (korikori) -
Tuesday, 29 March 2022, 21:49 GMT
ruby-cairo was rebuilt a week ago. ruby-cairo-1.17.5-7 is in the
repo. Could you please try it?
Yes - very sorry for bothering you, must have cached ruby-cairo's
page on my end as up until submitting this bug report, the visible
version on my end was 1.17.5-6 and I didn't realize I was already
using the updated version. Again, sorry for the trouble.
Just to clarify your statement - does ruby-cairo-1.17.5-7 fix your
problem?
Yes, ruby-cairo-1.17.5-7 fully resolves the problem. Thanks again.