Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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 Eli Schwartz (eschwartz) - Sunday, 18 February 2018, 04:49 GMT
Task Type Bug Report
Category Arch Projects
Status Assigned
Assigned To Kyle Keen (keenerd)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
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

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.

Loading...