Shouldn't report missing dependencies covered by base
Task Info (Flyspray) | |
---|---|
Opened By | PilzAdam (PilzAdam) |
Task ID | 67288 |
Type | Bug Report |
Project | Arch Linux |
Category | Arch Projects |
Version | None |
OS | All |
Opened | 2020-07-15 16:26:37 UTC |
Status | Assigned |
Assignee | Rémy Oudompheng (remyoudompheng) |
Details
Description:
namcap shouldn't report missing dependencies on packages that are required by the base
package. It can be assumed that every user has the base
package, and thus all its dependencies, already installed.
Additional info:
- namcap 3.2.10-1
Steps to reproduce:
- build a package with a Bash script (including shebang) without
bash
dependency (e.g. https://aur.archlinux.org/packages/simple-restart-check/) - run namcap on the created package
Actual behavior:
- namcap reports: "E: Dependency bash detected and not included (programs ['bash'] needed in scripts ['usr/bin/...'])"
Expected behavior:
- namcap detects that
bash
is required bybase
and thus reports no error