Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1297557
Summary: | rpmdeps is recursively called infinitely when using external dependency generator | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Helmut Schlattl <helmut.schlattl> |
Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 23 | CC: | jzeleny, lkardos, novyjindrich, packaging-team-maint, pknirsch, pmatilai |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rpm-4.13.0-0.rc1.10.fc23 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-01 02:20:52 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
Helmut Schlattl
2016-01-11 20:53:03 UTC
Fixed upstream: https://github.com/rpm-software-management/rpm/commit/33158b3b009e830036d05c138a6b308c1574effe (In reply to Helmut Schlattl from comment #0) > Description of problem: > When using the external dependency generator > (%_use_internal_dependency_generator 0), then rpmdeps is stuck in a infinite > recursive loop. > > Version-Release number of selected component (if applicable): > rpm-4.13.0-0.rc1.7.fc23 > > How reproducible: > Always > > Steps to Reproduce: > 1. Set %_use_internal_dependency_generator 0 in .rpmmacros. You really, really should not be doing that. The old external dependency generator exists only for backwards compatibility with specs from older distros that rely on external depgen specifics (eg for filtering and custom deps). It should not be used for new packages, and certainly not as a global default. Perhaps a deprecation warning should finally be added to external depgen usage. (In reply to Ľuboš Kardoš from comment #1) > Fixed upstream: > > https://github.com/rpm-software-management/rpm/commit/ > 33158b3b009e830036d05c138a6b308c1574effe Thanks a lot. Sometimes it's easier than anticipated. (In reply to Panu Matilainen from comment #2) > > Steps to Reproduce: > > 1. Set %_use_internal_dependency_generator 0 in .rpmmacros. > > You really, really should not be doing that. > > The old external dependency generator exists only for backwards > compatibility with specs from older distros that rely on external depgen > specifics (eg for filtering and custom deps). It should not be used for new > packages, and certainly not as a global default. > > Perhaps a deprecation warning should finally be added to external depgen > usage. It's a pity, if this option would be discarded, just because it is not required for the standard distro. I a trying to set up a cross compile toolchain using rpm, and for this I found the external dependency generator convenient, since the script can be modified, e.g., to add the target architecture to the dependencies found by rpmdeps. The internal generator is fully customizable too these days (see http://rpm.org/wiki/PackagerDocs/DependencyGenerator) and that's what eg the mingw cross-compilation environment in Fedora uses for its dependendencies. Just FWIW. rpm-4.13.0-0.rc1.10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caca0b06d rpm-4.13.0-0.rc1.10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8caca0b06d rpm-4.13.0-0.rc1.10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |