Page MenuHomeFreeBSD

sanity: warn about unnused LIB_DEPENDS entries
ClosedPublic

Authored by tcberner on Nov 21 2020, 9:57 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 4, 10:00 AM
Unknown Object (File)
Mon, Jun 1, 6:01 PM
Unknown Object (File)
Sun, May 31, 1:45 AM
Unknown Object (File)
Wed, May 27, 1:52 PM
Unknown Object (File)
Fri, May 22, 10:04 AM
Unknown Object (File)
Thu, May 21, 6:59 PM
Unknown Object (File)
May 14 2026, 6:15 AM
Unknown Object (File)
May 13 2026, 7:52 AM
Subscribers

Details

Summary

This might be a bad idea, and certainly not a great implementation :) ...

stage-qa already warns about missing dependencies. However, it does not warn
about possibly unneeded ones.

This change tries to address this, by simply walking the list of linked against
shared libraries and then matching the entries of LIB_DEPENDS against them.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 34943
Build 31955: arc lint + arc unit