Consider .so depends outside of package functions an error
.so
depends should only be added in package functions because they're only valid after makepkg has added a version bound to them.
At the top level, depends
and makedepends
are used by makepkg --syncdeps
, which cannot fill in version bounds and as a result can install the wrong packages.
Without the version bound, a dependency on libjack.so
can be fulfilled by libjack.so=0-64
provided by jack2
and libjack.so=0-32
provided by lib32-jack2
.