Created attachment 575544 [details] build info Package `x11-misc/dmenu-4.9` prints the following message at the end on the installation: >>> Messages generated by process 24201 on 2019-05-08 16:27:09 -03 for package x11-misc/dmenu-4.9: LOG: prepare Building using saved configfile //etc/portage/savedconfig//x11-misc/dmenu-4.9 LOG: install Your configuration for x11-misc/dmenu-4.9 has been saved in /etc/portage/savedconfig/x11-misc/dmenu-4.9 for your editing pleasure. You can edit these files by hand and remerge this package with USE=savedconfig to customise the configuration. You can rename this file/directory to one of the following for its configuration to apply to multiple versions: ${PORTAGE_CONFIGROOT}/etc/portage/savedconfig/ [${CTARGET}|${CHOST}|""]/${CATEGORY}/[${PF}|${P}|${PN}] ERROR: postinst The ebuild phase 'postinst' 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. FAILED postinst: 1 Mind that the installation DOESN'T fail.
Please attach the entire build log to this bug report.
Created attachment 575588 [details] build.log The weird characters are present in the original file too
Comment on attachment 575588 [details] build.log /temp/environment: line 1190: EROOT: readonly variable
Same problem with x11-wm/dwm[savedconfig] Setting EAPI=6 in the ebuilds of dmenu and dwm, problem goes away.
Patch posted for review. https://archives.gentoo.org/gentoo-dev/message/ac74cf3a3659da0fffc5d146e7df132f
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf698cecb081079d6204637f692e33101abed805 commit bf698cecb081079d6204637f692e33101abed805 Author: David Seifert <soap@gentoo.org> AuthorDate: 2019-05-25 16:11:05 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2019-05-25 16:11:05 +0000 savedconfig.eclass: Remove old EAPI ED/EROOT workarounds * Also limit to EAPIs that are in use at the moment. Closes: https://bugs.gentoo.org/685382 Signed-off-by: David Seifert <soap@gentoo.org> eclass/savedconfig.eclass | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-)