Summary: | Virtualbox needs a dependency on python:2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Mike DeSimone <mike.desimone> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info output |
Yes and no. The detection is broken but that's not the right way to fix it (nor would it work for runtime deps anyway as eclass support is gone for that). Anyway, it's fixed in ~arch, and we should stable that version. *** This bug has been marked as a duplicate of bug 856121 *** (In reply to Sam James from comment #1) > Yes and no. The detection is broken but that's not the right way to fix it > (nor would it work for runtime deps anyway as eclass support is gone for > that). > > Anyway, it's fixed in ~arch, and we should stable that version. > > *** This bug has been marked as a duplicate of bug 856121 *** ... and filed bug 860813 for the stablereq. In future, please do include the full build.log too. (Two mid-air collisions now...) > Anyway, it's fixed in ~arch, and we should stable that version. Yes please. Also I have no idea why searches for "virtualbox python" did not turn up the other bug. > In future, please do include the full build.log too. Dang it, and I remembered the emerge.info this time, too. |
Created attachment 794117 [details] emerge --info output I'm trying to emerge virtualbox, and it's failing in the configure step. Looking in the configure log, it says it can't find Python: ***** Checking Python support ***** compiling the following source file: #include <cstdio> #include <Python.h> extern "C" int main(void) { Py_Initialize(); printf("found version %s", PY_VERSION); #if PY_VERSION_HEX >= 0x02060000 printf(", OK.\n"); return 0; #else printf(", expected version 2.6 or higher\n"); return 1; #endif } using the following command line: x86_64-pc-linux-gnu-g++ -O -Wall -o /var/tmp/portage/app-emulation/virtualbox-6. 1.32-r2/work/VirtualBox-6.1.32/.tmp_out /var/tmp/portage/app-emulation/virtualbo x-6.1.32-r2/work/VirtualBox-6.1.32/.tmp_src.cc -I/usr/include/python2.7 /usr/lib /x86_64-linux-gnu/libpython2.7.so Looking around online, it seems VB is still back on Python 2. So why isn't this a dependency for the ebuild instead of 3? Why does the ebuild say it can use Python 3.10? # emerge -pv virtualbox These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emulation/virtualbox-6.1.32-r2:0/6.1::gentoo USE="alsa lvm opengl opus pam pulseaudio python qt5 sdk udev -debug -doc -dtrace -headless -java -pax-kernel (-pch) -vboxwebsrv -vnc" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Is there a way to work around this?