Warning: Permanently added '3.86.155.97' (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/9805495 Version: 1.6 PID: 8656 Logging PID: 8658 Task: {'appstream': False, 'background': True, 'build_id': 9805495, 'chroot': None, 'package_name': 'xournalpp', 'project_dirname': 'xournalpp', 'project_name': 'xournalpp', 'project_owner': 'luya', 'repos': [], 'sandbox': 'luya/xournalpp--https://api.github.com/users/bhennion', 'source_json': {'clone_url': 'https://github.com/xournalpp/xournalpp.git', 'committish': '2afb6c7e5714f88f9342812baeadb9d4c5e9dabc', 'spec': 'rpm/fedora/xournalpp.spec', 'srpm_build_method': 'rpkg', 'subdirectory': '', 'type': 'git'}, 'source_type': 8, 'submitter': 'https://api.github.com/users/bhennion', 'task_id': '9805495'} Running: git clone https://github.com/xournalpp/xournalpp.git /var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://github.com/xournalpp/xournalpp.git', '/var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp'... Running: git checkout 2afb6c7e5714f88f9342812baeadb9d4c5e9dabc -- cmd: ['git', 'checkout', '2afb6c7e5714f88f9342812baeadb9d4c5e9dabc', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp rc: 0 stdout: stderr: Note: switching to '2afb6c7e5714f88f9342812baeadb9d4c5e9dabc'. 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 2afb6c7e Fix inertia calculation for minimal segments in shape recognizer 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-guyq750x/.config/rpkg.conf Running: rpkg srpm --outdir /var/lib/copr-rpmbuild/results --spec /var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp/rpm/fedora/xournalpp.spec cmd: ['rpkg', 'srpm', '--outdir', '/var/lib/copr-rpmbuild/results', '--spec', '/var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp/rpm/fedora/xournalpp.spec'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp rc: 0 stdout: Wrote: /var/lib/copr-rpmbuild/results/xournalpp.spec setting SOURCE_DATE_EPOCH=1725840000 Wrote: /var/lib/copr-rpmbuild/results/xournalpp-1.2.8^542.g2afb6c7e-1.src.rpm stderr: git_cwd_pack: archiving /var/lib/copr-rpmbuild/workspace/workdir-guyq750x/xournalpp: commit 2afb6c7e5714f88f9342812baeadb9d4c5e9dabc (HEAD, origin/master, origin/HEAD, master) Author: Thomas Moerschell <144177788+tmoerschell@users.noreply.github.com> Date: Thu Oct 9 19:46:18 2025 +0200 Fix inertia calculation for minimal segments in shape recognizer Inertia computed from only two points could be zero, causing division by zero. - Do not skip the last point when calculating inertia - Use std::span to prevent invalid Inertia::calc() usage - rename "end" index to "finish" for clarity git_cwd_pack: Wrote: /var/lib/copr-rpmbuild/results/xournalpp-2afb6c7e.tar.gz Output: ['xournalpp-2afb6c7e.tar.gz', 'xournalpp.spec', 'xournalpp-1.2.8^542.g2afb6c7e-1.src.rpm'] Running SRPMResults tool Package info: { "name": "xournalpp", "epoch": null, "version": "1.2.8^542.g2afb6c7e", "release": "1", "exclusivearch": [], "excludearch": [] } SRPMResults finished