FS#45884 - [namcap] False positive on dependencies by scripts (i.e. devtools)

Attached to Project: Arch Linux
Opened by James Harvey (jamespharvey20) - Monday, 03 August 2015, 23:39 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 Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Using namcap-git on Extra/devtools:

...
Checking devtools-20150606-1-any.pkg.tar.xz
devtools W: Dependency included and not needed ('namcap')
devtools W: Dependency included and not needed ('openssh')
devtools W: Dependency included and not needed ('subversion')
devtools W: Dependency included and not needed ('rsync')
devtools W: Dependency included and not needed ('arch-install-scripts')

Dependencies are needed:
namcap - makechrootpkg:470 requires. Could be tricky, since it's in a cat <<'EOF' and ran by sudo.
openssh - community2extra:301 requires.
subversion - A ton of scripts need svn. i.e. archrelease:335
rsync
rsync - A ton of scripts need rsync. i.e. commitpkg:423
arch-installscripts - mkarchroot:314 requires pacstrap.
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/43
Comment by Kyle Keen (keenerd) - Tuesday, 04 August 2015, 02:44 GMT
Generally speaking, namcap is not smart enough to detect dependencies that are within scripts. Patches are welcome as long as they doesn't generate more spurious warnings than what we have now.
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...