Koji build fails because source package is not found.

Till Maas opensource at till.name
Fri Aug 30 07:15:29 UTC 2013


On Fri, Aug 30, 2013 at 09:05:08AM +0200, Erwin Waterlander wrote:

> Yesterday I updated the spec file of the "wcd" package, because
> there is a new upstream version. I pushed the new wcd.spec file and
> started a new build with "fedpkg build".
> The build fails, because the source package is not found. See
> http://kojipkgs.fedoraproject.org//work/tasks/1451/5871451/build.log
> 
> error: File /builddir/build/SOURCES/wcd-5.2.4-src.tar.gz: No such
> file or directory
> 
> What should I do to fix this error? I was in the assumption that the
> source package is automatically downloaded via the info in the spec
> file.

You need to download the source tarball to the git working directory, e.g with
spectool -g wcd.spec

And then add it to the sources file with:
fedpkg new-sources wcd-5.2.4-src.tar.gz

Then you needs to commit and push the new sources file.

Koji fetches only the tarballs that are mentioned in the sources file
and for security reasons they need to be added explicitly by packagers
to it.

Regards
Till


More information about the devel mailing list