From 9e8bb7a327a7457001dde5f7ddbf1edf43be96b6 Mon Sep 17 00:00:00 2001 From: "Gregory M. Tuner" Date: Sat, 28 Jun 2014 19:46:57 -0700 Subject: eclass/multilib-build: crashing bad, don't. During multilib_get_enabled_abi_pairs, we employ the use helper to determine whether a particular flag is enabled. All well and good, except that this crashes with a QA thingy (maybe only on developer profiles?) when that flag is not in IUSE, which, notably, is not a requirement; indeed, we have a feature in there to create precisely this circumstance by design. Easy solution: use use_if_iuse instead. Signed-off-by: Gregory M. Tuner --- eclass/multilib-build.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/multilib-build.eclass b/eclass/multilib-build.eclass index d948e54..ce0d60e 100644 --- a/eclass/multilib-build.eclass +++ b/eclass/multilib-build.eclass @@ -264,7 +264,7 @@ multilib_get_enabled_abi_pairs() { # paludis is broken (bug #486592), and switching it locally # for the split is more complex than cheating like this for m_abi in ${m_abis//,/ }; do - if [[ ${m_abi} == ${abi} ]] && use "${m_flag}"; then + if [[ ${m_abi} == ${abi} ]] && use_if_iuse "${m_flag}"; then echo "${m_flag}.${abi}" found=1 break 2 -- cgit v1.2.3-18-g5258