Bug 2259260
| Summary: | rpm: tools/elfdeps.c should default to filtering based on system search paths when generating provides | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Carlos O'Donell <codonell> |
| Component: | rpm | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fweimer, igor.raits, jwakely, mdomonko, mjw, packaging-team-maint, pmatilai, praiskup |
| Target Milestone: | --- | Keywords: | RFE |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2024-01-24 09:41:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Carlos O'Donell
2024-01-19 19:57:32 UTC
It's not exactly the first time this has been brought up. The problem is that the user of the private copy will still have package internal requires on it, which will then be unmet. Rpm doesn't differentiate between internal and external dependencies basically because it tracks dependencies on file-level as installed files of a package can vary. And such. I've yet to see any good solutions to this. As it is, packagers are expected to manually filter out bundled dependencies. (In reply to Panu Matilainen from comment #1) > It's not exactly the first time this has been brought up. > > The problem is that the user of the private copy will still have package > internal requires on it, which will then be unmet. Rpm doesn't differentiate > between internal and external dependencies basically because it tracks > dependencies on file-level as installed files of a package can vary. And > such. They key difference is that those unsatisfied internal dependencies impact only that one package, and not the whole distribution. With the current approach, it's possible to do something reasonable (package an upstream project in the way recommended by upstream—bundling is now allowed) and break the whole distribution by accident. It's another thing that makes Fedora contributions potentially less approachable. But I get that this isn't something that has an easy solution. Right, bundling being allowed now is a pretty significant change. Filtering out doesn't work, but perhaps the internal dependencies could be transformed into something that makes them stand out. Provides is easier, requires are harder since it requires resolving which is something rpm doesn't do during builds. But, this belongs to https://github.com/rpm-software-management/rpm/discussions/categories/ideas really. I started an upstream discussion on this: https://github.com/rpm-software-management/rpm/discussions/2872 Let's continue this there. For anybody not on GH, discussions are gated to rpm-maint email list too. *** Bug 1464368 has been marked as a duplicate of this bug. *** |