The configure script would detect sqlite2 if installed and build an unused library based on it. On amd64 this went unnoticed, on aarch64 it broke due to invalid va_list handling.