Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912009 - dev-ruby/rmagick-4.3.0 fails tests (PYTHON-3.12-SYSTEM)
Summary: dev-ruby/rmagick-4.3.0 fails tests (PYTHON-3.12-SYSTEM)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: TESTFAILURE
: 913239 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-10 09:25 UTC by Agostino Sarubbo
Modified: 2023-08-31 05:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,71.80 KB, text/plain)
2023-08-10 09:25 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-08-10 09:25:16 UTC
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
Comment 1 Agostino Sarubbo gentoo-dev 2023-08-10 09:25:18 UTC
Created attachment 867550 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-08-10 09:25:19 UTC
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:
Comment 3 Hans de Graaff gentoo-dev Security 2023-08-13 07:38:47 UTC
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.
Comment 4 Larry the Git Cow gentoo-dev 2023-08-29 16:53:56 UTC
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(-)
Comment 5 Hans de Graaff gentoo-dev Security 2023-08-30 13:29:12 UTC
*** Bug 913239 has been marked as a duplicate of this bug. ***
Comment 6 Hans de Graaff gentoo-dev Security 2023-08-30 18:00:26 UTC
*** Bug 913239 has been marked as a duplicate of this bug. ***
Comment 7 Hans de Graaff gentoo-dev Security 2023-08-30 18:01:04 UTC
Adding virtual/ttf-fonts does not appear to help.
Comment 8 Larry the Git Cow gentoo-dev 2023-08-31 05:05:29 UTC
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(-)