The test script has EAPI=5 which is no longer supported by toolchain.eclass: ~/git/gentoo/eclass/tests $ ./toolchain.sh die: : EAPI 5 not supported After updating toolchain.sh to EAPI=7 (and adding an inherit for eapi7-ver), several other problems are reported: - TOOLCHAIN_GCC_PV=7.3.0 appears to be too old - multiple test failures related to downgrade_arch_flags
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55074a1c37442d3dedf5e65dcb93c8e6d20c6af8 commit 55074a1c37442d3dedf5e65dcb93c8e6d20c6af8 Author: Sam James <sam@gentoo.org> AuthorDate: 2023-04-20 23:12:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-04-20 23:12:51 +0000 eclass/tests: partially fix toolchain.eclass tests - Use the same hack as in crossdev for now wrt EAPI. - Fix up the version tests. We still need to investigate the issues with -march downgrading though. Bug: https://bugs.gentoo.org/859157 Signed-off-by: Sam James <sam@gentoo.org> eclass/tests/toolchain.sh | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-)