[DRE-maint] Bug#897464: ruby-cairo: FTBFS: ERROR: Test "ruby2.5" failed: Error: test: time(PDFSurfaceTest::#set_metadata::modified date): Poppler::Error::Invalid: Failed to load document

Lucas Nussbaum lucas at debian.org
Wed May 2 21:19:14 BST 2018


Source: ruby-cairo
Version: 1.15.12-1
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20180502 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> Error: test: time(PDFSurfaceTest::#set_metadata::modified date): Poppler::Error::Invalid: Failed to load document
> /<<PKGBUILDDIR>>/test/test_pdf_surface.rb:9:in `new'
> /<<PKGBUILDDIR>>/test/test_pdf_surface.rb:9:in `create_pdf'
> /<<PKGBUILDDIR>>/test/test_pdf_surface.rb:113:in `block (3 levels) in <class:PDFSurfaceTest>'
> ===============================================================================
> ......O
> ===============================================================================
> Omission: Only for QuartzImage device available [test_quartz_image_surface(QuartzImageSurfaceTest)]
> /<<PKGBUILDDIR>>/test/cairo-test-utils.rb:40:in `only_surface'
> ===============================================================================
> ..............................................O
> ===============================================================================
> Omission: Only for XML device available [test_new(XMLDeviceTest)]
> /<<PKGBUILDDIR>>/test/cairo-test-utils.rb:34:in `only_device'
> ===============================================================================
> O
> ===============================================================================
> Omission: Only for XML device available [test_new_with_block(XMLDeviceTest)]
> /<<PKGBUILDDIR>>/test/cairo-test-utils.rb:34:in `only_device'
> ===============================================================================
> O
> ===============================================================================
> Omission: Only for XML device available [test_new(XMLSurfaceTest)]
> /<<PKGBUILDDIR>>/test/cairo-test-utils.rb:40:in `only_surface'
> ===============================================================================
> 
> Finished in 0.055312106 seconds.
> -------------------------------------------------------------------------------
> 101 tests, 160 assertions, 0 failures, 12 errors, 0 pendings, 4 omissions, 0 notifications
> 87.6289% passed
> -------------------------------------------------------------------------------
> 1826.00 tests/s, 2892.68 assertions/s/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb: warning: instance variable @finish not initialized
> 
> rake aborted!
> Command failed with status (1): [ruby -w -I"test" -rcairo-test-utils -rtest/unit  "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_color.rb" "test/test_constants.rb" "test/test_context.rb" "test/test_exception.rb" "test/test_font_extents.rb" "test/test_font_face.rb" "test/test_font_options.rb" "test/test_image_surface.rb" "test/test_paper.rb" "test/test_pdf_surface.rb" "test/test_quartz_image_surface.rb" "test/test_raster_source_pattern.rb" "test/test_recording_surface.rb" "test/test_region.rb" "test/test_scaled_font.rb" "test/test_script_device.rb" "test/test_script_surface.rb" "test/test_surface.rb" "test/test_svg_surface.rb" "test/test_tee_surface.rb" "test/test_text_cluster.rb" "test/test_text_extents.rb" "test/test_text_to_glyphs_data.rb" "test/test_xml_device.rb" "test/test_xml_surface.rb" ]
> 
> Tasks: TOP => default => test
> (See full trace by running task with --trace)
> ERROR: Test "ruby2.5" failed: 

The full build log is available from:
   http://aws-logs.debian.net/2018/05/02/ruby-cairo_1.15.12-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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