https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-ruby/rmagick-4.3.0 fails tests (PYTHON-3.12-SYSTEM). Discovered on: amd64 (internal ref: python-3.12_tinderbox) NOTE: (PYTHON-3.12-SYSTEM) in the summary means that the bug was found on a machine that runs python-3.12 but this bug MAY or MAY NOT BE related to the new python version
Created attachment 867550 [details] build.log build log and emerge --info
Error(s) that match a know pattern: Failure/Error: expect(font.to_s).to match(/^name=.+, description=.+, family=.+, style=.+, stretch=.+, weight=.+, encoding=.*, foundry=.*, format=.*$/) Failure/Error: font_name = Magick.fonts.first.name Failure/Error: options.font = Magick.fonts.first.name NoMethodError:
I guess this happens when no fonts are installed. But the specs don't require a specific font and I'm not sure what font we should make a dependency in this case.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d355423bffa91919cf4d50150ecf693ef7f053 commit 61d355423bffa91919cf4d50150ecf693ef7f053 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-08-29 14:53:08 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-08-29 16:53:50 +0000 dev-ruby/rmagick: fix tests by requiring a ttf font Closes: https://bugs.gentoo.org/912009 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/rmagick/rmagick-4.3.0.ebuild | 2 +- dev-ruby/rmagick/rmagick-5.3.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
*** Bug 913239 has been marked as a duplicate of this bug. ***
Adding virtual/ttf-fonts does not appear to help.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46adedb3d0c9c487fb1f8112be072eec313ab070 commit 46adedb3d0c9c487fb1f8112be072eec313ab070 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2023-08-30 18:14:27 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2023-08-31 05:05:24 +0000 dev-ruby/rmagick: use font that imagemagick knows about Imagemagick only recognizes fonts that are listed in its type.xml. Use a font from this list to ensure tests pass. Closes: https://bugs.gentoo.org/912009 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/rmagick/rmagick-4.3.0.ebuild | 2 +- dev-ruby/rmagick/rmagick-5.3.0.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)