Public bug reported:

In disco, schleuder is currently failing on all arches because it can't
find ruby-mail 2.6.0:

https://pastebin.ubuntu.com/p/Tp3g2PFPp7/
...
/usr/lib/ruby/2.5.0/rubygems/dependency.rb:312:in `to_specs': Could not find 
'mail' (~> 2.6.0) - did find: [mail-2.7.1] (Gem::MissingSpecVersionError)

It's also failing on debian currently:
https://ci.debian.net/packages/s/schleuder/

I found these upstream:
- https://0xacab.org/schleuder/schleuder/merge_requests/128/diffs: commit that 
pinned ruby-mail to 2.6.0
- https://0xacab.org/schleuder/schleuder/issues/277: "ruby-mail 2.7.0 breaks 
unicode and various other formats
"

I hacked the gem spec to allow ruby-mail 2.7.1, which is what we have in
disco, and the test run had two failures:

https://pastebin.ubuntu.com/p/WZhZf42gJg/
...

Failures:

  1) user sends keyword x-resend with utf-8 body and umlauts
     Failure/Error: 
expect(message.parts[1].body.to_s.force_encoding(message.parts[1].charset)).to 
eql(content_body.encode(message.parts[1].charset))
     
       expected: "This is a test\nAnd here are some umlauts:ÄäÖöÜüß"
            got: "This is a test\r\nAnd here are some umlauts:ÄäÖöÜüß"
     
       (compared using eql?)
     
       Diff:
       
     # ./spec/schleuder/integration/keywords_spec.rb:1923:in `block (2 levels) 
in <top (required)>'
     # ./spec/spec_helper.rb:47:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:46:in `block (2 levels) in <top (required)>'

  2) user sends keyword x-resend with iso-8859-1 body
     Failure/Error: 
expect(message.parts[1].body.to_s.force_encoding(message.parts[1].charset)).to 
eql(content_body.encode(message.parts[1].charset))
     
       expected: "Hello again! \xA1Hola!\n"
            got: "Hello again! \xA1Hola!\r\n"
     
       (compared using eql?)
     
       Diff:
       
     # ./spec/schleuder/integration/keywords_spec.rb:1881:in `block (2 levels) 
in <top (required)>'
     # ./spec/spec_helper.rb:47:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:46:in `block (2 levels) in <top (required)>'

** Affects: schleuder (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: schleuder (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: dep8

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1812730

Title:
  DEP8 failure with ruby-mail 2.7.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/schleuder/+bug/1812730/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to