<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi Fabrice,<br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><style>P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
.ExternalClass * {
        LINE-HEIGHT: 100%
}
</style><p class="ImprintUniqueID">
    Hi Slavek,<br><br>
    I am using the "Red Hat Software Collections 1 for Red Hat
    Enterprise Linux 6" -&gt;
    <a class="moz-txt-link-freetext" href="https://rhn.redhat.com/network/software/channels/details.pxt?cid=18330" target="_blank">https://rhn.redhat.com/network/software/channels/details.pxt?cid=18330</a><br>
    for my RHEL6 system.<br>
    I can't see any python27-build&nbsp; in this repo<br></p></blockquote><div>generally, I'd recommend to contact RH support when you have problems with collections from RHSCL, but let me explain this specific case:<br></div><div>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.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p class="ImprintUniqueID">
    If I add your python27-build<br>
    + scl enable python27 -<br>
    env: %python27__python2: No such file or directory<br></p></blockquote><div>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.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p class="ImprintUniqueID">
    Fabrice<br></p></blockquote><div>Hope this helps,<br></div><div>Slavek.<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p class="ImprintUniqueID">
    On 03/18/2014 10:07 PM, Bohuslav Kabrda wrote:
    </p><blockquote cite="mid:626058460.1755727.1395133646755.JavaMail.zimbra@redhat.com"><div style="font-family: times new roman, new york, times, serif;
        font-size: 12pt; color: #000000"><div>Hi Fabrice,<br></div><div>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)?<br></div><div>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 <a href="mailto:softwarecollections@lists.fedorahosted.org" target="_blank">softwarecollections@lists.fedorahosted.org</a>
          (CCing).<br></div><div><br></div><div>Slavek.<br></div><div><br></div><div>[1] <a class="moz-txt-link-freetext" href="http://people.redhat.com/bkabrda/python27-rhel-6/" target="_blank">http://people.redhat.com/bkabrda/python27-rhel-6/</a><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid
#1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><style>P.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
LI.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
DIV.ImprintUniqueID {
        MARGIN: 0cm 0cm 0pt
}
TABLE.ImprintUniqueIDTable {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
.ExternalClass * {
        LINE-HEIGHT: 100%
}
</style><div>I have some problem to build numpy with the Software
            Collection environment<br><div><br></div>
            at the binary build stage I got this error<br><div><br></div>
            # rpmbuild -bb numpy.spec --define 'scl python27' --define
            'scl_prefix <br>
            python27-'<br>
            [ ... ]<br>
            + /usr/lib/rpm/brp-scl-python-bytecompile <br>
            /opt/rh/python27/root/usr/bin/python 1 /opt/rh/python27/root<br>
            Bytecompiling .py files below <br>
            /home/foo/rpms/BUILDROOT/python27-numpy-1.7.1-8.el6.x86_64//opt/rh/python27/root/usr/lib64/python2.7/
            <br>
            using /usr/bin/python2.7<br>
            /usr/lib/rpm/brp-scl-python-bytecompile: line 47:
            /usr/bin/python2.7: No <br>
            such file or directory<br><div><br></div>
            and it should be<br>
            + scl enable python27 <br>
            '/usr/lib/rpm/redhat/brp-python-bytecompile-with-scl-python
            <br>
            /opt/rh/python27/root/usr/bin/python2 1
            /opt/rh/python27/root'<br><div><br></div>
            thanks<br>
            Fabrice<br><div><br></div></div><br><table class="ImprintUniqueIDTable mceItemTable" style="BORDER-COLLAPSE: collapse" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="FONT-SIZE: 18pt; FONT-FAMILY: Arial; COLOR:
                  #333333" valign="top"><span style="font-family:
                    Calibri; font-size: 12pt; color: #1f497d;
                    font-weight: normal;">Fabrice Cantos</span></td></tr><tr><td height="1"><span style="font-family: Calibri;
                    font-size: 10pt; color: #1f497d;">HPC Systems Engineer</span><br></td></tr></tbody></table><table class="ImprintUniqueIDTable mceItemTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH:
            96.43%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><span style="font-family: Calibri; font-size: 10pt;
                    color: #1f497d;">+64-4-386-0367</span><span style="font-family: Calibri; font-size: 10pt; color:
                    #1f497d;"> | </span><span style="font-family: Calibri; font-size: 10pt; color:
                    #1f497d;">+64-27-412-9693</span><span style="font-family: Calibri; font-size: 10pt; color:
                    #1f497d;"> | </span><span style="font-family: Calibri; font-size: 10pt; color:
                    #1f497d;">301 Evans Bay
                    Parade, Greta Point, Wellington</span><span style="font-family: Calibri; font-size: 10pt; color:
                    #1f497d; text-decoration: none;"> | </span><span style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><a href="http://www.niwa.co.nz" title="" target="_blank" style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><span style="font-family:Calibri; font-size:10pt;
                        color:#0066CC; text-decoration:underline;">www.niwa.co.nz</span></a></span><br></td></tr></tbody></table><table class="ImprintUniqueIDTable mceItemTable" style="BORDER-COLLAPSE: collapse; PADDING-BOTTOM: 5px;
            PADDING-TOP: 5px" border="0" cellpadding="0" cellspacing="0" width="500"><tbody><tr><td style="WIDTH: 541px" align="left" height="91" valign="top" width="475"><a href="http://www.niwa.co.nz" target="_blank"><img style="border: 0px Solid ; " src="cid:part3.05070003.07060008@niwa.co.nz" alt="NIWA" height="66" width="538"></a><br></td></tr></tbody></table><br><div><br></div><br><br>
          --<br>
          packaging mailing list<br><a class="moz-txt-link-abbreviated" href="mailto:packaging@lists.fedoraproject.org" target="_blank">packaging@lists.fedoraproject.org</a><br><a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br data-mce-bogus="1"></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div>Regards,<br>
          Bohuslav "Slavek" Kabrda.<br></div></div><br><br><pre>--
packaging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:packaging@lists.fedoraproject.org" target="_blank">packaging@lists.fedoraproject.org</a><a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/packaging" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/packaging</a><br data-mce-bogus="1"></pre></blockquote><br><table class="ImprintUniqueIDTable mceItemTable" style="BORDER-COLLAPSE: collapse" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="FONT-SIZE: 18pt; FONT-FAMILY: Arial; COLOR: #333333" valign="top"><span style="font-family: Calibri; font-size: 12pt; color: #1f497d; font-weight: normal;" data-mce-style="font-family: Calibri; font-size: 12pt; color: #1f497d; font-weight: normal;">Fabrice Cantos</span></td></tr><tr><td height="1"><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;">HPC Systems Engineer</span><br></td></tr></tbody></table><table class="ImprintUniqueIDTable mceItemTable" style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" border="0" cellpadding="0" cellspacing="0"><tbody><tr><td><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;">+64-4-386-0367</span><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;"> | </span><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;">+64-27-412-9693</span><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;"> | </span><span style="font-family: Calibri; font-size: 10pt; color: #1f497d;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d;">301 Evans Bay Parade, Greta Point, Wellington</span><span style="font-family: Calibri; font-size: 10pt; color: #1f497d; text-decoration: none;" data-mce-style="font-family: Calibri; font-size: 10pt; color: #1f497d; text-decoration: none;"> | </span><span style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><a href="http://www.niwa.co.nz" title="" target="_blank" style="font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;"><span style="font-family:Calibri; font-size:10pt; color:#0066CC; text-decoration:underline;">www.niwa.co.nz</span></a></span><br data-mce-bogus="1"></td></tr></tbody></table><table class="ImprintUniqueIDTable mceItemTable" style="BORDER-COLLAPSE: collapse; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" border="0" cellpadding="0" cellspacing="0" width="500"><tbody><tr><td style="WIDTH: 541px" align="left" height="91" valign="top" width="475"><a href="http://www.niwa.co.nz" target="_blank"><img style="border: 0px Solid ; " src="cid:image4ba52a.JPG@b3c1e7a3.42892ed7" alt="NIWA" height="66" width="538"></a><br data-mce-bogus="1"></td></tr></tbody></table><br><div><br></div><br><br>_______________________________________________<br>softwarecollections mailing list<br>softwarecollections@lists.fedorahosted.org<br>https://lists.fedorahosted.org/mailman/listinfo/softwarecollections<br></blockquote><div><br><br></div><div><br></div><div>-- <br></div><div><span name="x"></span>Regards,<br>Bohuslav "Slavek" Kabrda.<span name="x"></span><br></div></div></body></html>