Bug 897
| Summary: | Dependencies of a package vary on the presence of that package at build time | ||
|---|---|---|---|
| Product: | Sisyphus | Reporter: | Mikhail Zabaluev <mhz> |
| Component: | rpm-build | Assignee: | Gleb F-Malinovskiy <glebfm> |
| Status: | CLOSED WORKSFORME | QA Contact: | qa-sisyphus |
| Severity: | minor | ||
| Priority: | P4 | CC: | arseny, glebfm, imz, mike |
| Version: | unstable | ||
| Hardware: | all | ||
| OS: | Linux | ||
Ditto for shell auto-dependencies, e.g. initscripts will require itself if it\'s present in the system (in the build environment, to be correct) during the build, and miss it if it\'s not present. I see the following solutions to overcome this problem: 1. For filename-based dependencies (libraries, plain pathnames), search for the file referenced by a dependency both in the system and in the build root. the perl.req script already does this. 2. (Ugly) Before a package rebuild in the build environment, a developer may provide the produced binary packages, built on the developer\'s workstation, as a hint: the build environment will (non-fatally) resolve dependencies of the preliminary binary packages for its mockup filesystem and package database. Ditto for shell auto-dependencies, e.g. initscripts will require itself if it\'s present in the system (in the build environment, to be correct) during the build, and miss it if it\'s not present. I see the following solutions to overcome this problem: 1. For filename-based dependencies (libraries, plain pathnames), search for the file referenced by a dependency both in the system and in the build root. the perl.req script already does this. 2. (Ugly) Before a package rebuild in the build environment, a developer may provide the produced binary packages, built on the developer\'s workstation, as a hint: the build environment will (non-fatally) resolve dependencies of the preliminary binary packages for its mockup filesystem and package database. Кажется, это всё с тех пор изрядно менялось, в т.ч. по части отфильтровывания self requires? С внедрением hasher'а неактуально. |

Description
Mikhail Zabaluev 2002-05-08 00:41:21 MSD