[DRE-maint] Bug#806133: origami-pdf: pdfcop crashes since ruby-defaults change to 2.2

Martin Pitt martin.pitt at ubuntu.com
Tue Nov 24 16:29:09 UTC 2015


Package: origami-pdf
Severity: serious
Version: 1.2.7-2
User: autopkgtest-devel at lists.alioth.debian.org
Usertags: autopkgtest

Hello,

origami-pdf's tests [1] started failing since ruby-defaults was
switched from 2.1 to 2.2:

| adt-run [13:15:30]: test command1: pdfcop samples/digsig/signed.pdf
| adt-run [13:15:30]: test command1: [-----------------------
| /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': superclass mismatch for class Date (TypeError)
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/date.rb:3:in `<top (required)>'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/psych/deprecated.rb:1:in `<top (required)>'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/psych.rb:12:in `<top (required)>'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/yaml.rb:5:in `<top (required)>'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
| 	from /usr/bin/pdfcop:40:in `<main>'
| adt-run [13:15:30]: test command1: -----------------------]
| adt-run [13:15:31]: test command1:  - - - - - - - - - - results - - - - - - - - - -
| command1             FAIL non-zero exit status 1

This is trivially reproducible by installing origami-pdf and running
it on any .pdf file, and you get the same crash.

Thanks,

Martin

[1] https://ci.debian.net/packages/o/origami-pdf/unstable/amd64/

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20151124/debc2fc4/attachment.sig>


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