Hi Fabrice,
----- Original Message -----
Hi Slavek,
I am using the "Red Hat Software Collections 1 for Red Hat
Enterprise Linux
6" ->
https://rhn.redhat.com/network/software/channels/details.pxt?cid=18330
for my RHEL6 system.
I can't see any python27-build in this repo
generally, I'd recommend to contact RH support when you have problems with collections
from RHSCL, but let me explain this specific case:
The -build subpackages of all collections were not distributed as part of RHSCL 1.0, but
you can get them by rebuilding the metapackage (python27). The build will produce 3 binary
RPMs (python27, python27-runtime and python27-build). Please note, that installing
python27-build will alter your buildroot a bit. So if you then want to build non-SCL
packages or packages for another SCL, make sure you uninstall python27-build first.
If I add your python27-build
+ scl enable python27 -
env: %python27__python2: No such file or directory
Yeah, this collection uses a slightly different approach than the one in RHSCL 1.0 and the
python27-build package from there isn't compatible with RHSCL 1.0. I'd advise
rebuilding the RHSCL 1.0 python27 metapackage to get a working python27-build.
Fabrice
Hope this helps,
Slavek.
On 03/18/2014 10:07 PM, Bohuslav Kabrda wrote:
> Hi Fabrice,
> 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. [1], 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).
> Slavek.
> ----- 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
>
> > python27-'
>
> > [ ... ]
>
> > + /usr/lib/rpm/brp-scl-python-bytecompile
>
> > /opt/rh/python27/root/usr/bin/python 1 /opt/rh/python27/root
>
> > Bytecompiling .py files below
>
> >
/home/foo/rpms/BUILDROOT/python27-numpy-1.7.1-8.el6.x86_64//opt/rh/python27/root/usr/lib64/python2.7/
>
> > 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
>
> > '/usr/lib/rpm/redhat/brp-python-bytecompile-with-scl-python
>
> > /opt/rh/python27/root/usr/bin/python2 1 /opt/rh/python27/root'
>
> > > thanks
> >
>
> >
Fabrice
> >
>
> > 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
>
> > packaging(a)lists.fedoraproject.org
>
> >
https://admin.fedoraproject.org/mailman/listinfo/packaging
>
> --
> Regards,
> Bohuslav "Slavek" Kabrda.
> --
> packaging mailing list packaging(a)lists.fedoraproject.org
>
https://admin.fedoraproject.org/mailman/listinfo/packaging
Fabrice Cantos
HPC Systems Engineer
+64-4-386-0367 | +64-27-412-9693 | 301 Evans Bay Parade, Greta Point,
Wellington |
www.niwa.co.nz
_______________________________________________
softwarecollections mailing list
softwarecollections(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/softwarecollections
--
Regards,
Bohuslav "Slavek" Kabrda.