When the "encodings" package builds, it gzips the *.enc files then invokes mkfontscale to generate an encodings.dir file in the same directory. It does this in both the main dir and the "large" dir. However, it attempts to do this directly in /usr/... rather than in DESTDIR prefixed location. The resulting installation into DESTDIR ends up with bogus encodings.dir files somehow, which contain entries for *.enc files that don't even exist. Some of them are compressed and others are not. Manually running "mkfontscale -e $DESTDIR/path/to/encodings -n" after "make install" causes the encodings.dir files to be regenerated correctly however.
Instead of running mkfontscale to generate encodings.dir files in the encodings directories during "make", it should be ran during "make install" instead, and it should honour DESTDIR so that it is not trying to invoke on the installed OS, but in the fake root DESTDIR points at instead.
Here's a bug reference to illustrate the problem this issue causes: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=173875
Uninteresting bug.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.