Warning: Permanently added '44.202.58.170' (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/10895286 Version: 1.9 PID: 10481 Logging PID: 10483 Task: {'appstream': False, 'background': False, 'build_id': 10895286, 'chroot': None, 'distributions_in_build': ['custom-1'], 'distributions_in_project': ['custom-1'], 'package_name': None, 'project_dirname': 'CentOs-6', 'project_name': 'CentOs-6', 'project_owner': 'amidevous', 'repos': [], 'sandbox': 'amidevous/CentOs-6--amidevous', 'source_json': {'clone_url': 'https://src.fedoraproject.org/rpms/python36.git', 'committish': '9766e2dcbf9a8b2dd034a41ed81fecb8dd9d1e9d', 'spec': '', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'amidevous', 'task_id': '10895286'} Running: git clone https://src.fedoraproject.org/rpms/python36.git /var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36 --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://src.fedoraproject.org/rpms/python36.git', '/var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36'... Running: git checkout 9766e2dcbf9a8b2dd034a41ed81fecb8dd9d1e9d -- cmd: ['git', 'checkout', '9766e2dcbf9a8b2dd034a41ed81fecb8dd9d1e9d', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36 rc: 0 stdout: stderr: Note: switching to '9766e2dcbf9a8b2dd034a41ed81fecb8dd9d1e9d'. 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 9766e2d Revert "Obsoleted by python3 from RHEL 7.7+" Generated rpkg config: [rpkg] preprocess_spec = True [git] anon_clone_url = https://src.fedoraproject.org/%(repo_path)s [lookaside] download_url = https://src.fedoraproject.org/repo/pkgs/%(ns1)s/%(name)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s Writing config into /var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36 cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-9vqbiudk/python36 rc: 1 stdout: Downloading Python-3.6.8.tar.xz from rpms/python36 at src.fedoraproject.org: Could not parse spec file with error: can't parse specfile stderr: error: %patchN is obsolete, use %patch N (or %patch -P N): %patch1 -p1 Copr build error: error: %patchN is obsolete, use %patch N (or %patch -P N): %patch1 -p1