FS#67288 - [namcap] Shouldn't report missing dependencies covered by base
Attached to Project:
Arch Linux
Opened by PilzAdam (PilzAdam) - Wednesday, 15 July 2020, 16:26 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 11 August 2023, 15:51 GMT
Opened by PilzAdam (PilzAdam) - Wednesday, 15 July 2020, 16:26 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 11 August 2023, 15:51 GMT
|
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 by `base` and thus reports no error |
This task depends upon
Closed by Jelle van der Waa (jelly)
Friday, 11 August 2023, 15:51 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/pacman/namc ap/issues/55
Friday, 11 August 2023, 15:51 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/pacman/namc ap/issues/55
FS#18900. The decision back then was "wont-fix" with the following reason: "We're not clear about our policy. Re-open if it looks like we have a clear motivation for change."The mentioned "clear motivation for change" would be the introduction of the `base` package over the old `base` package group. The news post about the `base` package [1] clearly says "Users requesting support are expected to be running a system with the `base` package" and calls it a "mandatory" package. Clearly everybody is expected to have the `base` package installed now. I think this is a good reason to reconsider this issue now.
[1] https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/