In FIPS mode, libgcrypt has recently disabled MD5 and dirmngr fails setting the CRL cache record as it needs to calculate the MD5 sum of the cache file in dirmngr/crlcache.c:hash_dbfile(). It fails when trying to set up the MD5 hash context. I think the hashing algorithm could be upgraded to adapt to the FIPS changes in libgcrypt.
This report is related to https://dev.gnupg.org/T6191.