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
Task Type Bug Report
Category Arch Projects
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by PilzAdam (PilzAdam) - Wednesday, 15 July 2020, 17:30 GMT
I found a 10-year-old discussion on this issue in  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/
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...