Plans are to convert all openSUSE Factory packages to use Python 3.6 rather than
2.7. Accordingly, I have been making the appropriate modifications for the
VirtualBox package. I now have converted all of the build part of the RPM setup,
but I get the following failure in the install part:
[ 1663s] + python -c 'import sys, os, compileall;
br='\''/home/abuild/rpmbuild/BUILDROOT/virtualbox-5.2.12-0.x86_64'\'';
compileall.compile_dir(sys.argv[1], ddir=br and
(sys.argv[1][len(os.path.abspath(br)):]+'\''/'\'') or None)'
/home/abuild/rpmbuild/BUILDROOT/virtualbox-5.2.12-0.x86_64/usr/lib/virtualbox/sdk/bindings/xpcom/python
[ 1663s] /var/tmp/rpm-tmp.ZpYSxC: line 199: python: command not found
[ 1663s] error: Bad exit status from /var/tmp/rpm-tmp.ZpYSxC (%install)
That command should be "python3", not "python". Unfortunately, grepping for key
parts of that command line fail. Can anyone point me to the section of the
source where this command is generated?
Thanks,
Larry
_______________________________________________
vbox-dev mailing list
[email protected]
https://www.virtualbox.org/mailman/listinfo/vbox-dev