<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
p
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif"}
p.msonormal0, li.msonormal0, div.msonormal0
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
p.msochpdefault, li.msochpdefault, div.msochpdefault
{margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Times New Roman","serif"}
span.emailstyle18
{font-family:"Calibri","sans-serif";
color:windowtext}
span.emailstyle19
{font-family:"Calibri","sans-serif";
color:#1F497D}
span.emailstyle20
{font-family:"Calibri","sans-serif";
color:windowtext}
span.EmailStyle23
{font-family:"Calibri","sans-serif";
color:#1F497D}
.MsoChpDefault
{font-size:10.0pt}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
-->
</style><style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0" vlink="#954F72" link="#0563C1" lang="EN-US">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>It works for me :)</div>
<div><br>
</div>
<div>Thanks, Al!</div>
<div><br>
</div>
<div>Irina</div>
<div><br>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF980458" style="direction: ltr;"><font size="2" face="Tahoma" color="#000000"><b>From:</b> Bailey, Henry Albert (Al)<br>
<b>Sent:</b> Wednesday, October 24, 2018 3:55 PM<br>
<b>To:</b> Mihai, Irina; Martinez Landa, Hayde; Penney, Don; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> RE: Problems building on master<br>
</font><br>
</div>
<div></div>
<div>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D">I pushed a fix for review.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D">The build passed in my env. Others can cherry pick and try in theirs while waiting for Zuul.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"><a href="https://review.openstack.org/#/c/613148/" target="_blank" rel="noopener noreferrer">https://review.openstack.org/#/c/613148/</a></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D">Al</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> Mihai, Irina [mailto:Irina.Mihai@windriver.com]
<br>
<b>Sent:</b> Wednesday, October 24, 2018 2:53 PM<br>
<b>To:</b> Martinez Landa, Hayde; Penney, Don; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re: [Starlingx-discuss] Problems building on master</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Hey,</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">For what's worth, I also saw that today in my build env.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">I'm building in a centos lxc container.</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">Irina</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> </span></p>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style="font-family:"Times New Roman","serif"; color:black">
<hr width="100%" size="2" align="center">
</span></div>
<div id="divRpF985375">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> Martinez Landa, Hayde [hayde.martinez.landa@intel.com]<br>
<b>Sent:</b> Wednesday, October 24, 2018 2:48 PM<br>
<b>To:</b> Penney, Don; starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> Re: [Starlingx-discuss] Problems building on master</span><span style="font-family:"Times New Roman","serif"; color:black"></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">Hi Don,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">%if %{with_python2}</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">%py2_build_wheel</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">Well I tried running it removing the line with the macro “py2_build_wheel” and it worked</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">But whit this line on, it fails with the error message:</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">libvirt-python.spec:131: bad %if condition</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="color:black">From: </span></b><span style="color:black">"Penney, Don" <Don.Penney@windriver.com><br>
<b>Date: </b>Wednesday, October 24, 2018 at 1:38 PM<br>
<b>To: </b>"Martinez Landa, Hayde" <hayde.martinez.landa@intel.com>, "starlingx-discuss@lists.starlingx.io" <starlingx-discuss@lists.starlingx.io><br>
<b>Subject: </b>RE: Problems building on master</span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D">I think you meant this update:</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"><a href="https://review.openstack.org/#/c/612517/" target="_blank" rel="noopener noreferrer">https://review.openstack.org/#/c/612517/</a></span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D">I don’t understand why you’d be seeing an issue, though. It built fine in my environment, and it shouldn’t impact any %if in the spec</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:#1F497D"> </span><span style="color:black"></span></p>
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"; color:black"> Martinez Landa, Hayde [mailto:hayde.martinez.landa@intel.com]
<br>
<b>Sent:</b> Wednesday, October 24, 2018 2:31 PM<br>
<b>To:</b> starlingx-discuss@lists.starlingx.io<br>
<b>Subject:</b> [Starlingx-discuss] Problems building on master</span><span style="color:black"></span></p>
</div>
</div>
<p class="MsoNormal"><span style="color:black"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">While trying to build on master I encountered the following issue:</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: patching file SPECS/libvirt-python.spec</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: ‘/localdisk/designer/haydemtzl/starlingx/cgcs-root/stx/stx-integ/virt/libvirt-python/centos/patches/0001-Fix-setup-import-to-support-building-wheel.patch’ -> ‘/localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SOURCES/./0001-Fix-setup-import-to-support-building-wheel.patch’</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: SPEC file: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: SRPM build directory: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: TIS_PATCH_VER: 2</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: error: parse error in expression</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: error: /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec:131: bad %if condition</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: ERROR: srpm_assemble (1296): rpmbuild failed: rpmbuild -bs /localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild/SPECS/libvirt-python.spec --define='%_topdir
/localdisk/loadbuild/haydemtzl/starlingx/std/srpm_assemble/libvirt-python/rpmbuild' --define='_tis_dist .tis' --undefine=dist</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 b4: ERROR: build_dir_srpm (802): failed to assemble srpm for 'libvirt-python-4.7.0-1.fc28'</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42 ERROR: reaper (1302): Failed to build src.rpm from source at 'b4'</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">17:09:42</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">######## Wed Oct 24 17:09:42 UTC 2018: build-srpm-parallel --std failed with rc=1</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">Wed Oct 24 17:09:42 UTC 2018: build-srpm-parallel --std failed with rc=1</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">Whit the help of Erich for debugging this,</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">We think it come from this change [0] that affects the specific line mentioned on the error above:</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">[0]</span><span style="color:black">
</span><span style="font-size:11.0pt; color:black"><a href="https://review.openstack.org/#/c/612519/" target="_blank" rel="noopener noreferrer">https://review.openstack.org/#/c/612519/</a></span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black">I was able to reproduce this in 3 diff environments, including our Jenkins automation setup.</span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; color:black"> </span><span style="color:black"></span></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>