FS#7764 - namcap wrongly complains about missing dependencies
Attached to Project:
Arch Linux
Opened by Truls Becken (bogomipz) - Wednesday, 08 August 2007, 20:32 GMT
Last edited by Allan McRae (Allan) - Friday, 27 March 2009, 06:46 GMT
Opened by Truls Becken (bogomipz) - Wednesday, 08 August 2007, 20:32 GMT
Last edited by Allan McRae (Allan) - Friday, 27 March 2009, 06:46 GMT
|
Details
There are two scenarios where namcap 1.6.1 wrongly complains
about missing dependencies:
1) A package has a dependency which namcap doesn't recognize. This makes it print a warning about an unnecessarily included dep, which is fine. This dep again depends on a package that is needed for the original package as well. Namcap prints an error about the indirectly included depend not being included. In other words, a situation that should lead to a warning, gives the warning *plus* an error. Example where gnustep-back depends on gnustep-gui; backbone-cvs E: Dependency detected and not included (gnustep-gui) from files ['opt/GNUstep/Library/Bundles/Colors.prefs/Colors', 'opt/GNUstep/Tools/open', 'opt/GNUstep/Tools/Terminal', 'opt/GNUstep/Library/Bundles/Defaults.prefs/Defaults', 'opt/GNUstep/Tools/TextEdit', 'opt/GNUstep/Library/Bundles/Font.prefs/Font', 'opt/GNUstep/Applications/Preferences.app/Preferences', 'opt/GNUstep/Applications/Terminal.app/Terminal', 'opt/GNUstep/Applications/TextEdit.app/TextEdit', 'opt/GNUstep/Tools/Preferences', 'opt/GNUstep/Library/Bundles/Keyboard.prefs/Keyboard', 'opt/GNUstep/Library/Bundles/Time.prefs/Time'] backbone-cvs W: Dependency included and not needed (gnustep-back) 2) A package depends on something listed in the provides array of another package. Namcap does not recognize that the dependency is met. Example where gnustep-back depends on libgl, which is provided by nvidia-utils; gnustep-back E: Dependency detected and not included (nvidia-utils) from files ['opt/GNUstep/Library/Bundles/libgnustep-cairo-012.bundle/libgnustep-cairo-012', 'opt/GNUstep/Library/Bundles/libgnustep-xlib-012.bundle/libgnustep-xlib-012', 'opt/GNUstep/Library/Bundles/libgnustep-art-012.bundle/libgnustep-art-012', 'opt/GNUstep/Tools/gpbs', 'opt/GNUstep/Tools/font_cacher'] |
This task depends upon
Closed by Allan McRae (Allan)
Friday, 27 March 2009, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: in git
Friday, 27 March 2009, 06:46 GMT
Reason for closing: Fixed
Additional comments about closing: in git
namcap no longer complains about a missing nvidia-utils dep when libgl is listed.
The 'indirection' issue still remains, though.