diff options
author | 2021-06-21 15:30:46 +0200 | |
---|---|---|
committer | 2021-06-21 22:04:16 +0100 | |
commit | b40ebcdb89f19d2fd0c563590f30d7574cfe0755 (patch) | |
tree | 02dfdfa02bf772920f8ec308dad678e9d7e80e65 /crossdev | |
parent | wrappers/emerge-wrapper: fail crossdev setup when toolchain-funcs.eclass sour... (diff) | |
download | crossdev-b40ebcdb89f19d2fd0c563590f30d7574cfe0755.tar.gz crossdev-b40ebcdb89f19d2fd0c563590f30d7574cfe0755.tar.bz2 crossdev-b40ebcdb89f19d2fd0c563590f30d7574cfe0755.zip |
crossdev, emerge-wrapper: request EAPI=7 on eclass imports
Today ::gentoo dropped support for EAPI=0 from multilib.eclass
and toolchain-funcs.eclass. Due to lack of error handling on
crossdev side srossdev derived wrong environment for $CTARGET
(and mostly fell back to CHOST).
This caused at best failing early on gcc-stage1 build. At worst
crossdev installed libraries into a wrong $(get_libdir), installed
symlinks from wrong host and other disasters.
Previous crossdev commits make crossdev crash earlier instead of
generating wrong environment. This commit allows dropping EAI=0
support for eclasses eventually.
Reported-by: Marco Scardovi (scardracs)
Bug: https://bugs.gentoo.org/797367
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'crossdev')
-rwxr-xr-x | crossdev | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -983,7 +983,7 @@ load_multilib_env() { for p in ${SEARCH_OVERLAYS} ${MAIN_REPO_PATH} ; do p+="/eclass/multilib.eclass" if [[ -e ${p} ]] ; then - . "${p}" + EAPI=7 . "${p}" break fi done |