Originally reported for Fedora Review Service: https://github.com/FrostyX/fedora-review-service/issues/47
Snippet from the fedora-review.log
fedora-review.log
05-11 08:30 root INFO Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results 05-11 08:30 root DEBUG ReviewError: 'More than one srpm found for: /var/lib/copr-rpmbuild/results/kfreestyle2d*.src.rpm' Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 236, in run self._do_run(outfile) File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 226, in _do_run self._do_report(outfile) File "/usr/lib/python3.12/site-packages/FedoraReview/review_helper.py", line 83, in _do_report if not self.bug.find_urls(): ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/FedoraReview/abstract_bug.py", line 202, in find_urls raise fre File "/usr/lib/python3.12/site-packages/FedoraReview/abstract_bug.py", line 194, in find_urls self.find_srpm_url() File "/usr/lib/python3.12/site-packages/FedoraReview/name_bug.py", line 58, in find_srpm_url raise self.BugError("More than one srpm found for: " + pattern) FedoraReview.abstract_bug.AbstractBug.BugError: 'More than one srpm found for: /var/lib/copr-rpmbuild/results/kfreestyle2d*.src.rpm' 05-11 08:30 root ERROR ERROR: 'More than one srpm found for: /var/lib/copr-rpmbuild/results/kfreestyle2d*.src.rpm'
The error is (IMHO) expected but the traceback shouldn't be there.
The error is (IMHO) expected
Or maybe isn't? The Fedora Review Service ticket mentions using forge macros as a possible cause.
Attaching a specfile so that anyone can debug this: <img alt="kfreestyle2d.spec" src="/FedoraReview/issue/raw/files/e1a63621f73d611811a55b51f1f7a9c5d6c30252755e56002a15577e2d1f7621-kfreestyle2d.spec" />
Log in to comment on this ticket.