[vbox-dev] Conversion to Python 3
Larry.Finger at lwfinger.net
Sun May 27 21:58:25 UTC 2018
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;
compileall.compile_dir(sys.argv, ddir=br and
(sys.argv[len(os.path.abspath(br)):]+'\''/'\'') or None)'
[ 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?
More information about the vbox-dev