Bug 2014639
Summary: | ocrmypdf: FTBFS in Fedora Rawhide | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ben Beasley <code> |
Component: | ocrmypdf | Assignee: | Elliott Sales de Andrade <quantum.analyst> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | mhroncok, python-sig, quantum.analyst |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://koschei.fedoraproject.org/package/ocrmypdf | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-10-26 14:18:21 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ben Beasley
2021-10-15 16:58:06 UTC
It seems that the dependency generator is broken, so I'm not sure I can do much about fixing this. Miro, would you mind taking a look at this when you have a chance? It seems like something interesting is going on with %pyproject_buildrequires in this project. It’s a slightly odd arrangement upstream—requires in pyproject.toml and also install_requires in setup.cfg, setup_requires in setup.py and also in setup.cfg, and extras_require in setup.cfg only—but it seems like generating the extras ought to work. It seems that when python3-cffi is installed, the buildrequires generator does not consider cffi installed. It instructs dnf to install python3dist(cffi), but that is already installed and hence the %generate_buildrequires section ends, and build proceeds to %build. Apparently, the check that fails here is more or less: >>> from packaging.requirements import Requirement >>> req = Requirement('cffi') >>> '1.15.0' in req.specifier True >>> '1.15.0rc2' in req.specifier False So, when pre-releases are installed, the generator does not see them as installed. Maybe a bug in python-packaging, or a well-documented behavior of it that we need to workaround. I will open a bugzilla for pyproject-rpm-macros later. Thanks for looking at it, and for the quick fix! FEDORA-2021-dd552b99bd has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-dd552b99bd FEDORA-2021-dd552b99bd has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-c150eb582a has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-c150eb582a FEDORA-2021-49a9344544 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-49a9344544 FEDORA-2021-49a9344544 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-49a9344544` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-49a9344544 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-7ddfcf642a has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-7ddfcf642a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7ddfcf642a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-c150eb582a has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-c150eb582a` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-c150eb582a See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-22b68be2d5 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-22b68be2d5 FEDORA-2021-d085ce09ef has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d085ce09ef FEDORA-2021-d085ce09ef has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d085ce09ef FEDORA-2021-49a9344544 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-22b68be2d5 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-22b68be2d5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-22b68be2d5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-d085ce09ef has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d085ce09ef` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d085ce09ef See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-22b68be2d5 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-22b68be2d5 FEDORA-2021-d085ce09ef has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d085ce09ef FEDORA-2021-d085ce09ef has been pushed to the Fedora 33 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d085ce09ef` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d085ce09ef See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-22b68be2d5 has been pushed to the Fedora 34 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-22b68be2d5` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-22b68be2d5 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2021-d085ce09ef has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2021-22b68be2d5 has been pushed to the Fedora 34 stable repository. If problem still persists, please make note of it in this bug report. |