Currently eerror and ewarn log to stdout by default which differs from OpenRC where they log to stderr. If EINFO_QUIET=yes then eerror will log to stderr but ewarn continues to log to stdout: https://github.com/gentoo/gentoo-functions/blob/6ad1c025f04d5d4116022409a05eba898f1a9cc1/functions.sh#L190 This behavior appears to be inherited from the original baselayout-1 implementation: https://sources.gentoo.org/cgi-bin/viewvc.cgi/baselayout/branches/baselayout-1_13/sbin/functions.sh?revision=2546&view=markup#l317 Now some things, namely toolchains.eclass currently assume the OpenRC behavior and expect valid output on stdout and errors on stderr, bug 547962. For now the gcc-config version using gentoo-functions has been masked. See also bug 504118.
Here's a fix. Please test. https://github.com/gentoo/gentoo-functions/pull/4
(In reply to Mike Gilbert from comment #1) > Here's a fix. Please test. > > https://github.com/gentoo/gentoo-functions/pull/4 Works for me, tested the gcc-config + toolchain.eclass issue from bug 547962.
This is now in git and will be included in 0.10.