I have seen both of these error and I've been able to work around it by inserting a "yum reinstall glibc* -y" in the 03-yum-cleanup resource before build-locale-archive is called.
I have seen both of these error and I've been able to work around it by inserting a "yum reinstall glibc* -y" in the 03-yum-cleanup resource before build-locale- archive is called.