"koji import " command fails

Mike McLean mikem at redhat.com
Mon Mar 15 14:47:57 UTC 2010


On 03/15/2010 05:50 AM, Eric Zhong wrote:
> i make SRPM dir, and put all srpms into it.
> i run the "koji import " or "koji import --link" , both fail.
> It looks like a Permission problem , but i can`t find it out.
> The mail
> http://lists.fedoraproject.org/pipermail/buildsys/2008-July/002085.html
> does not help!

If you're importing only srpms, you're most likely using the import 
command incorrectly.

The import command is an administrative command that imports *externally 
built* rpms into the system. In general you should only be importing a 
complete set of built rpms with it (source *and* binary/noarch rpms).

Importing just srpms creates a build for each that only contains the 
srpm, which is almost certainly not what you want. That import will 
actually prevent you from being able to rebuild those srpms because it 
consumes the given NVRs.

If you want to rebuild an srpm in koji, then use the build command.


More information about the buildsys mailing list