Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 679658 - media-fonts/urw-fonts-2.4.9 - font.eclass: EPREFIX readonly variable
Summary: media-fonts/urw-fonts-2.4.9 - font.eclass: EPREFIX readonly variable
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: 2019-03-07 06:11 UTC by ginny690901
Modified: 2019-12-11 13:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ginny690901 2019-03-07 06:11:14 UTC
When trying to emerge dependency urw-fonts I get the above error within setup phase, other media-fonts, e.g. stix-fonts, install without problem...

(Sorry, my system installation isn't progressed far enough to get any log files easy on the machine I'm posting from, but then again apart from the error the log contains only some info's about possible bugs and the only possible USE-flag according the urw-fonts ebuild is 'X' and the error persists independend of it's setting...)
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-07 07:16:57 UTC
Please attach the entire build log to this bug report.
Comment 2 ginny690901 2019-03-07 19:58:17 UTC
I found a way without retyping...

 * Package:    media-fonts/urw-fonts-2.4.9
 * Repository: gentoo
 * Maintainer: fonts@gentoo.org
 * USE:        X abi_x86_64 amd64 elibc_glibc kernel_linux pie selinux ssp userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox selinux sesandbox userpriv usersandbox
/usr/portage/eclass/font.eclass: line 153: EPREFIX: readonly variable
 * The ebuild phase 'setup' has exited unexpectedly. This type of behavior
 * is known to be triggered by things such as failed variable assignments
 * (bug #190128) or bad substitution errors (bug #200313). Normally, before
 * exiting, bash should have displayed an error message above. If bash did
 * not produce an error message above, it's possible that the ebuild has
 * called `exit` when it should have called `die` instead. This behavior
 * may also be triggered by a corrupt bash binary or a hardware problem
 * such as memory or cpu malfunction. If the problem is not reproducible or
 * it appears to occur randomly, then it is likely to be triggered by a
 * hardware problem. If you suspect a hardware problem then you should try
 * some basic hardware diagnostics such as memtest. Please do not report
 * this as a bug unless it is consistently reproducible and you are sure
 * that your bash binary and hardware are functioning properly.
Comment 3 ginny690901 2019-03-11 19:32:56 UTC
I just noticed, that I've activated feature 'force-eprefix'...
While this error vanishes when disabling this feature (and as such works for me) I believe it's still a bug...
Comment 4 Chris Slycord 2019-10-19 03:02:46 UTC
I get the same error if I attempt to install media-fonts/unfonts (media-fonts/unfonts-1.0.2_pre080608-r1) with FEATURES="force-prefix"

/var/db/repos/gentoo/eclass/font.eclass: line 155: EPREFIX: readonly variable
Comment 5 Larry the Git Cow gentoo-dev 2019-12-11 13:25:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8722cdb499950eabe33790abb6e736d153b47ce9

commit 8722cdb499950eabe33790abb6e736d153b47ce9
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-12-11 13:25:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-12-11 13:25:32 +0000

    font.eclass: Ban EAPIs < 5
    
    * Add inherit guard like all modern eclasses
    
    Closes: https://bugs.gentoo.org/679658
    Closes: https://github.com/gentoo/gentoo/pull/13360
    Signed-off-by: David Seifert <soap@gentoo.org>

 eclass/font.eclass | 42 +++++++++++++++---------------------------
 1 file changed, 15 insertions(+), 27 deletions(-)