Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
when trying to emerge gocr with the doc USE flag, I get: make[1]: Entering directory `/var/tmp/portage/app-text/gocr-0.43/work/gocr-0.43/examples' fig2dev -L ppm -m 2 font2.fig | ppmtopcx -packed >font21.pcx sh: gs: command not found fig2dev: broken pipe (GhostScript aborted?) command was: gs -q -dSAFER -sDEVICE=ppmraw -r80 -g835x507 -sOutputFile=- - ppmtopcx: Error reading magic number from Netpbm image stream. Most often, this means your input file is empty. make[1]: *** [font21.pcx] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/gocr-0.43/work/gocr-0.43/examples' make: *** [examples] Error 2 !!! ERROR: app-text/gocr-0.43 failed. Call stack: ebuild.sh, line 1632: Called dyn_compile ebuild.sh, line 983: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile gocr-0.43.ebuild, line 39: Called die !!! make src man doc examples failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-text/gocr-0.43/temp/build.log'. it doesn't find the command gs - which means, that ghostscript is missing as a dependency to the package Reproducible: Always Steps to Reproduce: 1. USE="doc" emerge gocr 2. see that it fails 3. Actual Results: the emerge fails Expected Results: it should go through fine # emerge --info Portage 2.1.2.11 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 10 Aug 2007 16:20:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.tds.net/gentoo " LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X acl apache2 bash-completion berkdb bitmap-fonts clamav cli cracklib crypt cups dbx doc dri gdbm iconv isdnlog logrotate midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl postgres pppd python readline reflection session spell spl ssl tcpd threads truetype-fonts type1-fonts unicode utf8 vhosts x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created an attachment (id=131235) [details] Fixed ebuild This is a fixed ebuild that adds the ghostscript dependancy.
Created an attachment (id=131240) [details] Fixed ebuild (correct one this time Sorry, uploaded wrong file. This time it's definitely correct. Have only tested it on 0.43 as 0.44 is failing for some other reason. E-mailed gocr developers to confirm for which versions is this a dependancy.
fixed, thanks ewan next time please attach unified diffs to ebuilds, it's easier to read and not longer to apply