For example, the config.setcpv method currently exports the ____in_portage_iuse even for the "depend" phase, when the IUSE value is not yet known (which suppresses the "export: ___in_portage_iuse: not a function" messages that eix-update triggers as shown in bug 680810 comment 7).
I have the same problem in the lastest version of portage
Reading category 137|175 ( 78): sci-mathematics.../usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function /usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function /usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function /usr/lib/portage/python3.6/ebuild.sh: line 11: export:
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=f4aa49bc1ba210a1257ae6291a60d0944c32691d commit f4aa49bc1ba210a1257ae6291a60d0944c32691d Author: Zac Medico <zachary.medico@sony.com> AuthorDate: 2019-07-03 21:20:00 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-07-03 21:26:25 +0000 ebuild.sh: suppress export error messages for eix-update Suppress export error messages like this for eix-update: /usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function Fixes: 7f1aac111320 ("ebuild.sh: unexport ___in_portage_iuse function (bug 680810)") Bug: https://bugs.gentoo.org/680810 Bug: https://bugs.gentoo.org/689128 Signed-off-by: Zac Medico <zmedico@gentoo.org> bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb6dd4afe2540de3ae7de4b6d7ffdd776b14712b commit fb6dd4afe2540de3ae7de4b6d7ffdd776b14712b Author: Zac Medico <zachary.medico@sony.com> AuthorDate: 2019-07-03 21:40:27 +0000 Commit: Zac Medico <zmedico@gentoo.org> CommitDate: 2019-07-03 21:49:28 +0000 sys-apps/portage: revbump to 2.3.68-r1 Suppress export error messages like this for eix-update: /usr/lib/portage/python3.6/ebuild.sh: line 11: export: ___in_portage_iuse: not a function Bug: https://bugs.gentoo.org/680810#c10 Bug: https://bugs.gentoo.org/689128#c3 Package-Manager: Portage-2.3.68, Repoman-2.3.16 Signed-off-by: Zac Medico <zmedico@gentoo.org> sys-apps/portage/{portage-2.3.68.ebuild => portage-2.3.68-r1.ebuild} | 4 ++++ 1 file changed, 4 insertions(+)
Yeah in the version 2.3.68-r1 it works again ;)