The package media-fonts/encodings-1.0.2 writes file /usr/share/fonts/encodings/encodings.dir which contains encoding entries for actually missing files. Let's say there are two entries for CP1251: microsoft-cp1251 ./microsoft-cp1251.enc microsoft-cp1251 ./microsoft-cp1251.enc.gz and the file microsoft-cp1251.enc is not present. This breaks the encoding discovery for mkfontscale program which looks for the first entry matching a given encoding. Possible solution is to build the encodings package in a separate subdir instead of ${S}/ dir. Let's say build it in ${S}/build/
Created attachment 136531 [details, diff] Patch encodings-1.0.2.ebuild to write correct encodings.dir file The patch makes the build process in a subdirectory ${S}/build This way the not installed *.enc files are not present in the encodings.dir file.
Fixed in encodings-1.0.2-r1. Sorry bout the delay.