<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 13, 2015 at 7:13 PM, Sérgio Basto <span dir="ltr">&lt;<a href="mailto:sergio@serjux.com" target="_blank">sergio@serjux.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Seg, 2015-05-11 at 14:37 -0500, Dennis Gilmore wrote:<br>
&gt; On Monday, May 11, 2015 06:56:39 PM John Florian wrote:<br>
&gt; &gt; I&#39;m relatively new to Koji and my setup works very well, until it doesn&#39;t.<br>
&gt; &gt; A recurring theme is that the buildroot sometimes cannot be populated.<br>
&gt; &gt; Today&#39;s example:<br>
&gt; &gt;<br>
&gt; &gt; DEBUG util.py:388:  Transaction Summary<br>
&gt; &gt; DEBUG util.py:388:<br>
&gt; &gt; ===========================================================================<br>
&gt; &gt; ===== DEBUG util.py:388:  Install  11 Packages (+174 Dependent packages)<br>
&gt; &gt; DEBUG util.py:388:  Total download size: 104 M<br>
&gt; &gt; DEBUG util.py:388:  Installed size: 429 M<br>
&gt; &gt; DEBUG util.py:388:  <a href="http://our-local-mirror-host" target="_blank">http://our-local-mirror-host</a><br>
&gt; &gt; /pub/fedora/updates/21/i386/p/perl-Encode-2.72-1.fc21.i686.rpm: [Errno 14]<br>
&gt; &gt; HTTP Error 404 - Not Found DEBUG util.py:388:  Trying other mirror.<br>
&gt; &gt; DEBUG util.py:388:  Error downloading packages:<br>
&gt; &gt; DEBUG util.py:388:    1:perl-Encode-2.72-1.fc21.i686: failed to retrieve<br>
&gt; &gt; perl-Encode-2.72-1.fc21.i686.rpm from build DEBUG util.py:388:  error was<br>
&gt; &gt; [Errno 14] HTTP Error 404 - Not Found DEBUG util.py:499:  Child return code<br>
&gt; &gt; was: 1<br>
&gt; &gt; DEBUG util.py:183:  kill orphans<br>
&gt; &gt;<br>
&gt; &gt; When this happens I can regen-repo and then resubmit the build and<br>
&gt; &gt; everything will be fine.  Is this normal?  I was kind of under the<br>
&gt; &gt; impression that kojira maybe took care of this kind of thing, but the<br>
&gt; &gt; documentation vacuum leaves one to wonder quite a bit.<br>
&gt;<br>
&gt; kojira handles it for internally generated builds,  however it does not<br>
&gt; have any way to check if an external repo has changed and trigger new<br>
&gt; repos for external repos.  so you will need to do something that<br>
&gt; triggers kojira to generate a new repo or run regen-repo<br>
&gt;<br>
<br>
</div></div>When we want have a koji, to build packages that extends Fedora and have<br>
Fedora repos as external repos , what we can do ? to avoid this<br>
problem .<br>
We need setup an local mirror ? and after our local mirror sync<br>
packages, runs regen-repo ?<br>
<br>
Thanks,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Sérgio M. B.<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
buildsys mailing list<br>
<a href="mailto:buildsys@lists.fedoraproject.org">buildsys@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/buildsys" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/buildsys</a></div></div></blockquote></div><div class="gmail_extra"><br></div><br>Yes, you would script the repo regen after the mirror sync.</div><div class="gmail_extra"><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><br>-Jon Disnard</div>
</div></div>