Re: [Fedora-packaging] python27-numpy scl build
by Bohuslav Kabrda
first of all, what base SCL are you building against (where did you get it) and for what system (I'm guessing CentOS 6/RHEL 6)?
If you're using on of my private repos, e.g. , you'll need to install python27-build to your buildroot, since it contains modifications of bytecompile scripts and dependency generators. Also, I'm not sure whether this is a proper material for this list, maybe you should rather use softwarecollections(a)lists.fedorahosted.org (CCing).
----- Original Message -----
> I have some problem to build numpy with the Software Collection environment
> at the binary build stage I got this error
> # rpmbuild -bb numpy.spec --define 'scl python27' --define 'scl_prefix
> [ ... ]
> + /usr/lib/rpm/brp-scl-python-bytecompile
> /opt/rh/python27/root/usr/bin/python 1 /opt/rh/python27/root
> Bytecompiling .py files below
> using /usr/bin/python2.7
> /usr/lib/rpm/brp-scl-python-bytecompile: line 47: /usr/bin/python2.7: No
> such file or directory
> and it should be
> + scl enable python27
> /opt/rh/python27/root/usr/bin/python2 1 /opt/rh/python27/root'
> Fabrice Cantos
> HPC Systems Engineer
> +64-4-386-0367 | +64-27-412-9693 | 301 Evans Bay Parade, Greta Point,
> Wellington | www.niwa.co.nz
> packaging mailing list
Bohuslav "Slavek" Kabrda.