Source: ruby-prawn Version: 2.3.0+dfsg-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: [email protected] Usertags: ruby3.0
Hi,
We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-prawn was found to fail to build in that situation.
To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.
Relevant part (hopefully):
> ArgumentError:
> Unknown type of gradient: [[0, 10], [15, 15], "FF0000", "0000FF", {}]
> # /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:441:in `block (6 levels)
> in <top (required)>'
> # /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:440:in `block (5 levels)
> in <top (required)>'
> # /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:439:in `block (4 levels)
> in <top (required)>'
> # /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:473:in `block (5 levels)
> in <top (required)>'
>
> Finished in 5.36 seconds (files took 0.42966 seconds to load)
> 855 examples, 3 failures, 23 pending
>
> Failed examples:
>
> rspec /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:454 # Prawn::Graphics
> Patterns gradient transformations when :apply_transformations is true uses
> the transformation stack to translate user co-ordinates to document
> co-ordinates required by /Pattern
> rspec /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:463 # Prawn::Graphics
> Patterns gradient transformations when :apply_transformations is false
> doesn't transform the gradient
> rspec /<<PKGBUILDDIR>>/spec/prawn/graphics_spec.rb:471 # Prawn::Graphics
> Patterns gradient transformations when :apply_transformations is unset
> doesn't transform the gradient and displays a warning
>
> ERROR: Test "ruby3.0" failed:
The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-prawn/ruby-prawn_2.3.0+dfsg-1+rebuild1633391110_amd64.build.txt
signature.asc
Description: PGP signature

