if python2 is the default, then qemu fails to build. The failure is here: /usr/bin/python2.7 -B /tmp/portage/app-emulation/qemu-2.12.0-r3/work/qemu-2.12.0/scripts/qapi-gen.py -o "qapi" -b /tmp/portage/app-emulation/qemu-2.12.0-r3/work/qemu-2.12.0/qapi/qapi-schema.json /tmp/portage/app-emulation/qemu-2.12.0-r3/work/qemu-2.12.0/qapi/qapi-schema.json:56: Pragma returns-whitelist must be a list of strings I'm in touch with upstream to understand what to do.
(In reply to Agostino Sarubbo from comment #0) > I'm in touch with upstream to understand what to do. The problem is on our side. I accidentally included two old versions of the patches in commit 6d9fc64ae023874e50e9feed87a797120515d95a (patches-r4). We had been in contact with upstream to fix the locale issue, bug #657766. I will push a new patch tarball revision with the backported upstream patches (that are python-2 compatible). No need to contact upstream ;-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3765899ec565d27b7bd76fb02171fcf7256c5b97 commit 3765899ec565d27b7bd76fb02171fcf7256c5b97 Author: Matthias Maier <tamiko@gentoo.org> AuthorDate: 2018-06-25 15:14:05 +0000 Commit: Matthias Maier <tamiko@gentoo.org> CommitDate: 2018-06-25 15:24:26 +0000 app-emulation/qemu: update patches, fix compilation with python-2 Closes: https://bugs.gentoo.org/659090 Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-emulation/qemu/Manifest | 2 +- app-emulation/qemu/qemu-2.12.0-r3.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)