I'm trying to build python33-python-virtualenv under CentOS6. I'm currently just trying to rebuild the current version as present in: https://www.softwarecollections.org/repos/rhscl/python33/epel-6-x86_64/pytho...
I'm getting the error:
/usr/lib/rpm/brp-scl-python-bytecompile: line 47: /usr/bin/python3.3: No such file or directory
Any idea what I might be doing wrong?
NB: I'm doing this in a mock environment, with scl defined to python33.
- Morty
----- Original Message -----
I'm trying to build python33-python-virtualenv under CentOS6. I'm currently just trying to rebuild the current version as present in: https://www.softwarecollections.org/repos/rhscl/python33/epel-6-x86_64/pytho...
I'm getting the error:
/usr/lib/rpm/brp-scl-python-bytecompile: line 47: /usr/bin/python3.3: No such file or directory
You should have python33-build installed in mock everytime you're building a package for python33. I modify a line in mock config to achieve this:
-config_opts['chroot_setup_cmd'] = 'install @buildsys-build' +config_opts['chroot_setup_cmd'] = 'install @build scl-utils-build python33-build'
Any idea what I might be doing wrong?
NB: I'm doing this in a mock environment, with scl defined to python33.
Just defining a macro isn't enough in most cases and I'd recommend against it. The proper way is to install <scl>-build package into the minimal buildroot.
- Morty
softwarecollections@lists.fedorahosted.org