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#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
Task Type Bug Report
Category Packages: Extra
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:
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

Closed by  Allan McRae (Allan)
Monday, 29 April 2013, 05:55 GMT
Reason for closing:  Not a bug
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 28 April 2013, 17:43 GMT
Please be more specific about what you would like to see:

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.
Comment by Jelle van der Waa (jelly) - Sunday, 28 April 2013, 20:44 GMT
Nevermind it seems like this is the desired situation.

Loading...