Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 188569
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: TeX herd <tex@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ákos Maróy <akos@maroy.hu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gocr-0.43.ebuild Fixed ebuild text/plain Ewan Marshall 2007-09-18 19:06 0000 1.45 KB Details
gocr.ebuild Fixed ebuild (correct one this time text/plain Ewan Marshall 2007-09-18 19:43 0000 1.48 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 188569 depends on: Show dependency tree
Bug 188569 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-12 10:54 0000
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

------- Comment #1 From Ewan Marshall 2007-09-18 19:06:35 0000 -------
Created an attachment (id=131235) [details]
Fixed ebuild

This is a fixed ebuild that adds the ghostscript dependancy.

------- Comment #2 From Ewan Marshall 2007-09-18 19:43:42 0000 -------
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.

------- Comment #3 From Alexis Ballier 2007-09-20 20:00:57 0000 -------
fixed, thanks ewan

next time please attach unified diffs to ebuilds, it's easier to read and not
longer to apply

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug