Could you please check if it is still valid and happening in Debian unstable there has had several updates MariaDB client libraries / connector C libraries recently?
According to https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/opensips.html it is still failing in the same way.