commit: 4d338f1c63ef163974417a4e4754dd47899a4681 Author: Gabi Falk <gabifalk <AT> gmx <DOT> com> AuthorDate: Fri Apr 12 08:00:00 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Apr 13 18:40:53 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d338f1c
toolchain.eclass: fix installation of gcc[test] packages from binary Fixes: abf8e2ee55c52c8ae894e0b3845ea1cebfcfd4e8 ("toolchain.eclass: install test results as orphaned files in /var/cache/gcc") Signed-off-by: Gabi Falk <gabifalk <AT> gmx.com> Closes: https://github.com/gentoo/gentoo/pull/36224 Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/toolchain.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 6a515f9b5c69..0708d3c217fc 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2325,7 +2325,7 @@ create_revdep_rebuild_entry() { #---->> pkg_pre* <<---- toolchain_pkg_preinst() { - if use test ; then + if [[ ${MERGE_TYPE} != binary ]] && use test ; then # Install as orphaned to allow comparison across more versions even # after unmerged. Also useful for historical records and tracking # down regressions a while after they first appeared, but were only