Closed shiznix closed 6 years ago
Should be fixed now. You can revert removals and try. Now it's not handling errors of ebuild_hook function. I'll try to figure it out as soon as possible.
Yup works well now with all portage versions above and below 2.3.26. Have reverted removal in commit f019415b7c72f9a35d7042e0fa5e448bdf0eaf28
Thanks :)
This commit https://github.com/gentoo/portage/commit/2b62104633008cc30df24808029430516a6d9a7b#diff-f5f23332cd6468b68e6e2a09f67e7737 was causing the problem. They are sending ebegin and eend output to stderr. I think we can't handle errors of ebuild_hook now.
Maybe I find a solution. Temporarily redirect information messages (ebegin, einfo...) to fd 3 instead of stderr. I'm testing it now.
source <(declare -f
ebegin
| sed -e "s/\(1>&\)2/\13/")
source <(declare -f
einfo
| sed -e "s/\(1>&\)2/\13/g")
source <(declare -f
einfon
| sed -e "s/\(1>&\)2/\13/g")
source <(declare -f
__eend
| sed -e "s/\(1>&\)2/\13/g")
Should be resolved - 5770942
`>>> Emerging (1 of 1) www-client/firefox-59.0.2::gentoo
emerge --info '=www-client/firefox-59.0.2::gentoo'
,emerge -pqv '=www-client/firefox-59.0.2::gentoo'
.