I tried to update virtualbox-bin to 6.0.0, and the emerge command failed. Here is some interesting information from my emerge -vp virtualbox-bin: [ebuild R ] app-emulation/virtualbox-bin-6.0.0.127566::gentoo USE="additions chm python* rdesktop-vrdp vboxwebsrv -headless -sdk" PYTHON_TARGETS="python2_7" 0 KiB When I ran this command, which removes "python," from the USE flag, emerge did not fail to build the package: USE="-python" emerge -v virtualbox-bin app-emulation/virtualbox-modules The error I am seeing from the failed emerge command is: >>> Install virtualbox-bin-6.0.0.127566 into /var/tmp/portage/app-emulation/virtualbox-bin-6.0.0.127566/image/ category app-emulation Traceback (most recent call last): File "/usr/lib/portage/python3.6/doins.py", line 611, in <module> sys.exit(main(sys.argv[1:])) File "/usr/lib/portage/python3.6/doins.py", line 602, in main os.path.dirname(source)): File "/usr/lib/portage/python3.6/doins.py", line 450, in _doins return install_runner.install_file(source, os.path.dirname(dest)) File "/usr/lib/portage/python3.6/doins.py", line 386, in install_file return self._ins_runner.run(source, dest_dir) File "/usr/lib/portage/python3.6/doins.py", line 195, in run sstat = os.stat(source) FileNotFoundError: [Errno 2] No such file or directory: b'VBoxPython2_7.so' * ERROR: app-emulation/virtualbox-bin-6.0.0.127566::gentoo failed (install phase): * doins failed * It seems to me that the installation process expects VBoxPython2_7.so. Indeed, the PYTHON_TARGET for this package is set to "python2_7" as well. However, this package looks like providing me only with VBoxPython2_6.so: localhost # find /var/tmp/portage/app-emulation/virtualbox-bin-6.0.0.127566 | egrep VBoxPython /var/tmp/portage/app-emulation/virtualbox-bin-6.0.0.127566/image/opt/VirtualBox/VBoxPython.so /var/tmp/portage/app-emulation/virtualbox-bin-6.0.0.127566/work/VBoxPython2_6.so /var/tmp/portage/app-emulation/virtualbox-bin-6.0.0.127566/work/VBoxPython.so
Although emerge --sync did not change the version of virtualbox-bin, the problem has gone. I checked the ebuild and saw the difference. The ebuild has changed, and no longer tries to copy VBoxPython2_7.so; it copies VBoxPython.so only.