<br><tt><font size=2>Thanks Dan.</font></tt>
<br>
<br><tt><font size=2>So I ran a quick regression test, just to make sure
that *i386* is still working, but, it *failed* ... (also note that i686
gave basically the same errors..)</font></tt>
<br>
<br><tt><font size=2>SEE BELOW for *regression* test results, both BEFORE
and AFTER applying patch 'plague-opt-arches-fix.patch' to server/Config.py.
&nbsp;I repeated that test sequence several times, by the way. &nbsp;Also,
I was surprised to see that 'WhoAmI' was trying to build as an 'i686' rpm
rather than a 'noarch' which is what it really is. So, since I can't be
exactly sure at this point how the &quot;optional_arches&quot; design is
supposed to tie-in with the &nbsp;&quot;base_arches&quot; design, it doesn't
make much sense for me (with my limited Python skills) to try and dig in
any further..</font></tt>
<br>
<br><tt><font size=2>Also, could you please explain/elaborate when you
say: &quot;Patch attached that should apply against an installed copy of
plague-server as well.&quot; &nbsp; </font></tt>
<br><tt><font size=2>Um, your patch is clearly intended to update file
server/Config.py file, so I really don't understand how I can also use
*it* to update file *plague-server* (/usr/bin/plague-server?) as well,
which appears to be a start-up script -- am I missing something here?</font></tt>
<br>
<br><tt><font size=2>For the good news (for me anyway), I'm also trying
to learn Python (Diving Into Python) on my own time, so that hopefully
one day I might be able help squash some of these bugs.. However, in the
meantime, I/we very much appreciate your help and expertise.. </font></tt>
<br>
<br><tt><font size=2>REGRESSION TEST RESULTS ARE BELOW...</font></tt>
<br>
<br><tt><font size=2>Dan Williams &lt;dcbw@redhat.com&gt; wrote on 07/15/2006
01:20:54 PM:<br>
<br>
&gt; On Tue, 2006-07-04 at 09:58 -0400, Joe Todaro wrote:<br>
&gt; &gt; <br>
&gt; &gt; Hi, &nbsp;<br>
&gt; &gt; I'm having a problem *not* being able to build 'i686' packages
(i.e.<br>
&gt; &gt; optional_arches=i686) anymore *after* having upgraded our plague<br>
&gt; &gt; server/builder (Opteron x86_64) a couple of weeks ago from<br>
&gt; &gt; plague-0.4.3 to *plague-0.5.0*. The problem happens only with
i686<br>
&gt; &gt; (optional_arches=i686) -- not with i386 (base_arches=i386) which<br>
&gt; &gt; continues to work flawlessly. &nbsp; <br>
&gt; <br>
&gt; Found and fixed in CVS HEAD. &nbsp;Patch attached that should apply
against<br>
&gt; an installed copy of plague-server as well. &nbsp;Thanks for the report,
and<br>
&gt; sorry for the lag.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; Dan<br>
&gt; <br>
&gt; <br>
&gt; [attachment &quot;plague-opt-arches-fix.patch&quot; deleted by Joe
<br>
&gt; Todaro/Poughkeepsie/IBM] </font></tt>
<br>
<br>
<br><tt><font size=2>REGRESSION TEST RESULTS:</font></tt>
<br>
<br><tt><font size=2>===========================================================================================</font></tt>
<br><tt><font size=2><b>*WITHOUT* THE OPTIONAL-ARCH FIX TO CONFIG.PY:</b></font></tt>
<br><tt><font size=2>===========================================================================================</font></tt>
<br><tt><font size=2>[root@lnxbuild1 ]$ </font></tt><tt><font size=2 color=blue>cat
/var/log/plague-server.log</font></tt>
<br><tt><font size=2>Using database engine mysql.</font></tt>
<br>
<br><tt><font size=2>Authorized Builders:</font></tt>
<br><tt><font size=2>------------------------------------------------------------------------------------------</font></tt>
<br><tt><font size=2>&nbsp; https://lnxbuild1.abc.com:8888 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unavailable</font></tt>
<br><tt><font size=2>&nbsp; https://lnxppc.abc.com:8888 &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unavailable</font></tt>
<br>
<br><tt><font size=2>Build Server accepting requests on lnxbuild1.abc.com:8887.</font></tt>
<br>
<br><tt><font size=2>Re-activating builder 'https://lnxbuild1.abc.com:8888'.</font></tt>
<br><tt><font size=2>Re-activating builder 'https://lnxppc.abc.com:8888'.</font></tt>
<br><tt><font size=2>Request to enqueue 'WhoAmI' tag '/afs/pok/projects/.../SRPMS/whoami/WhoAmI-4.00-9_rhel4.src.rpm'
for target 'oc100' (user 'jstodaro@us.ibm.com')</font></tt>
<br><tt><font size=2>625 (WhoAmI): Starting tag '/afs/pok/projects/.../SRPMS/whoami/WhoAmI-4.00-9_rhel4.src.rpm'
on target 'lnxaddons-100-install'</font></tt>
<br><tt><font size=2>625 (WhoAmI): Requesting depsolve...</font></tt>
<br><tt><font size=2>625 (WhoAmI): Starting depsolve for arches: ['i386'].</font></tt>
<br><tt><font size=2>625 (WhoAmI): Finished depsolve (successful), requesting
archjobs.</font></tt>
<br><tt><font size=2>625 (WhoAmI/noarch): https://lnxbuild1.abc.com:8888
- UID is f2e2220b50c7707b7f224f18455f39fa088c5a22</font></tt>
<br><tt><font size=2>625 (WhoAmI/noarch): Build result files - [ 'WhoAmI-4.00-9_rhel4.noarch.rpm',
'mockconfig.log', 'build.log', 'root.log', 'WhoAmI-4.00-9_rhel4.src.rpm',
'job.log' ]</font></tt>
<br><tt><font size=2>Repo 'lnxaddons-100-install': updating repository
metadata...</font></tt>
<br><tt><font size=2>Repo 'lnxaddons-100-install': Done updating.</font></tt>
<br><tt><font size=2>625 (WhoAmI): Job finished.</font></tt>
<br><tt><font size=2>Received SIGTERM, quitting...</font></tt>
<br><tt><font size=2>Shutting down...</font></tt>
<br><tt><font size=2>Repo (lnxaddons-100-install): shut down.</font></tt>
<br><tt><font size=2>Repo (lnxaddons-350-install): shut down.</font></tt>
<br><tt><font size=2>Repo (lnxaddons-100-unsupported): shut down.</font></tt>
<br><tt><font size=2>Done.</font></tt>
<br>
<br><tt><font size=2>===========================================================================================</font></tt>
<br><tt><font size=2><b>*WITH* THE OPTIONAL-ARCH FIX TO CONFIG.PY:</b></font></tt>
<br><tt><font size=2>===========================================================================================</font></tt>
<br><tt><font size=2>[root@lnxbuild1 ]$ </font></tt><tt><font size=2 color=blue>cat
/var/log/plague-server.log</font></tt>
<br><tt><font size=2>Using database engine mysql.</font></tt>
<br>
<br><tt><font size=2>Authorized Builders:</font></tt>
<br><tt><font size=2>------------------------------------------------------------------------------------------</font></tt>
<br><tt><font size=2>&nbsp; https://lnxbuild1.abc.com:8888 &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unavailable</font></tt>
<br><tt><font size=2>&nbsp; https://lnxppc.abc.com:8888 &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; unavailable</font></tt>
<br>
<br><tt><font size=2>Build Server accepting requests on lnxbuild1.abc.com:8887.</font></tt>
<br>
<br><tt><font size=2>Re-activating builder 'https://lnxbuild1.abc.com:8888'.</font></tt>
<br><tt><font size=2>Re-activating builder 'https://lnxppc.abc.com:8888'.</font></tt>
<br><tt><font size=2>Request to enqueue 'WhoAmI' tag '/afs/pok/projects/.../SRPMS/whoami/WhoAmI-4.00-9_rhel4.src.rpm'
for target 'oc100' (user 'jstodaro@us.ibm.com')</font></tt>
<br><tt><font size=2>626 (WhoAmI): Starting tag '/afs/pok/projects/.../SRPMS/whoami/WhoAmI-4.00-9_rhel4.src.rpm'
on target 'lnxaddons-100-install'</font></tt>
<br><tt><font size=2>626 (WhoAmI): Requesting depsolve...</font></tt>
<br><tt><font size=2>626 (WhoAmI): Starting depsolve for arches: ['i386'</font></tt><tt><font size=2 color=red>,
'i686', 'noarch'].</font></tt>
<br><tt><font size=2 color=red>626 (WhoAmI/i686): Depsolve Error: WARNING:
bad yum config for arch i686.</font></tt>
<br><tt><font size=2 color=red>Exception in thread PackageJob: 626/WhoAmI:</font></tt>
<br><tt><font size=2 color=red>Traceback (most recent call last):</font></tt>
<br><tt><font size=2 color=red>&nbsp; File &quot;/usr/lib64/python2.3/threading.py&quot;,
line 436, in __bootstrap</font></tt>
<br><tt><font size=2 color=red>&nbsp; &nbsp; self.run()</font></tt>
<br><tt><font size=2 color=red>&nbsp; File &quot;/usr/share/plague/server/PackageJob.py&quot;,
line 86, in run</font></tt>
<br><tt><font size=2 color=red>&nbsp; &nbsp; self._pkg_job.process()</font></tt>
<br><tt><font size=2 color=red>&nbsp; File &quot;/usr/share/plague/server/PackageJob.py&quot;,
line 719, in process</font></tt>
<br><tt><font size=2 color=red>&nbsp; &nbsp; if func():</font></tt>
<br><tt><font size=2 color=red>&nbsp; File &quot;/usr/share/plague/server/PackageJob.py&quot;,
line 587, in _stage_depsolve</font></tt>
<br><tt><font size=2 color=red>&nbsp; &nbsp; if self._arch_deps_solved(arch)
== False:</font></tt>
<br><tt><font size=2 color=red>&nbsp; File &quot;/usr/share/plague/server/PackageJob.py&quot;,
line 540, in _arch_deps_solved</font></tt>
<br><tt><font size=2 color=red>&nbsp; &nbsp; if base:</font></tt>
<br><tt><font size=2 color=red>UnboundLocalError: local variable 'base'
referenced before assignment</font></tt>
<br>
<br><tt><font size=2>Thanks again,</font></tt>
<br><tt><font size=2>-Joe </font></tt>