On 11/01/2010 03:46 AM, Allen Hewes wrote:
But I get errors on task newRepo. After getting koji up to snuff via
the ServerHowTo, I run these commands from kojiadmin user;
koji import ifstat-1.1-1.3.el5.src.rpm
koji add-tag dist-foo
koji add-pkg --owner allen dist-foo ifstat
koji tag-pkg dist-foo ifstat-1.1-1.3.el5
koji add-tag --parent dist-foo --arches i386 dist-foo-build
koji add-target dist-foo dist-foo-build
Do you mean these are the exact commands you entered? Specifically, is
ifstat-1.1-1.3.el5.src.rpm the only rpm you imported?
Importing srpms alone is almost always incorrect. This has been
discussed before:
http://lists.fedoraproject.org/pipermail/buildsys/2010-March/002969.html
If that is the case, then the problem is that your dist-foo tag has no
content to generate a repo from. Koji does not include source rpms in
repos by default. Even if it did or if you imported the ifstat binary
rpms, a repo containing only ifstat would be entirely useless for
building. A similar situation has been discussed before:
http://lists.fedoraproject.org/pipermail/buildsys/2010-March/002986.html
I'm not quite sure what your goals are with Koji. To get a functional
build repo you'll want to either import and tag sufficient rpms to
populate it, or add an external repo to the tag.