[DRE-maint] Bug#919877: ruby-sprite-factory: FTBFS

Santiago Vila sanvila at debian.org
Sun Jan 20 12:21:20 GMT 2019


Package: src:ruby-sprite-factory
Version: 1.7.1-2
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=ruby --with ruby
   dh_update_autotools_config -i -O--buildsystem=ruby
   dh_auto_configure -i -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -i -O--buildsystem=ruby
	dh_ruby --build
   dh_ruby --build
   dh_auto_test -i -O--buildsystem=ruby
	dh_ruby --test
 fakeroot debian/rules binary-indep
dh binary-indep --buildsystem=ruby --with ruby
   dh_testroot -i -O--buildsystem=ruby
   dh_prep -i -O--buildsystem=ruby
   dh_auto_install -i -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-sprite-factory
   dh_ruby --install

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install files                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

install -d /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/bin
install -D -m755 /<<PKGBUILDDIR>>/bin/sf /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/bin/sf
install -d /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/library/rmagick.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/library/rmagick.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/library/image_magick.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/library/image_magick.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/library/chunky_png.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/library/chunky_png.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/layout/horizontal.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/horizontal.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/layout/vertical.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/vertical.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/layout/packed.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/packed.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/style.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/style.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory/runner.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/sprite_factory.rb /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory.rb
Rewriting shebang line of /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/bin/sf

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata                                        │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/share/rubygems-integration/all/specifications/sprite-factory-1.7.1.gemspec
/usr/bin/ruby2.5 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-sprite-factory/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 -S rake -f debian/ruby-tests.rake
/usr/bin/ruby2.5 -w  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/integration_test.rb" "test/library_test.rb" "test/runner_test.rb" "test/style_test.rb" -v
/<<PKGBUILDDIR>>/test/integration_test.rb:178: warning: assigned but unused variable - input
/<<PKGBUILDDIR>>/test/test_case.rb:109: warning: assigned but unused variable - img
Run options: -v --seed 31516

# Running:

SpriteFactory::LibraryTest#test_create_using_image_magick = 0.22 s = .
SpriteFactory::LibraryTest#test_create_using_rmagick = 0.06 s = .
SpriteFactory::LibraryTest#test_load_irregular_using_image_magick = 0.11 s = .
SpriteFactory::LibraryTest#test_create_using_chunkypng = 0.16 s = .
SpriteFactory::LibraryTest#test_load_irregular_using_chunkypng = 0.02 s = .
SpriteFactory::LibraryTest#test_load_irregular_using_rmagick = 0.00 s = .
SpriteFactory::LibraryTest#test_load_regular_using_image_magick = 0.11 s = .
SpriteFactory::LibraryTest#test_load_regular_using_rmagick = 0.01 s = .
SpriteFactory::LibraryTest#test_load_regular_using_chunkypng = 0.06 s = .
SpriteFactory::RunnerTest#test_defaults = 0.02 s = .
SpriteFactory::RunnerTest#test_images_are_filtered_correctly = 0.00 s = .
SpriteFactory::RunnerTest#test_images_are_secondary_sorted_on_psuedoclass = 0.01 s = .
SpriteFactory::RunnerTest#test_images_are_sorted_in_classname_order = 0.01 s = .
SpriteFactory::RunnerTest#test_use_specified_separator = 0.01 s = .
SpriteFactory::RunnerTest#test_default_margin = 0.00 s = .
SpriteFactory::RunnerTest#test_invalid_config = 0.02 s = .
SpriteFactory::RunnerTest#test_trailing_slash_on_input_is_ignored = 0.00 s = .
SpriteFactory::RunnerTest#test_default_padding = 0.00 s = .
SpriteFactory::RunnerTest#test_default_css_url = 0.00 s = .
SpriteFactory::StyleTest#test_sass = 0.00 s = .
SpriteFactory::StyleTest#test_scss = 0.00 s = .
SpriteFactory::StyleTest#test_css = 0.00 s = .
SpriteFactory::StyleTest#test_generate = 0.00 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite_with_exclude_array = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/horizontal.rb:12: warning: `*' after local variable or literal is interpreted as binary operator
/<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/horizontal.rb:12: warning: even though it seems like argument prefix
/<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_sprite_with_nocss = /<<PKGBUILDDIR>>/test/integration_test.rb:182: warning: File.exists? is a deprecated name, use File.exist? instead
/<<PKGBUILDDIR>>/test/integration_test.rb:183: warning: File.exists? is a deprecated name, use File.exist? instead
/<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
/<<PKGBUILDDIR>>/test/integration_test.rb:187: warning: File.exists? is a deprecated name, use File.exist? instead
/<<PKGBUILDDIR>>/test/integration_test.rb:188: warning: File.exists? is a deprecated name, use File.exist? instead
0.07 s = .
SpriteFactory::IntegrationTest#test_generate_sprite_using_images_in_subfolders = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.07 s = .
SpriteFactory::IntegrationTest#test_generate_sprites_with_hover_pseudo_class = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_vertical_regular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_packed_regular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/layout/packed.rb:116: warning: mismatched indentations at 'end' with 'module' at 3
/<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.09 s = .
SpriteFactory::IntegrationTest#test_generate_vertical_irregular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_irregular_sprite_with_padding = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite_with_fixed_size = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_irregular_sprite_with_fixed_size = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.07 s = .
SpriteFactory::IntegrationTest#test_generate_irregular_sprite_with_margin = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite_with_padding = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.09 s = .
SpriteFactory::IntegrationTest#test_generate_custom_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.05 s = .
SpriteFactory::IntegrationTest#test_generate_horizontal_regular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_with_sanitizer = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_horizontal_irregular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_regular_with_nocomments = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.09 s = .
SpriteFactory::IntegrationTest#test_generate_irregular_sprite_with_exclude_array = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.05 s = .
SpriteFactory::IntegrationTest#test_generate_packed_irregular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite_with_sassy_style = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_with_custom_glob = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_regular_sprite_with_margin = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.08 s = .
SpriteFactory::IntegrationTest#test_generate_irregular_sprite_with_sassy_style = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_sprite_from_other_formats = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.07 s = F
SpriteFactory::IntegrationTest#test_generate_irregular_sprite = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .
SpriteFactory::IntegrationTest#test_generate_with_custom_sanitizer = /<<PKGBUILDDIR>>/debian/ruby-sprite-factory/usr/lib/ruby/vendor_ruby/sprite_factory/runner.rb:62: warning: File.exists? is a deprecated name, use File.exist? instead
0.06 s = .

Finished in 2.718620s, 18.3917 runs/s, 111.0858 assertions/s.

  1) Failure:
SpriteFactory::IntegrationTest#test_generate_sprite_from_other_formats [/<<PKGBUILDDIR>>/test/test_case.rb:57]:
generated image does not match pregenerated reference:
 actual:   test/images/formats.png
 expected: test/images/reference/formats.png
 expected: test/images/reference/formats.png.
Expected |0.0 - 6.093295735239461e-05| (6.093295735239461e-05) to be <= 1.0e-07.

50 runs, 302 assertions, 1 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -w  "/usr/lib/ruby/vendor_ruby/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 "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-sprite-factory returned exit code 1
make: *** [debian/rules:15: binary-indep] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess returned exit status 2
--------------------------------------------------------------------------------

(The above is just how the build ends and not necessarily the most relevant part)

The build was made in my autobuilder with "dpkg-buildpackage -A"
and it also fails here:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-sprite-factory.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and affects,
so that this is still visible in the BTS web page for this package.

Thanks.



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