#4178 make: *** No rule to make target 'sources'. Stop.
Closed: Fixed by vanzhiganov. Opened by vanzhiganov.

Hello, I have the Koji instance based on rockylinux9, and I am trying to build bash package with cli:

koji build common "git+https://git.centos.org/rpms/bash.git#9cbdf4fdb89fe717ae05c0df3ae34c101ed9db47"

But, build failed with error:

make: *** No rule to make target 'sources'.  Stop.

In kojid.conf:

allowed_scms=
  git.rockylinux.org:/*:no
  git.centos.org:/rpms/*:no

What wrong with my configuration?


CentOS is not using default "make sources" behaviour, but custom package for downloading sources from lookaside-cache. So, allowed_scms should contain lines like:

git.centos.org:/rpms/*\:no\:centpkg,sources

(ignore backslashes, pagure otherwise hid the part in between)

https://docs.infra.centos.org/buildsys/koji-cbs/#cbs-buildsys-tag-inheritance

Metadata Update from @tkopecek:
- Custom field Size adjusted to None

Thank you for useful answer.

Metadata Update from @vanzhiganov:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata Update from @vanzhiganov:
- Issue status updated to: Open (was: Closed)

Metadata Update from @vanzhiganov:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/koji/issues/4178

Please continue any further discussion there.

Metadata