Should "koji regen-repo" be necessary?

John Florian john.florian at dart.biz
Mon May 11 19:24:47 UTC 2015


I’m not doing a mass rebuild here though, but I think I might see why you’d think that.  I’m only building private packages for Fedora, so I have added our local mirrors of Fedora as external repos to Koji.

--
John Florian

From: buildsys-bounces at lists.fedoraproject.org [mailto:buildsys-bounces at lists.fedoraproject.org] On Behalf Of Clint Savage
Sent: Monday, May 11, 2015 15:12
To: Discussion of Fedora build system
Subject: Re: Should "koji regen-repo" be necessary?

I commonly turn off kojira when I'm doing a mass rebuild as each time a build finishes kojira will detect this and run. At least that's my experience. Generally speaking, I'd turn kojira off, then do all of the builds, then tell koji to do a regen-repo on its own, then restart kojira.
Cheers,
herlo

On Mon, May 11, 2015 at 12:56 PM, John Florian <john.florian at dart.biz<mailto:john.florian at dart.biz>> wrote:
I’m relatively new to Koji and my setup works very well, until it doesn’t.  A recurring theme is that the buildroot sometimes cannot be populated.  Today’s example:

DEBUG util.py:388:  Transaction Summary
DEBUG util.py:388:  ================================================================================
DEBUG util.py:388:  Install  11 Packages (+174 Dependent packages)
DEBUG util.py:388:  Total download size: 104 M
DEBUG util.py:388:  Installed size: 429 M
DEBUG util.py:388:  http://our-local-mirror-host /pub/fedora/updates/21/i386/p/perl-Encode-2.72-1.fc21.i686.rpm: [Errno 14] HTTP Error 404 - Not Found
DEBUG util.py:388:  Trying other mirror.
DEBUG util.py:388:  Error downloading packages:
DEBUG util.py:388:    1:perl-Encode-2.72-1.fc21.i686: failed to retrieve perl-Encode-2.72-1.fc21.i686.rpm from build
DEBUG util.py:388:  error was [Errno 14] HTTP Error 404 - Not Found
DEBUG util.py:499:  Child return code was: 1
DEBUG util.py:183:  kill orphans

When this happens I can regen-repo and then resubmit the build and everything will be fine.  Is this normal?  I was kind of under the impression that kojira maybe took care of this kind of thing, but the documentation vacuum leaves one to wonder quite a bit.

--
John Florian


--
buildsys mailing list
buildsys at lists.fedoraproject.org<mailto:buildsys at lists.fedoraproject.org>
https://admin.fedoraproject.org/mailman/listinfo/buildsys

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20150511/8457ec19/attachment-0001.html>


More information about the buildsys mailing list