Your message dated Tue, 13 Mar 2018 22:09:34 +0200
with message-id <20180313200934.GA21628@localhost>
and subject line Re: Bug#888193: ruby-rmagick: FTBFS on ruby2.5: 
<FrozenError(<can't modify frozen Magick::Image>)>
has caused the Debian Bug report #888193,
regarding ruby-rmagick: FTBFS on ruby2.5: <FrozenError(<can't modify frozen 
Magick::Image>)>
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
888193: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888193
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-rmagick
Version: 2.16.0-2
Severity: important
User: debian-r...@lists.debian.org
Usertags: ruby2.5

Dear Maintainer,

This package fails to build against ruby2.5. Soon, there will
be a transition to ruby2.5, and this package will FTBFS in sid.

There may be some details on the wiki about common problems:
https://wiki.debian.org/Teams/Ruby/Ruby25Transition

Super confusing build log excerpt:


Pending: (Failures listed here are expected and do not affect your suite's 
status)

  1) Magick::Draw#marshal_dump #marshal_load marshals without an error
     # this spec fails on some versions of ImageMagick
     # ./spec/rmagick/draw_spec.rb:82

Finished in 0.27725 seconds (files took 0.12424 seconds to load)
36 examples, 0 failures, 1 pending

/usr/bin/ruby2.5 -w  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
"test/test_all_basic.rb" -v
/build/ruby-rmagick-2.16.0/test/Image2.rb:80: warning: assigned but unused 
variable - img
/build/ruby-rmagick-2.16.0/test/Image2.rb:305: warning: assigned but unused 
variable - format
/build/ruby-rmagick-2.16.0/test/Image2.rb:306: warning: assigned but unused 
variable - size
/build/ruby-rmagick-2.16.0/test/Image2.rb:307: warning: assigned but unused 
variable - geometry
/build/ruby-rmagick-2.16.0/test/Image2.rb:308: warning: assigned but unused 
variable - image_class
/build/ruby-rmagick-2.16.0/test/Image2.rb:401: warning: `-' after local 
variable or literal is interpreted as binary operator
/build/ruby-rmagick-2.16.0/test/Image2.rb:401: warning: even though it seems 
like unary operator
/build/ruby-rmagick-2.16.0/test/Image2.rb:536: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/Image2.rb:537: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/Image2.rb:538: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/Image2.rb:539: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/Image3.rb:683: warning: assigned but unused 
variable - img
/build/ruby-rmagick-2.16.0/test/ImageList1.rb:295: warning: assigned but unused 
variable - cur
/build/ruby-rmagick-2.16.0/test/ImageList1.rb:332: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/ImageList1.rb:333: warning: assigned but unused 
variable - res
/build/ruby-rmagick-2.16.0/test/Import_Export.rb:12: warning: assigned but 
unused variable - res
/build/ruby-rmagick-2.16.0/test/Magick.rb:312: warning: assigned but unused 
variable - img
2.5.0
String
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
Image1_UT: 
  test_adaptive_blur:                                   .: (0.002072)
  test_adaptive_blur_channel:                           .: (0.002713)
  test_adaptive_resize:                                 .: (0.000529)
  test_adaptive_sharpen:                                .: (0.000895)
  test_adaptive_sharpen_channel:                        .: (0.001748)
  test_adaptive_threshold:                              .: (0.000333)
  test_add_compose_mask:                                .: (0.000255)
  test_add_noise:                                       .: (0.008137)
  test_add_noise_channel:                               .: (0.007935)
  test_affine_matrix:                                   .: (0.001704)
  test_alpha:                                           F
===============================================================================
Failure: test_alpha(Image1_UT)
/build/ruby-rmagick-2.16.0/test/Image1.rb:172:in `test_alpha'
     169:     assert_nothing_raised { @img.alpha Magick::ResetAlphaChannel }
     170:     assert_nothing_raised { @img.alpha Magick::SetAlphaChannel }
     171:     @img.freeze
  => 172:     assert_raise(FreezeError) { @img.alpha Magick::SetAlphaChannel }
     173:   end
     174: 
     175:   def test_auto_gamma

<RuntimeError> expected but was
<FrozenError(<can't modify frozen Magick::Image>)>

diff:
? Ru   ntimeError                                     
? Froze          (<can't modify frozen Magick::Image>)
===============================================================================
: (0.052752)
  test_alpha_compat:                                    .: (0.000186)
  test_auto_gamma:                                      .: (0.012168)
  test_auto_level:                                      .: (0.000255)
  test_auto_orient:                                     .: (0.000143)
  test_bilevel_channel:                                 .: (0.000527)
  test_black_threshold:                                 .: (0.000445)



...



Finished in 42.696937665 seconds.
------
385 tests, 232948 assertions, 15 failures, 0 errors, 0 pendings, 0 omissions, 0 
notifications
96.1039% passed
------
9.02 tests/s, 5455.85 assertions/s
rake aborted!
Command failed with status (1): [ruby -w  
"/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_all_basic.rb" 
-v]

Tasks: TOP => default
(See full trace by running task with --trace)
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-rmagick-2.16.0/debian/tmp 
returned exit code 1
debian/rules:6: recipe for target 'binary' failed
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Full build log:
https://rbuild.fau.xxx/2018-01-23/ruby-rmagick.log

Please fix it!

Cheers,
Chris.

--- End Message ---
--- Begin Message ---
Version: 2.16.0-3

On Sat, Mar 10, 2018 at 12:12:30PM +0100, Hector Oron wrote:
> On Tue, Jan 23, 2018 at 08:38:43PM +0000, Chris West (Faux) wrote:
> > Source: ruby-rmagick
> > Version: 2.16.0-2
> > Severity: important
> > User: debian-r...@lists.debian.org
> > Usertags: ruby2.5
> > 
> > Dear Maintainer,
> > 
> > This package fails to build against ruby2.5. Soon, there will
> > be a transition to ruby2.5, and this package will FTBFS in sid.
> > 
> > There may be some details on the wiki about common problems:
> > https://wiki.debian.org/Teams/Ruby/Ruby25Transition
> > 
> > Super confusing build log excerpt:
> > 
> > 
> > Pending: (Failures listed here are expected and do not affect your suite's 
> > status)
> > 
> >   1) Magick::Draw#marshal_dump #marshal_load marshals without an error
> >      # this spec fails on some versions of ImageMagick
> >      # ./spec/rmagick/draw_spec.rb:82
> > 
> > Finished in 0.27725 seconds (files took 0.12424 seconds to load)
> > 36 examples, 0 failures, 1 pending
> > 
> > /usr/bin/ruby2.5 -w  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
> > "test/test_all_basic.rb" -v
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:80: warning: assigned but unused 
> > variable - img
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:305: warning: assigned but unused 
> > variable - format
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:306: warning: assigned but unused 
> > variable - size
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:307: warning: assigned but unused 
> > variable - geometry
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:308: warning: assigned but unused 
> > variable - image_class
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:401: warning: `-' after local 
> > variable or literal is interpreted as binary operator
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:401: warning: even though it 
> > seems like unary operator
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:536: warning: assigned but unused 
> > variable - res
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:537: warning: assigned but unused 
> > variable - res
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:538: warning: assigned but unused 
> > variable - res
> > /build/ruby-rmagick-2.16.0/test/Image2.rb:539: warning: assigned but unused 
> > variable - res
> > /build/ruby-rmagick-2.16.0/test/Image3.rb:683: warning: assigned but unused 
> > variable - img
> > /build/ruby-rmagick-2.16.0/test/ImageList1.rb:295: warning: assigned but 
> > unused variable - cur
> > /build/ruby-rmagick-2.16.0/test/ImageList1.rb:332: warning: assigned but 
> > unused variable - res
> > /build/ruby-rmagick-2.16.0/test/ImageList1.rb:333: warning: assigned but 
> > unused variable - res
> > /build/ruby-rmagick-2.16.0/test/Import_Export.rb:12: warning: assigned but 
> > unused variable - res
> > /build/ruby-rmagick-2.16.0/test/Magick.rb:312: warning: assigned but unused 
> > variable - img
> > 2.5.0
> > String
> > Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
> > Started
> > Image1_UT: 
> >   test_adaptive_blur:                                       .: (0.002072)
> >   test_adaptive_blur_channel:                               .: (0.002713)
> >   test_adaptive_resize:                                     .: (0.000529)
> >   test_adaptive_sharpen:                            .: (0.000895)
> >   test_adaptive_sharpen_channel:                    .: (0.001748)
> >   test_adaptive_threshold:                          .: (0.000333)
> >   test_add_compose_mask:                            .: (0.000255)
> >   test_add_noise:                                   .: (0.008137)
> >   test_add_noise_channel:                           .: (0.007935)
> >   test_affine_matrix:                                       .: (0.001704)
> >   test_alpha:                                               F
> > ===============================================================================
> > Failure: test_alpha(Image1_UT)
> > /build/ruby-rmagick-2.16.0/test/Image1.rb:172:in `test_alpha'
> >      169:     assert_nothing_raised { @img.alpha Magick::ResetAlphaChannel }
> >      170:     assert_nothing_raised { @img.alpha Magick::SetAlphaChannel }
> >      171:     @img.freeze
> >   => 172:     assert_raise(FreezeError) { @img.alpha 
> > Magick::SetAlphaChannel }
> >      173:   end
> >      174: 
> >      175:   def test_auto_gamma
> > 
> > <RuntimeError> expected but was
> > <FrozenError(<can't modify frozen Magick::Image>)>
> > 
> > diff:
> > ? Ru   ntimeError                                     
> > ? Froze          (<can't modify frozen Magick::Image>)
> > ===============================================================================
> > : (0.052752)
> >   test_alpha_compat:                                        .: (0.000186)
> >   test_auto_gamma:                                  .: (0.012168)
> >   test_auto_level:                                  .: (0.000255)
> >   test_auto_orient:                                 .: (0.000143)
> >   test_bilevel_channel:                                     .: (0.000527)
> >   test_black_threshold:                                     .: (0.000445)
> > 
> > 
> > 
> > ...
> > 
> > 
> > 
> > Finished in 42.696937665 seconds.
> > ------
> > 385 tests, 232948 assertions, 15 failures, 0 errors, 0 pendings, 0 
> > omissions, 0 notifications
> > 96.1039% passed
> > ------
> > 9.02 tests/s, 5455.85 assertions/s
> > rake aborted!
> > Command failed with status (1): [ruby -w  
> > "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" 
> > "test/test_all_basic.rb" -v]
> > 
> > Tasks: TOP => default
> > (See full trace by running task with --trace)
> > ERROR: Test "ruby2.5" failed. Exiting.
> > dh_auto_install: dh_ruby --install /build/ruby-rmagick-2.16.0/debian/tmp 
> > returned exit code 1
> > debian/rules:6: recipe for target 'binary' failed
> > make: *** [binary] Error 1
> > dpkg-buildpackage: error: debian/rules binary subprocess returned exit 
> > status 2
> 
> 
> I have been unable to reproduce this issue locally, please re-try on your end 
> and consider at least downgrading severity to important.

The bug is in the version Chris reported to be broken.

It seems Balint fixed the issue but didn't close the bug:

ruby-rmagick (2.16.0-3) unstable; urgency=medium

  * Team upload

  [ Antonio Terceiro ]
  * Remove myself from Uploaders:
  * Skip another 2 failing tests

  [ Balint Reczey ]
  * Fix tests with Ruby 2.5

 -- Balint Reczey <rbal...@ubuntu.com>  Tue, 20 Feb 2018 16:00:44 +0700


> Regards

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
Pkg-ruby-extras-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to