python33-python-virtualenv build issue
Bohuslav Kabrda
bkabrda at redhat.com
Thu Oct 9 08:44:52 UTC 2014
----- 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/python33-python-virtualenv-1.10.1-1.el6.src.rpm
>
> 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
--
Regards,
Slavek Kabrda
More information about the softwarecollections
mailing list