<HTML>
  <HEAD><!-- Template generated by Exclaimer Signature Manager Exchange Edition on 09:00:19 Wednesday, 19 March 2014 -->
<STYLE type=text/css>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>

    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  </HEAD>

  <BODY bgcolor="#FFFFFF" text="#000000">
<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">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Ā  in this repo<br />
    <br />
    If I add your python27-build<br />
    + scl enable python27 -<br />
    env: %python27__python2: No such file or directory<br />
    <br />
    Fabrice<br />
    <br />
    On 03/18/2014 10:07 PM, Bohuslav Kabrda wrote:
    <blockquote cite="mid:626058460.1755727.1395133646755.JavaMail.zimbra@redhat.com" type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
      <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 moz-do-not-send="true" href="mailto:softwarecollections@lists.fedorahosted.org">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/">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;" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 data-mce-bogus="1" />
                </td>
              </tr>
              <tr>
              </tr>
            </tbody>
          </table>
          <table class="ImprintUniqueIDTable mceItemTable" style="BORDER-COLLAPSE: collapse" border="0" cellpadding="0" cellspacing="0" width="500">
            <tbody>
            </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">packaging@lists.fedoraproject.org</a><br />
          <a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/packaging">https://admin.fedoraproject.org/mailman/listinfo/packaging</a></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>
      <br />
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br />
      <pre wrap="">--
packaging mailing list
<a class="moz-txt-link-abbreviated" href="mailto:packaging@lists.fedoraproject.org">packaging@lists.fedoraproject.org</a>
<a class="moz-txt-link-freetext" href="https://admin.fedoraproject.org/mailman/listinfo/packaging">https://admin.fedoraproject.org/mailman/listinfo/packaging</a></pre>
    </blockquote>
  <BR />
<TABLE class=ImprintUniqueIDTable style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD style="FONT-SIZE: 18pt; FONT-FAMILY: Arial; COLOR: #333333" vAlign=top><font style='font-family:Calibri;font-size:12pt;color:#1F497D;font-weight:normal;'>Fabrice Cantos</font></TD></TR>
  <TR height=2>
    <TD height=1><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'>HPC Systems Engineer</font><BR /></TD></TR></TBODY></TABLE>
<TABLE class=ImprintUniqueIDTable style="HEIGHT: 1px; BORDER-COLLAPSE: collapse; WIDTH: 96.43%" height=1 cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <TR>
    <TD><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'>+64-4-386-0367</font><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'> | </font><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'>+64-27-412-9693</font><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'> | </font><font style='font-family:Calibri;font-size:10pt;color:#1F497D;'>301 Evans Bay Parade, Greta Point, Wellington</font><font style='font-family:Calibri;font-size:10pt;color:#1F497D;text-decoration:none;'> | </font><span style='font-family:Calibri;font-size:10pt;color:#0066CC;text-decoration:underline;'><a href='http://www.niwa.co.nz' title='' target='' 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></TD></TR></TBODY></TABLE>
<TABLE class=ImprintUniqueIDTable style="BORDER-COLLAPSE: collapse; PADDING-BOTTOM: 5px; PADDING-TOP: 5px" height=91 cellSpacing=0 cellPadding=0 width=500 border=0>
  <TBODY>
  <TR>
    <TD style="WIDTH: 541px" height=91 vAlign=top width=475 align=left><a href='http://www.niwa.co.nz' target=''><img width=538 height=66 style='border: 0px Solid ; 'src="cid:image4ba52a.JPG@b3c1e7a3.42892ed7" alt='NIWA'></a></TD></TR>
  <TR></TR></TBODY></TABLE>
<TABLE class=ImprintUniqueIDTable style="BORDER-COLLAPSE: collapse" cellSpacing=0 cellPadding=0 width=500 border=0>
  <TBODY></TBODY></TABLE> <BR /><BR /><BR /></P></BODY>
</HTML>