Warning: Permanently added '52.91.167.208' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/9318612 Version: 1.3 PID: 9083 Logging PID: 9084 Task: {'appstream': False, 'background': True, 'build_id': 9318612, 'chroot': None, 'package_name': 'osdctl', 'project_dirname': 'osdctl', 'project_name': 'osdctl', 'project_owner': 'monad', 'repos': [], 'sandbox': 'monad/osdctl--https://api.github.com/users/bergmannf', 'source_json': {'clone_url': 'https://github.com/bergmannf/osdctl', 'committish': 'v0.45.1', 'spec': 'osdctl.spec', 'srpm_build_method': 'rpkg', 'subdirectory': 'hack', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/bergmannf', 'task_id': '9318612'} Running: git clone https://github.com/bergmannf/osdctl /var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/bergmannf/osdctl', '/var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl'... Running: git checkout v0.45.1 -- cmd: ['git', 'checkout', 'v0.45.1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl rc: 0 stdout: stderr: Note: switching to 'v0.45.1'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at dc1bbc6 Test other rpkg syntax for version expansion? Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://github.com/%(repo_path)s [lookaside] download_url = https://${git_props:remote_netloc}/repo/pkgs/%(repo_path)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl/hack/osdctl.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl/hack/osdctl.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-x_1i96f9/osdctl/hack rc: 1 stdout: Could not parse spec file with error: can't parse specfile stderr: error: You need to define Version:, %{commit} or %{tag} before the macro invocation ! error: lua script failed: /usr/lib/rpm//lua/fedora/srpm/forge.lua:203: error expanding macro Copr build error: error: You need to define Version:, %{commit} or %{tag} before the macro invocation ! error: lua script failed: /usr/lib/rpm//lua/fedora/srpm/forge.lua:203: error expanding macro