Missing run-time dependencies in packages `ebtables`, `libassuan` and `rpm-ostree`
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
The following packages missing some run-time dependencies:
- ebtables: perl
- libassuan: libgpg-error-devel
- rpm-ostree: json-c, libmodulemd, polkit, sqlite, cppunit
When adding package ebtables libassuan rpm-ostree to common/data/packages_minimal.json and make minimal-iso , the following RPMs don't exist in the ISO: perl libgpg-error-devel json-c libmodulemd polkit sqlite cppunit . If you use this ISO to install photon, error will be reported like "xxx can not be found".
It's because photon/support/package-builder/SpecDeps.py can not detect run-time dependency if the dependency is not added to the package spec file by Requires field. And the denpendency will not be copied to ISO.
I'm not sure if there are other packages have the same error.
Reproduction steps
1. add `ebtables` to `common/data/packages_minimal.json`
2. make minimal-iso
3. use ISO to install Photon OS
4. installation failed
Expected behavior
Use above ISO to install Photon OS will succeed.
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading photon/support/package-builder/SpecDeps.py, then reproduce the issue by adding the listed packages to common/data/packages_minimal.json and running make minimal-iso. Verify that perl, libgpg-error-devel, json-c, libmodulemd, polkit, sqlite, and cppunit are present in the resulting ISO and that Photon OS installation succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100