Summary: | dev-ruby/mail-2.7.1-r1 fails tests on MUSL | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Description
Agostino Sarubbo
2022-03-15 09:16:02 UTC
Created attachment 767089 [details]
build.log
build log and emerge --info
Error(s) that match a know pattern: Failure/Error: expect { Mail::SenderField.new('Mikel Lindsaar <mikel@test.lindsaar.net>, "Bob Smith" <bob@me.com>') }.to raise_error(Mail::Field::ParseError) Failure/Error: expect(mail.from).to eq 'John Doe <jdoe@machine(comment).example>' Failure/Error: hash = YAML.load(str) Failure/Error: raise Mail::Field::IncompleteParseError.new(Mail::AddressList, data, p) Failure/Error: yaml_hash = YAML.load(yaml) Failure/Error: yaml_output = YAML.load(yaml) Mail::Field::IncompleteParseError: The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09f1485536783ef9d2f7309ca29b899133162c43 commit 09f1485536783ef9d2f7309ca29b899133162c43 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-05 02:05:30 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-05 03:16:07 +0000 dev-ruby/mail: fix 2.7.x compat w/ newer psych (+ enable ruby31, enable ruby32) mail-2.7.x is still needed for Rails. It turns out that this got broken by newer Psych so tests were failing for ruby27 too. Backport the upstream patch (actually, use Debian's backport, done for us) which is pretty conversative and just adds a shim for newer Psych to set the needed attributes. Closes: https://bugs.gentoo.org/835322 Signed-off-by: Sam James <sam@gentoo.org> dev-ruby/mail/files/mail-2.7.1-psych-4.patch | 122 +++++++++++++++++++++++++++ dev-ruby/mail/mail-2.7.1-r1.ebuild | 4 +- dev-ruby/mail/mail-2.7.1-r2.ebuild | 37 ++++++++ 3 files changed, 161 insertions(+), 2 deletions(-) |