Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 811282 - media-fonts/terminus-font-4.49.1[-otf,-pcf-8bit,-pcf-unicode] fails to fix font files perms
Summary: media-fonts/terminus-font-4.49.1[-otf,-pcf-8bit,-pcf-unicode] fails to fix fo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-31 18:41 UTC by Emil Petrakov
Modified: 2021-08-31 21:25 UTC (History)
3 users (show)

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


Attachments
emerge log (media-fonts%3Aterminus-font-4.49.1%3A20210831-184321.log,65.06 KB, text/plain)
2021-08-31 18:44 UTC, Emil Petrakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emil Petrakov 2021-08-31 18:41:15 UTC
* ERROR: media-fonts/terminus-font-4.49.1::gentoo failed (postinst phase):
 *   failed to fix font files perms
 * 
 * Call stack:
 *     ebuild.sh, line  127:  Called pkg_postinst
 *   environment, line 1744:  Called font_pkg_postinst
 *   environment, line 1076:  Called _update_fontcache
 *   environment, line  769:  Called die
 * The specific snippet of code:
 *       find "${EROOT}"/usr/share/fonts/ -type f '!' -perm 0644 -exec chmod -v 0644 {} + 2> /dev/null || die "failed to fix font files perms";

It installs fonts into /usr/share/consolefonts, and it seems that later tries to use a wrong folder.
Comment 1 Emil Petrakov 2021-08-31 18:44:35 UTC
Created attachment 736981 [details]
emerge log
Comment 2 Larry the Git Cow gentoo-dev 2021-08-31 21:25:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56ea2789b4419e88efa61794dbd8fed82102ae93

commit 56ea2789b4419e88efa61794dbd8fed82102ae93
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-08-31 21:23:20 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-08-31 21:25:04 +0000

    media-fonts/terminus-font: skip font_pkg_config in PSF-only mode
    
    Closes: https://bugs.gentoo.org/811282
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 media-fonts/terminus-font/terminus-font-4.49.1.ebuild | 12 ++++++++++++
 1 file changed, 12 insertions(+)