Learn more about these different git repos.
Other Git URLs
Steps to reproduce for Fedora 31:
$ podman run --rm -it fedora:31 $ dnf install copr-rpmbuild -y $ copr-rpmbuild --build-id 1276121 --chroot fedora-31-x86_64 ... mockbuild.exception.ConfigError: Could not find included config file: /var/lib/copr-rpmbuild/results/configs/templates/fedora-31.tpl ERROR: Error in configuration
And even if you copy the template:
$ mkdir /var/lib/copr-rpmbuild/results/configs/templates $ cp /etc/mock/templates/fedora-31.tpl /var/lib/copr-rpmbuild/results/configs/templates $ copr-rpmbuild --build-id 1276121 --chroot fedora-31-x86_64 ... KeyError: 'yum.conf' ERROR: Error in configuration
I get different errors in Fedora 32 and rawhide. First, a missing dependency:
$ podman run --rm -it fedora:32 $ dnf install copr-rpmbuild -y $ copr-rpmbuild --build-id 1276121 --chroot fedora-31-x86_64 ... FileNotFoundError: [Errno 2] No such file or directory: 'rsync'
But even if you install the missing dependency:
$ dnf install rsync -y $ copr-rpmbuild --build-id 1276121 --chroot fedora-31-x86_64 ... ERROR: [Errno 1] Operation not permitted ERROR: The most common cause for this error is trying to run /usr/libexec/mock/mock as an unprivileged user. ERROR: You should not run /usr/libexec/mock/mock directly.
Unfortunately, we still do some downstream patching of mock-core-configs; so we can not guarantee 100% functionality ... but the issues you describe here should be fixed.
Metadata Update from @praiskup: - Issue tagged with: bug
This issue has been migrated to GitHub: https://github.com/fedora-copr/copr/issues/1296
Metadata Update from @nikromen: - Issue close_status updated to: MIGRATED - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.