[DRE-maint] Bug#1019670: ruby-sprite-factory: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: RuntimeError: no image files found

Antonio Terceiro terceiro at debian.org
Tue Sep 13 13:02:37 BST 2022


Source: ruby-sprite-factory
Version: 1.7.1-4
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-sprite-factory with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
> RuntimeError: no image files found
>     /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:41:in `run!'
>     /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory.rb:14:in `run!'
>     /<<PKGBUILDDIR>>/test/integration_test.rb:185:in `block in test_generate_sprite_with_nocss'
>     /<<PKGBUILDDIR>>/test/test_case.rb:67:in `with_clean_output'
>     /<<PKGBUILDDIR>>/test/integration_test.rb:180:in `test_generate_sprite_with_nocss'
> 
>  18) Failure:
> SpriteFactory::RunnerTest#test_images_are_filtered_correctly [/<<PKGBUILDDIR>>/test/runner_test.rb:225]:
> Expected: [nil, nil, nil]
>   Actual: []
> 
>  19) Failure:
> SpriteFactory::RunnerTest#test_invalid_config [/<<PKGBUILDDIR>>/test/runner_test.rb:172]:
> Expected /no\ output\ file\ specified/ to match "no image files found".
> 
> 50 runs, 186 assertions, 6 failures, 13 errors, 0 skips
> rake aborted!
> Command failed with status (1): [ruby -w /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb "test/integration_test.rb" "test/library_test.rb" "test/runner_test.rb" "test/style_test.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:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-sprite-factory/ruby-sprite-factory_1.7.1-4+rebuild1663008231_amd64-2022-09-12T18:43:52Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

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 marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20220913/15a75883/attachment.sig>


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