Warning: Permanently added '54.165.240.90' (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/9732619 Version: 1.6 PID: 8743 Logging PID: 8745 Task: {'appstream': False, 'background': False, 'build_id': 9732619, 'chroot': 'fedora-43-x86_64', 'package_name': 'Sunshine', 'project_dirname': 'pulls:pr:4359', 'project_name': 'pulls', 'project_owner': 'lizardbyte', 'repos': [], 'sandbox': 'lizardbyte/pulls--lizardbyte', 'source_json': {'builddeps': 'git jq python3 rpmlint', 'chroot': 'fedora-43-x86_64', 'hook_data': True, 'repos': '', 'resultdir': '', 'script': '#!/usr/bin/env bash\n' 'set -x\n' 'set -e\n' '\n' 'resultdir="${COPR_RESULTDIR}"\n' 'git clone "https://github.com/${COPR_OWNER}/${COPR_PACKAGE}.git" --depth 1\n' 'cd "${COPR_PACKAGE}"\n' '\n' '# get info from the webhook payload\n' 'if test -z "$REVISION"; then\n' ' # the hook_payload file contains webhook JSON payload (copr creates it for us);\n' ' # it is created only if the build is triggered by Custom webhook.\n' ' if test -f "$resultdir"/hook_payload; then\n' ' git clone https://github.com/praiskup/copr-ci-tooling \\\n' ' "$resultdir/cct" --depth 1\n' ' export PATH="$resultdir/cct:$PATH"\n' '\n' ' echo "---"\n' ' cat "$resultdir"/hook_payload\n' ' echo "---"\n' '\n' ' # use jq to get the pr_id from the hook_payload\n' ' PR=$(jq -r \'.pr_id // empty\' "$resultdir"/hook_payload)\n' ' if [ -z "$PR" ]; then\n' ' BRANCH="master"\n' ' else\n' ' BRANCH="pr/${PR}"\n' ' fi\n' '\n' ' copr-travis-checkout "$resultdir"/hook_payload\n' ' fi\n' 'else\n' ' git checkout "$REVISION"\n' 'fi\n' '\n' '# initialize the submodules\n' 'git submodule update --init --recursive\n' '\n' '# get the tag of this commit IF it has one\n' 'TAG=$(git tag --points-at HEAD | head -n1)\n' 'if [ -z "$TAG" ]; then\n' ' TAG="0.0.$PR"\n' 'fi\n' 'TAG="${TAG#v}" # remove v prefix from the tag\n' 'echo "TAG=$TAG"\n' '\n' '# get the commit\n' 'COMMIT=$(git rev-parse HEAD)\n' 'echo "COMMIT=$COMMIT"\n' '\n' '# move spec file to the correct location\n' 'directories=(\n' ' "."\n' ' "./packaging/linux/fedora"\n' ')\n' 'for dir in "${directories[@]}"; do\n' ' if [ -f "${dir}/${COPR_PACKAGE}.spec" ]; then\n' ' echo "Found spec file in ${dir}"\n' ' rpmlint "${dir}/${COPR_PACKAGE}.spec"\n' '\n' ' mv "${dir}/${COPR_PACKAGE}.spec" "${resultdir}"\n' ' break\n' ' fi\n' 'done\n' '\n' '# fail if the spec file is not in the resultdir\n' 'if [ ! -f "${resultdir}/${COPR_PACKAGE}.spec" ]; then\n' ' echo "ERROR: ${COPR_PACKAGE}.spec not found"\n' ' exit 1\n' 'fi\n' '\n' '# use sed to replace these values in the spec file\n' 'sed -i "s|%global build_version 0|%global build_version ${TAG}|" "${resultdir}"/*.spec\n' 'sed -i "s|%global branch 0|%global branch ${BRANCH}|" "${resultdir}"/*.spec\n' 'sed -i "s|%global commit 0|%global commit ${COMMIT}|" "${resultdir}"/*.spec\n' '\n' '# create a tarball of the source code\n' 'tar -czf "${resultdir}/tarball.tar.gz" .\n', 'tmp': 'tmpj60x62bh'}, 'source_type': 9, 'submitter': 'lizardbyte', 'task_id': '9732619'} Network error: Request client error on https://copr.fedorainfracloud.org/tmp/tmpj60x62bh/hook_payload: 404 NOT FOUND