Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852152 - app-emulation/virtualbox-6.1.34: configure needs patch to find python3.10
Summary: app-emulation/virtualbox-6.1.34: configure needs patch to find python3.10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-06-15 12:16 UTC by Bernd Feige
Modified: 2022-07-03 12:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Add "python3.10" to the list of implementations searched by configure (python3_10.patch,755 bytes, patch)
2022-06-15 12:17 UTC, Bernd Feige
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd Feige 2022-06-15 12:16:12 UTC
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
Comment 1 Bernd Feige 2022-06-15 12:17:22 UTC
Created attachment 785417 [details, diff]
Add "python3.10" to the list of implementations searched by configure
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-15 12:20:05 UTC
It'd be worth when applying this patch to add a note above PYTHON_COMPAT in the ebuild.
Comment 3 Larry the Git Cow gentoo-dev 2022-06-15 12:37:58 UTC
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(+)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-15 12:42:58 UTC
(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.