Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159833 - dev-ruby/rmagick-1.14.1 fails if media-fonts/gnu-gs-fonts-std is not installed
Summary: dev-ruby/rmagick-1.14.1 fails if media-fonts/gnu-gs-fonts-std is not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
: 162726 (view as bug list)
Depends on:
Blocks: 159821
  Show dependency tree
 
Reported: 2007-01-03 04:35 UTC by Mathias Plichta
Modified: 2007-01-19 08:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Plichta 2007-01-03 04:35:12 UTC
Trying to compile rmagick (without the examples USE flag) yielded the following error:

/usr/bin/ruby18 -I /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib -I /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./ext/RMagick font_styles.rb (example 68 of 181)
/160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/misc.rb:317:in `get_type_metrics': unable to read font `/usr/share/fonts/default/ghostscript/n022003l.pfb' (Magick::ImageMagickError)
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/misc.rb:317:in `render'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/misc.rb:688:in `text'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/text.rb:64:in `add_primitives'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/container.rb:71:in `add_primitives'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/container.rb:71:in `each'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/container.rb:71:in `add_primitives'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/rvg.rb:262:in `add_outermost_primitives'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/rvg.rb:262:in `each'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/rvg.rb:262:in `add_outermost_primitives'
        from /160/var/tmp/portage/rmagick-1.14.1/work/RMagick-1.14.1/./lib/rvg/rvg.rb:235:in `draw'
        from font_styles.rb:27
post-setup.rb: font_styles.rb example returned error code 256
setup.rb:             Too many examples failed. The RMagick documentation cannot be installed
            successfully. Consult the README.txt file and try again, or send email
            to rmagick@rubyforge.org.

emerging gnu-gs-fonts-std fixed this for me, could it either be made a dependency, or could compiling/testing the examples be disabled if the examples USE flag is not set?

my emerge --info:
Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.17.11 i686)
=================================================================
System uname: 2.6.17.11 i686 Pentium II (Deschutes)
Gentoo Base System version 1.12.6
Last Sync: Wed, 03 Jan 2007 02:00:03 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 apm berkdb bitmap-fonts cli cracklib crypt dlloader dri eds elibc_glibc emboss encode foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kernel_linux libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Hans de Graaff gentoo-dev Security 2007-01-06 17:10:48 UTC
Actually the examples are part of the documentation, their output is used in the documentation. 

I have now introduced the doc USE flag in rmagick-1.14.1-r1 which makes building the documentation optional. When building documentation it is now ok for some of the examples to fail, so things should work without the fonts installed even the building the documentation.
Comment 2 Sergiy Borodych 2007-01-07 11:53:31 UTC
same error
yes plz add doc USE flag
Comment 3 Hans de Graaff gentoo-dev Security 2007-01-07 11:59:50 UTC
The doc USE flag is added to rmagick-1.14.1-r1, so please test that version to see if it solves the issue.
Comment 4 Mathias Plichta 2007-01-07 12:33:59 UTC
Works fine for me. Thanks a lot :)
Comment 5 Sergiy Borodych 2007-01-07 14:08:45 UTC
for me works too
plz stabilized it as soon as possible
Comment 6 Hans de Graaff gentoo-dev Security 2007-01-18 17:33:11 UTC
Thanks for your feedback. Bug #162682 has been opened to stablize the new version.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-01-19 08:10:29 UTC
*** Bug 162726 has been marked as a duplicate of this bug. ***