imagemagick-6.0.7.1 fonts defaults to /usr/share/ghostscript/fonts and this directory isn't here any more with app-text/ghostscript-7.07.1-r7. They are located in /usr/share/fonts/default/ghostscript with media-fonts/gnu-gs-fonts-std-8.11. I workaround this problem by doing a symlink by hand.
# emerge info Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10) ================================================================= System uname: 2.6.8-gentoo-r10 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache notitles sandbox" GENTOO_MIRRORS="ftp://mir.zyrianes.net/gentoo/ http://mir.zyrianes.net/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirror.nutsmaas.nl/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/src/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode f77 foomaticdb gdbm gif gtk gtk2 guile imlib jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sse ssl tcpd tiff truetype usb x86 xml2 xmms xprint xv zlib"
Because of this bug ImageMagick installation fails if FEATURES=maketest is enabled: [...] PASS: Magick++/demo/analyze.sh Caught exception: lt-button: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/button.sh Read images ... Creating thumbnails... add noise ... annotate ... Caught exception: lt-demo: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/demo.sh PASS: Magick++/demo/flip.sh angle 0 Caught exception: lt-gravity: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/gravity.sh Caught exception: lt-piddle: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/piddle.sh Caught exception: lt-shapes: unable to read font `/usr/share/ghostscript/fonts/n019003l.pfb' FAIL: Magick++/demo/shapes.sh PASS: Magick++/demo/zoom_bessel.sh [...] 5 of 594 tests failed ===================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/tmp/portage/portage/imagemagick-6.1.3.2/work/ImageMagick-6.1.3' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/tmp/portage/portage/imagemagick-6.1.3.2/work/ImageMagick-6.1.3' make: *** [check] Error 2 !!! ERROR: media-gfx/imagemagick-6.1.3.2 failed. !!! Function src_test, Line 520, Exitcode 0 !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, NOT this status message.
Same in 6.1.3.4
The problem lies (still present as of version 6.1.3) in /usr/lib/ImageMagick-6.x.x/config/type-ghostscript.xml As stated below, substitute all instances of /usr/share/ghostscript/fonts with /usr/share/fonts/default/ghostscript.
Created attachment 48441 [details, diff] Patch for imagemagick-6.1.3.4.ebuild Added --with-gs-font-dir=/usr/share/fonts/default/ghostscript to the src_compile() section.
Fixed in CVS.