Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 695708

Summary: media-fonts/culmus-0.133 - Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Gentoo Fonts Team <fonts>
Status: RESOLVED FIXED    
Severity: normal CC: peter.volkov
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/20027
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: info-culmus
culmus-0.133:20190928-075511.log
culmus-fontconfig-test.patch

Description Alessandro Barbieri 2019-09-27 07:28:45 UTC
This is annoying, it spam the buildlog of other packages

Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 21: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 53: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 64: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 75: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 86: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 98: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 110: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/etc/fonts/conf.d/65-culmus.conf", line 120: Having multiple values in <test> isn't supported and may not work as expected
Comment 1 Alessandro Barbieri 2019-09-27 07:29:25 UTC
Created attachment 591142 [details]
info-culmus

emerge --info
Comment 2 Alessandro Barbieri 2019-09-28 07:43:11 UTC
Sorry, I forgot
Comment 3 Alessandro Barbieri 2019-09-28 07:53:48 UTC
The point is that this log isn't from culmus itself but from another random package that uses the fonts
Comment 4 Alessandro Barbieri 2019-09-28 08:00:03 UTC
Created attachment 591193 [details]
culmus-0.133:20190928-075511.log

buildlog
Comment 5 Alessandro Barbieri 2019-09-28 08:01:24 UTC
nvm, culmus have the issue too
Comment 6 pva 2020-03-20 06:19:12 UTC
Culmus upstream considers this warnings to be ok:
http://culmus.sourceforge.net/faq.html#fcwarn

But they are waiting for problems and future updates of fontconfig may break this. So it's better to apply ubuntu patches:

https://launchpadlibrarian.net/120957356/culmus_0.121-1ubuntu1.debdiff

Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/fonts-unfonts-core/+bug/1034928
Comment 7 pva 2020-03-20 06:30:03 UTC
Created attachment 622934 [details, diff]
culmus-fontconfig-test.patch
Comment 8 Larry the Git Cow gentoo-dev 2021-03-21 19:06:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=469a17d1d56277af5aa076d4b64533ab5ab33dda

commit 469a17d1d56277af5aa076d4b64533ab5ab33dda
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2021-03-21 13:37:56 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2021-03-21 19:05:46 +0000

    media-fonts/culmus: EAPI-7 bump, fix fontconfig
    
    Loads of missing || die.
    
    Closes: https://bugs.gentoo.org/695708
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-fonts/culmus/culmus-0.133-r1.ebuild          | 185 ++++++++++++++++++++
 .../files/culmus-0.133-fontconfig-test.patch       | 191 +++++++++++++++++++++
 2 files changed, 376 insertions(+)