[DRE-maint] Bug#970852: ruby-qr4r: ftbfs with ruby-rqrcode 1.0 in experimental
Pirate Praveen
praveen at onenetbeyond.org
Thu Sep 24 10:24:53 BST 2020
Package: ruby-qr4r
Version: 0.4.1-1
Severity: important
Hi,
This package ftbfs with ruby-rqrcode 1.0 in experimental.
8) Error:
Qr4rTest#test_encode_with_size_and_level:
NoMethodError: undefined method `dark?' for
#<RQRCode::QRCode:0x000055c91705b078>
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:46:in
`block (3 levels) in build_qr_code'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:45:in
`each_index'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:45:in
`block (2 levels) in build_qr_code'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:44:in
`each_index'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:44:in
`block in build_qr_code'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:43:in
`tap'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:43:in
`build_qr_code'
/<<PKGBUILDDIR>>/debian/ruby-qr4r/usr/share/rubygems-integration/all/gems/qr4r-0.4.1/lib/qr4r.rb:35:in
`encode'
/<<PKGBUILDDIR>>/test/qr4r_test.rb:64:in
`test_encode_with_size_and_level'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:98:in `block (3 levels)
in run'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:195:in
`capture_exceptions'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:95:in `block (2 levels)
in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:270:in `time_it'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:94:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:211:in
`with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest/test.rb:93:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:1029:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:339:in `run_one_method'
/usr/lib/ruby/vendor_ruby/minitest.rb:326:in `block (2 levels) in
run'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `each'
/usr/lib/ruby/vendor_ruby/minitest.rb:325:in `block in run'
/usr/lib/ruby/vendor_ruby/minitest.rb:365:in `on_signal'
/usr/lib/ruby/vendor_ruby/minitest.rb:352:in `with_info_handler'
/usr/lib/ruby/vendor_ruby/minitest.rb:324:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `block in __run'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `map'
/usr/lib/ruby/vendor_ruby/minitest.rb:164:in `__run'
/usr/lib/ruby/vendor_ruby/minitest.rb:141:in `run'
/usr/lib/ruby/vendor_ruby/minitest.rb:68:in `block in autorun'
11 runs, 20 assertions, 0 failures, 8 errors, 0 skips
Full build log is
https://people.debian.org/~praveen/ruby-rqrcode-meta-build/buildlogs/ruby-qr4r.log
https://github.com/whomwah/rqrcode/releases/tag/v1.0.0 mentions
"Renames internal dark? method to checked?"
So the fix may be just renaming the method. Please update this package
to use the new method.
In around 2 weeks time, ruby-qrcode 1.0 will be uploaded to unstable
and severity of this bug will be raised to serious.
More information about the Pkg-ruby-extras-maintainers
mailing list