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...)
Please attach the entire build log to this bug report.
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.
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...
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
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(-)