https://bugs.debian.org/1003313 observes that for platforms like musl, gpg-error is back to requiring manual collection of lock object sizes.
It looks like 1fb90a7da186ee2ee098a666f6f3a35bb1720e59 changed configure.ac to scan for a platform triplet of *-*-linux-gnu* instead of the earlier *-*-linux*, but the commit message doesn't seem to explain why that's necessary.
Can we revert the line in configure.ac so that *-*-linux* platforms regain the automatic lock object introspection? Or, if that's ill-advised, can you explain why it might be a bad idea?