Page MenuHomeFreeBSD

sanity: warn about unnused LIB_DEPENDS entries
ClosedPublic

Authored by tcberner on Nov 21 2020, 9:57 AM.
Tags
None
Referenced Files
F114601665: D27304.diff
Mon, Apr 14, 7:59 AM
Unknown Object (File)
Sun, Mar 30, 11:54 AM
Unknown Object (File)
Feb 25 2025, 2:57 PM
Unknown Object (File)
Feb 25 2025, 4:05 AM
Unknown Object (File)
Feb 22 2025, 2:17 PM
Unknown Object (File)
Feb 22 2025, 2:06 PM
Unknown Object (File)
Feb 22 2025, 1:35 PM
Unknown Object (File)
Feb 21 2025, 2:16 PM
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

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable