On 19/01/10 at 13:34 +1300, Lucas Nussbaum wrote: > Package: libcairo-ruby1.9 > Version: 1.8.0-1 > Severity: serious > User: debian-r...@lists.debian.org > Usertags: ruby190transition > > Hi, > > Ruby 1.9.0 is going away in Squeeze, replaced by Ruby 1.9.1. This > transition is made mandatory by API changes upstream. > > Your package currently ships some files in /usr/lib/ruby/1.9.0. This > will no longer work with 1.9.1. > > You can either: > - port your package to Ruby 1.9.1 > - drop the Ruby 1.9.X binary package > > There is (or will be) more information on > http://wiki.debian.org/Ruby191Transition > > Thanks
The test suite fails with 1.9.1, so I'm going to disable the 1.9.1 package for now. > Loaded suite /tmp/run-test > Started > E.EE....E.....FFF...........EE......... > Finished in 0.022698 seconds. > > 1) Error: > test_text_cluster_flags(ConstantsTest): > NoMethodError: undefined method `assert_true' for > #<ConstantsTest:0x00000001349098> > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_constants.rb:11:in > `test_text_cluster_flags' > > 2) Error: > test_new_and_destroy(ContextTest): > ArgumentError: invalid byte sequence in UTF-8 > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_context.rb:15:in > `test_new_and_destroy' > > 3) Error: > test_new_with_block(ContextTest): > ArgumentError: invalid byte sequence in UTF-8 > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_context.rb:23:in > `block in test_new_with_block' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_context.rb:21:in > `initialize' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_context.rb:21:in > `new' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_context.rb:21:in > `test_new_with_block' > > 4) Error: > test_new_symbols_since_1_7_2(ExceptionTest): > NoMethodError: undefined method `assert_true' for > #<ExceptionTest:0x0000000130d550> > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_exception.rb:21:in > `assert_defined' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_exception.rb:10:in > `test_new_symbols_since_1_7_2' > > 5) Failure: > test_user_font_face_callback(FontFaceTest) > [/home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_font_face.rb:105]: > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, "t", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "e", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "x", Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, "t"], > [Cairo::ScaledFont, "e"], > [Cairo::ScaledFont, "x"], > [Cairo::ScaledFont, "t"]], > [[], [], 1]]> expected but was > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, 116, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 101, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 120, Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, 116], > [Cairo::ScaledFont, 101], > [Cairo::ScaledFont, 120], > [Cairo::ScaledFont, 116]], > [[], [], 1]]>. > > 6) Failure: > test_user_font_face_class(FontFaceTest) > [/home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_font_face.rb:167]: > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, "t", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "e", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "x", Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, "t"], > [Cairo::ScaledFont, "e"], > [Cairo::ScaledFont, "x"], > [Cairo::ScaledFont, "t"]], > [[], [], 1]]> expected but was > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, 116, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 101, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 120, Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, 116], > [Cairo::ScaledFont, 101], > [Cairo::ScaledFont, 120], > [Cairo::ScaledFont, 116]], > [[], [], 1]]>. > > 7) Failure: > test_user_font_face_class_and_callback(FontFaceTest) > [/home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_font_face.rb:223]: > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, "t", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "e", Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, "x", Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, "t"], > [Cairo::ScaledFont, "e"], > [Cairo::ScaledFont, "x"], > [Cairo::ScaledFont, "t"]], > [], > [], > [], > [], > [[], [], 1]]> expected but was > <[[[Cairo::ScaledFont, Cairo::Context, Cairo::FontExtents]], > [[Cairo::ScaledFont, 116, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 101, Cairo::Context, Cairo::TextExtents], > [Cairo::ScaledFont, 120, Cairo::Context, Cairo::TextExtents]], > [[Cairo::ScaledFont, "text", Cairo::UserFontFace::TextToGlyphsData]], > [[Cairo::ScaledFont, 116], > [Cairo::ScaledFont, 101], > [Cairo::ScaledFont, 120], > [Cairo::ScaledFont, 116]], > [], > [], > [], > [], > [[], [], 1]]>. > > 8) Error: > test_new(SurfaceTest): > ArgumentError: invalid byte sequence in UTF-8 > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_surface.rb:10:in > `test_new' > > 9) Error: > test_new_with_block(SurfaceTest): > ArgumentError: invalid byte sequence in UTF-8 > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_surface.rb:18:in > `block in test_new_with_block' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_surface.rb:17:in > `initialize' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_surface.rb:17:in > `new' > > /home/lucas/dev/pkg-ruby-extras/build-area/libcairo-ruby-1.8.1/test/test_surface.rb:17:in > `test_new_with_block' > > 39 tests, 74 assertions, 3 failures, 6 errors, 0 skips > <main>: [BUG] Segmentation fault > ruby 1.9.1p378 (2010-01-10 revision 26273) [x86_64-linux] > > -- control frame ---------- > c:0001 p:0000 s:0002 b:0002 l:000c88 d:000c88 TOP > --------------------------- > -- Ruby level backtrace information----------------------------------------- > > -- C level backtrace information ------------------------------------------- > 0x7ffc3ad2d8d1 /usr/lib/libruby-1.9.1.so.1.9(rb_vm_bugreport+0x51) > [0x7ffc3ad2d8d1] > 0x7ffc3ac556c4 /usr/lib/libruby-1.9.1.so.1.9 [0x7ffc3ac556c4] > 0x7ffc3ac55833 /usr/lib/libruby-1.9.1.so.1.9(rb_bug+0xb3) [0x7ffc3ac55833] > 0x7ffc3acd7cc5 /usr/lib/libruby-1.9.1.so.1.9 [0x7ffc3acd7cc5] > 0x7ffc3a9f7990 /lib/libpthread.so.0 [0x7ffc3a9f7990] > 0x7ffc3acdddf8 /usr/lib/libruby-1.9.1.so.1.9(st_lookup+0x28) [0x7ffc3acdddf8] > 0x7ffc3ad1a56f /usr/lib/libruby-1.9.1.so.1.9 [0x7ffc3ad1a56f] > 0x7ffc3ad1a5d3 /usr/lib/libruby-1.9.1.so.1.9(rb_get_method_body+0x23) > [0x7ffc3ad1a5d3] > 0x7ffc3ad1e69d /usr/lib/libruby-1.9.1.so.1.9(rb_funcall+0x12d) > [0x7ffc3ad1e69d] > 0x7ffc396bcb66 /usr/lib/ruby/1.9.1/x86_64-linux/cairo.so [0x7ffc396bcb66] > 0x7ffc3ac5707b /usr/lib/libruby-1.9.1.so.1.9(rb_rescue2+0x16b) > [0x7ffc3ac5707b] > 0x7ffc3ac56efd /usr/lib/libruby-1.9.1.so.1.9(rb_protect+0x15d) > [0x7ffc3ac56efd] > 0x7ffc396bedb7 > /usr/lib/ruby/1.9.1/x86_64-linux/cairo.so(rb_cairo__invoke_callback+0x17) > [0x7ffc396bedb7] > 0x7ffc396bca2e /usr/lib/ruby/1.9.1/x86_64-linux/cairo.so [0x7ffc396bca2e] > 0x7ffc39441eb6 /usr/lib/libcairo.so.2 [0x7ffc39441eb6] > 0x7ffc3944288b /usr/lib/libcairo.so.2 [0x7ffc3944288b] > 0x7ffc39442db8 /usr/lib/libcairo.so.2 [0x7ffc39442db8] > 0x7ffc3947efdd /usr/lib/libcairo.so.2 [0x7ffc3947efdd] > 0x7ffc3947f1e2 /usr/lib/libcairo.so.2 [0x7ffc3947f1e2] > 0x7ffc39443449 /usr/lib/libcairo.so.2 [0x7ffc39443449] > 0x7ffc3944367d /usr/lib/libcairo.so.2 [0x7ffc3944367d] > 0x7ffc394514da /usr/lib/libcairo.so.2(cairo_surface_show_page+0x2a) > [0x7ffc394514da] > 0x7ffc39443868 /usr/lib/libcairo.so.2 [0x7ffc39443868] > 0x7ffc394531b7 /usr/lib/libcairo.so.2(cairo_surface_finish+0x37) > [0x7ffc394531b7] > 0x7ffc39453235 /usr/lib/libcairo.so.2(cairo_surface_destroy+0x55) > [0x7ffc39453235] > 0x7ffc3943c125 /usr/lib/libcairo.so.2 [0x7ffc3943c125] > 0x7ffc39436751 /usr/lib/libcairo.so.2(cairo_destroy+0x91) [0x7ffc39436751] > 0x7ffc3ac64896 /usr/lib/libruby-1.9.1.so.1.9 [0x7ffc3ac64896] > 0x7ffc3ac64a5f /usr/lib/libruby-1.9.1.so.1.9 [0x7ffc3ac64a5f] > 0x7ffc3ac64c86 > /usr/lib/libruby-1.9.1.so.1.9(rb_gc_call_finalizer_at_exit+0x1b6) > [0x7ffc3ac64c86] > 0x7ffc3ac58edc /usr/lib/libruby-1.9.1.so.1.9(ruby_cleanup+0x15c) > [0x7ffc3ac58edc] > 0x7ffc3ac5906e /usr/lib/libruby-1.9.1.so.1.9(ruby_run_node+0x3e) > [0x7ffc3ac5906e] > 0x40099b ruby1.9.1(main+0x4b) [0x40099b] > 0x7ffc39deeabd /lib/libc.so.6(__libc_start_main+0xfd) [0x7ffc39deeabd] > 0x400889 ruby1.9.1 [0x400889] > > [NOTE] > You may encounter a bug of Ruby interpreter. Bug reports are welcome. > For details: http://www.ruby-lang.org/bugreport.html > > Aborted -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org