Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675466 - app-emulation/virtualbox-bin-6.0.0 USE=python - doins: FileNotFoundError: [Errno 2] No such file or directory: b'VBoxPython2_7.so'
Summary: app-emulation/virtualbox-bin-6.0.0 USE=python - doins: FileNotFoundError: [Er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-15 03:17 UTC by aion1223
Modified: 2019-01-17 01:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aion1223 2019-01-15 03:17:22 UTC
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
Comment 1 aion1223 2019-01-17 01:38:18 UTC
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.