sodepends: Fix soname detection
- If SONAME does not contains .so, then we should ignore it.
- If the file is located outside of usr/lib{,32}, we should ignore it.
- If the specified soname is missing, it could be unversioned, print a warning instead of error.
- Don't consider internal libraries as missing provides.
- Include packages with missing provides when print depends=(), and sort it alphabetically.
E.g. bash package has some strange soname entries in its binaries, which should be ignored: Library soname: [head]
, Library soname: [whoami]
.
Edited by Balló György