<html><body><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">softwarecollections@lists.fedorahosted.org</a> (CCing).<br></div><div><br></div><div>Slavek.<br></div><div><br></div><div>[1] http://people.redhat.com/bkabrda/python27-rhel-6/<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"></p><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 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:image0ff5bd.JPG@ba3873da.42872a08" 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><p></p>
<br>--<br>packaging mailing list<br>packaging@lists.fedoraproject.org<br>https://admin.fedoraproject.org/mailman/listinfo/packaging</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>