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!
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!
FS#35012 - [namcap] Add abilitiy to detect the optdepends array
Attached to Project:
Arch Linux
Opened by Jelle van der Waa (jelly) - Sunday, 28 April 2013, 12:03 GMT
Last edited by Allan McRae (Allan) - Monday, 29 April 2013, 05:55 GMT
Opened by Jelle van der Waa (jelly) - Sunday, 28 April 2013, 12:03 GMT
Last edited by Allan McRae (Allan) - Monday, 29 April 2013, 05:55 GMT
|
DetailsDescription:
Take the following pkgbuild, [1] it has python2 and qt4 as optdepend, but namcap still warns: openimageio W: Dependency qt4 detected but optional (libraries ['usr/lib/libQtOpenGL.so.4', 'usr/lib/libQtGui.so.4', 'usr/lib/libQtCore.so.4'] needed in files ['usr/bin/iv']) openimageio W: Dependency python2 detected but optional (libraries ['usr/lib/libpython2.7.so.1.0'] needed in files ['usr/lib/python2.7/site-packages/OpenImageIO.so']) Wouldn't it be nice to make namcap hide the warnings when the optdepends array has the dependency included. [1] https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/openimageio |
This task depends upon
namcap already knows the dependency is optional (it says it in the message)
and it already gives it a less serious status: it is a warning and not an error.