Attempting to build font-misc-misc fails with: /opt/gentoo/usr/bin/ucs2any 4x6.bdf /map-ISO8859-1 ISO8859-1 /opt/gentoo/usr/bin/ucs2any: Can't read mapping file '/map-ISO8859-1': No such file or directory! make: *** [4x6-ISO8859-1.bdf] Error 1 ... from the following Makefile rule: .bdf-ISO8859-2.bdf: @rm -f $@ $(UCS2ANY) $< $(UTIL_DIR)/map-ISO8859-2 ISO8859-2 ... but where: UTIL_DIR = $(pkg-config --variable=mapdir fontutil) ... which is clearly wrong. Makefile.in and Makefile.am contain: UTIL_DIR = @MAPFILES_PATH@ ... and the ebuild does set: CONFIGURE_OPTIONS="--with-mapfiles=${XDIR}/share/fonts/util" ... so it looks as if the supplied Makefile needs to be regenerated. Failing this, how about this fix? --- Makefile.dist +++ Makefile @@ -294,7 +294,7 @@ JISX0201_BDF_FILES = $(BDF2UCS_JISX0201_FONT_FILES:%=%-JISX0201.1976-0.bdf) JISX0201_PCF_FILES = $(BDF2UCS_JISX0201_FONT_FILES:%=%-JISX0201.1976-0.pcf.gz) -UTIL_DIR = $(pkg-config --variable=mapdir fontutil) +UTIL_DIR := $(shell pkg-config --variable=mapdir fontutil) SUFFIXES = .bdf .pcf.gz t.bdf \ -ISO8859-1.bdf \ ... although the problem with this is that pkg-config outputs "/opt/gentoo/usr/share/fonts/X11/util", which doesn't match "${XDIR}/share/fonts/util". Having said this, the ebuild-supplied value of "${XDIR}/share/fonts/util" doesn't seem to exist, whereas the value from pkg-config does... so possibly the ebuild itself is also wrong?
Ah - the "X11" in the path above only occurred because I wasn't using x_modular_src_compile() when I (tried to) correct font-util. So the path in the ebuild is fine, but the Makefile still seems to be wrong!
Hmm, and then during post-setup I also get: * Creating fonts.scale files ... [ ok ] * Generating fonts.dir files ... /opt/gentoo//usr/sh: opendir: No such file or directory [ ok ] * Updating global fontcache ... [ ok ] >>> Recording media-fonts/font-misc-misc in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date.
... although mkfontscale is installed and running what looks as if are the steps carried out by x-modules.class' create_fonts_dir manually works...
hmmm, this ebuild seems to work fine for me
We are sorry to close this bug. We lack the man-power and devotion to support mips-irix in the tree.