[DRE-maint] Bug#1054752: ruby-barby: FTBFS: ERROR: Test "ruby3.1" failed: NoMethodError: undefined method `background_color=' for #<Barby::RmagickOutputter:0x00007febc3e42328 @barcode=#<RmagickTestBarcode:0x00007febc3e42350 @data="10110011100011110000">, @encoding="10110011100011110000">

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:19:01 BST 2023


Source: ruby-barby
Version: 0.6.8+dfsg-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> NoMethodError: undefined method `background_color=' for #<Barby::RmagickOutputter:0x00007febc3e42328 @barcode=#<RmagickTestBarcode:0x00007febc3e42350 @data="10110011100011110000">, @encoding="10110011100011110000">
> 
>         canvas = Magick::Image.new(full_width, full_height){ self.background_color = b }
>                                                                  ^^^^^^^^^^^^^^^^^^^
> Did you mean?  background=
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:56:in `block (2 levels) in to_image'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:56:in `initialize'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:56:in `new'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:56:in `block in to_image'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter.rb:122:in `with_options'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:54:in `to_image'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:42:in `to_blob'
>     /<<PKGBUILDDIR>>/debian/ruby-barby/usr/share/rubygems-integration/all/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:28:in `to_png'
>     /<<PKGBUILDDIR>>/test/outputter/rmagick_outputter_test.rb:35:in `block in <class:RmagickOutputterTest>'
> 
> 314 runs, 527 assertions, 0 failures, 3 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/bookland_test.rb" "test/codabar_test.rb" "test/code_128_test.rb" "test/code_25_iata_test.rb" "test/code_25_interleaved_test.rb" "test/code_25_test.rb" "test/code_39_test.rb" "test/code_93_test.rb" "test/ean13_test.rb" "test/ean8_test.rb" "test/outputter/cairo_outputter_test.rb" "test/outputter/html_outputter_test.rb" "test/outputter/pdfwriter_outputter_test.rb" "test/outputter/png_outputter_test.rb" "test/outputter/prawn_outputter_test.rb" "test/outputter/rmagick_outputter_test.rb" "test/outputter/svg_outputter_test.rb" "test/outputter_test.rb" "test/pdf_417_test.rb" "test/qr_code_test.rb" "test/upc_supplemental_test.rb" "test/test_helper.rb"  -v]
> 
> Tasks: TOP => default
> (See full trace by running task with --trace)
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2023/10/27/ruby-barby_0.6.8+dfsg-2_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231027;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231027&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ruby-extras-maintainers mailing list