I emerge x11-base/xcb-proto-1.14 with PYTHON_TARGETS="python3_6* python3_7 -python3_8", but only 3.6 files are installed: equery files xcb-proto * Searching for xcb-proto ... * Contents of x11-base/xcb-proto-1.14: /usr /usr/lib /usr/lib/pkgconfig /usr/lib/pkgconfig/xcb-proto.pc /usr/lib64 /usr/lib64/pkgconfig /usr/lib64/pkgconfig/xcb-proto.pc /usr/lib64/python3.6 /usr/lib64/python3.6/site-packages /usr/lib64/python3.6/site-packages/xcbgen /usr/lib64/python3.6/site-packages/xcbgen/__init__.py /usr/lib64/python3.6/site-packages/xcbgen/__pycache__ /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.opt-1.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.opt-2.pyc /usr/lib64/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.pyc /usr/lib64/python3.6/site-packages/xcbgen/align.py /usr/lib64/python3.6/site-packages/xcbgen/error.py /usr/lib64/python3.6/site-packages/xcbgen/expr.py /usr/lib64/python3.6/site-packages/xcbgen/matcher.py /usr/lib64/python3.6/site-packages/xcbgen/state.py /usr/lib64/python3.6/site-packages/xcbgen/xtypes.py /usr/share /usr/share/doc (+... other non-python files) Reproducible: Always
Fixed by commit 6cf75d7c54903a2126db2da905688c0b6d6d61ef Author: James Le Cuirot <chewi@gentoo.org> Date: Fri Mar 27 23:31:05 2020 +0000 x11-base/xcb-proto: Install 1.14 for the correct Python versions On my system, I had 3.7 and 3.8 selected but it was installing for 2.7, even though that's not one of the targets! 2.7 had accidentally become my eselected Python. configure was picking this up, detecting the sitedir, and locking it into the Makefile, preventing python_foreach_impl from having any effect. It is simpler and safer to override the Makefile's pythondir with the sitedir value returned by the eclass. Package-Manager: Portage-2.3.96, Repoman-2.3.20 Signed-off-by: James Le Cuirot <chewi@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/15143 Signed-off-by: Matt Turner <mattst88@gentoo.org>