There's a bug in libfmt 11. Revert libfmt to <11.
See https://bugs.gentoo.org/942306 for explanation and alternatives.