Warning: Permanently added '3.85.101.126' (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/9318644 Version: 1.3 PID: 9091 Logging PID: 9092 Task: {'appstream': False, 'background': True, 'build_id': 9318644, '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': '/hack/osdctl.spec', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/bergmannf', 'task_id': '9318644'} Running: git clone https://github.com/bergmannf/osdctl /var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/bergmannf/osdctl', '/var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl'... Running: git checkout v0.45.1 -- cmd: ['git', 'checkout', 'v0.45.1', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/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 b078a7f Use %{version} to get the version. 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-00bzlhnd/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl/hack/osdctl.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl/hack/osdctl.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-00bzlhnd/osdctl rc: 1 stdout: Could not parse spec file with error: can't parse specfile stderr: warning: line 15: Possible unexpanded macro in: Version: %{version} error: /var/lib/copr-rpmbuild/results/osdctl.spec: line 27: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. error: lua script failed: /usr/lib/rpm//lua/fedora/common.lua:78: error expanding macro Copr build error: warning: line 15: Possible unexpanded macro in: Version: %{version} error: /var/lib/copr-rpmbuild/results/osdctl.spec: line 27: Too many levels of recursion in macro expansion. It is likely caused by recursive macro declaration. error: lua script failed: /usr/lib/rpm//lua/fedora/common.lua:78: error expanding macro