Workaround: EPYTHON=python2 emerge --oneshot sys-apps/seabios This package has no configure or any override, it uses plain: #!/usr/bin/env python So either use python eclass to rewrite the header or force python2.
Adding: pkg_setup() { python_set_active_version 2 } did fix this for me but meant dropping the EAPI to 3 to allow inherit python.
Shouldn't have just copied and pasted - works fine with EAPI 4 now.
This should be fixed in the tree.
You should add build-time dependency on Python 2.