Your message dated Tue, 05 Feb 2019 22:49:55 +0000
with message-id <e1gr9xp-000bun...@fasolo.debian.org>
and subject line Bug#920031: fixed in schleuder 3.3.0-8
has caused the Debian Bug report #920031,
regarding schleuder: DEP8 failures with ruby-mail 2.7.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
920031: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920031
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: schleuder
Version: 2.7.1+dfsg1-1
Severity: normal

Dear Maintainer,

The DEP8 tests from schleuder are currently failing on all arches
because it can't find ruby-mail 2.6.0:

https://ci.debian.net/packages/s/schleuder/

The test output doesn't show it, but here is a manual run in an Ubuntu
Disco LXD container:

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)

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 Ubuntu Disco and Debian Testing, 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)>'

--- End Message ---
--- Begin Message ---
Source: schleuder
Source-Version: 3.3.0-8

We believe that the bug you reported is fixed in the latest version of
schleuder, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 920...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Georg Faerber <ge...@riseup.net> (supplier of updated schleuder package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 05 Feb 2019 22:32:16 +0000
Source: schleuder
Architecture: source
Version: 3.3.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Extras Maintainers 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Georg Faerber <ge...@riseup.net>
Closes: 919072 920031
Changes:
 schleuder (3.3.0-8) unstable; urgency=medium
 .
   * debian/control:
     - Bump required versions of ruby-sinatra and ruby-sinatra-contrib to
       >= 2~.
     - Add missing dependencies on ruby-mail >= 2.7.1~.
   * debian/patches:
     - Pull in upstream patch to strip HTML-part of
       multipart/alternative-messages if it contains keywords. The keywords
       aren't parsed, because Schleuder doesn't touch any HTML. In order to
       prevent the keywords from being disclosed to third parties, for example
       via resent messages, the HTML-part is completely dropped. This issue
       should be considered privacy-sensitive.
     - Add patch to disable a flaky spec, which tests signed-inline cleartext
       messages. Since some time, this formerly pretty stable spec became
       flaky. It it still unclear what causes this, ruby-mail 2.7.1 might be
       somehow related. (Closes: #919072)
     - Add patch which fixes the expected output of one spec. This spec tests
       that mails with broken UTF-8 don't raise an error. However, the fixture
       mail is empty. Schleuder rightfully doesn't deliver the mail, but
       reports it as empty. This problem became only obvious by now, using
       ruby-mail 2.7.1.
     - Add patch to bump the dependency on the mail gem, as both unstable and
       testing ship a newer major version. (Closes: #920031)
     - Add patch to bump the dependency on the sinatra and sinatra-contrib
       gems, as both unstable and testing ship newer major versions.
       This patch, and the three before, should fix the current FTBFS
       situation, and allow Schleuder to migrate to testing before the upcoming
       soft freeze.
     - Add missing .patch extension to one patch.
     - Refresh for new release.
Checksums-Sha1:
 5af3efdbc2f21d9ea5902547f5b863bac16caf88 2358 schleuder_3.3.0-8.dsc
 8282a562c4526b1b943bfbb957ee7a5196be5a0d 22308 schleuder_3.3.0-8.debian.tar.xz
 b7bc44c721cf0f15f99e3b1549c018b80a82feea 10026 
schleuder_3.3.0-8_amd64.buildinfo
Checksums-Sha256:
 2b1f90047a951349af79355463f74ce4e1c3768f08ea2a0ca54b8d02c6c2fb83 2358 
schleuder_3.3.0-8.dsc
 648ec5d36667c41ffc0ab82dc33018d28f613a7447daa0273a6c86f14953afb5 22308 
schleuder_3.3.0-8.debian.tar.xz
 9b3c91a77762cfb90fdaa24c056631030310777300d866579a76c01c7ef72dce 10026 
schleuder_3.3.0-8_amd64.buildinfo
Files:
 73a34907f280afbbcfe850ca5b1b60c3 2358 mail optional schleuder_3.3.0-8.dsc
 954636259bf5320dc798c6267beb5b0b 22308 mail optional 
schleuder_3.3.0-8.debian.tar.xz
 5cbec40e2d533382b3faf84968ef98db 10026 mail optional 
schleuder_3.3.0-8_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE4p3Q++yWB9ljva4NWtdbQU6kFmcFAlxaEFQACgkQWtdbQU6k
FmcZ+BAAhyJ0BVUyBYX86FPdljq89q/54UrS2V/inKIJ3qW3cwqfKvAL09MAi/3r
dkQXGShpqXgLhFC1vd4CLi6F2rVZWQN6oIGIZqBoZKepxdNX72zXIwm1vDZqcny/
YJ8qNO/P7ZIgwsY2GKpfv42fJv0BknWP7miTH6VH+DkeGSnhcOJ3qIQqPbsnRCCD
rHyEc8AKi/BxJM34solxan7AtP3UHtqdoXkyKqxbp1ixQAoP9AsEEbfnqf3VqBGV
BYfi7kWnz/Er0ynKBEZmgbcgUf8E5L+IqcFkuM56dSrQo3uHBb5gWBuv7ZzJ84Xe
EzQCxXOm0cUgTsrNOugni2BY5B+iSFXeXtsVe1FRkGvoDRlHO+MAGAT0TOgXAWDV
cEILCz6/puSaN2//pV0cZXDpu/6M0Xodni2+hCt9vsNuxfw1L6O7YJhSnal4cdJw
3w6CzW2YDVkXHacA2tMpT5tjZYFUgLUC3ZzzFEA+Y0Y1vzKR4dl2sOo47z+oGLTA
I0Cd3n7YhHgPKX1Q83ITw8HnTJIRRXzYx89BBGgLNc3KtkoITfgNxBCwKdb/AuW8
pYegs8nNVCQYV6l6KY9IdorXd63xCBc+6WqTDnAgW7UPPLFnZ06NWqgVv99mJzDd
d0o//UFEyQMHAfhuqrRnLpWjk27yF3jXCN9OdDKx2H2lp96KBGE=
=w4Az
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to