After upgrading to python3.10 and removing python3.9, app-emulation/virtualbox fails to configure because of the line in configure: SUPPYTHONLIBS="python2.7 python2.6 python3.1 python3.2 python3.3 python3.4 python3.4m python3.5 python3.5m python3.6 python3.6m python3.7 python3.7m python3.8 python3.8m python3.9 python3.9m" This is used by configure to find python... Adding "python3.10" to this list makes virtualbox compile. Other people didn't notice before because they had not removed all python implementations except python3.10. In this case, virtualbox will silently be built against python3.9, no matter what the ebuild says... Reproducible: Always
Created attachment 785417 [details, diff] Add "python3.10" to the list of implementations searched by configure
It'd be worth when applying this patch to add a note above PYTHON_COMPAT in the ebuild.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffb00de3f195d6273ef1f259795ffa86849e91b4 commit ffb00de3f195d6273ef1f259795ffa86849e91b4 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2022-06-15 12:35:26 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2022-06-15 12:37:52 +0000 app-emulation/virtualbox: Add patch to build with python3_10 Closes: https://bugs.gentoo.org/852152 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../virtualbox/files/virtualbox-6.1.34-python3.10.patch | 13 +++++++++++++ app-emulation/virtualbox/virtualbox-6.1.34.ebuild | 1 + 2 files changed, 14 insertions(+)
(In reply to Sam James from comment #2) > It'd be worth when applying this patch to add a note above PYTHON_COMPAT in > the ebuild. It's going to happen again without some comment.