Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 46796

Summary: foomatic-db: HP deskjet driver depends on ghostscript and pnm2ppa
Product: Gentoo Linux Reporter: Harm Geerts <gentoo+bugs>
Component: [OLD] PrintingAssignee: Printing Team <printing>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harm Geerts 2004-04-04 13:36:01 UTC
The HP deskjet 710C driver depends on ghostscript and pnm2ppa.

This is part of my cups error.log

D [04/Apr/2004:20:43:16 +0200] [Job 2] Starting renderer
D [04/Apr/2004:20:43:16 +0200] [Job 2] JCL: <job data>
D [04/Apr/2004:20:43:16 +0200] [Job 2]
D [04/Apr/2004:20:43:16 +0200] [Job 2] renderer PID kid4=16409
D [04/Apr/2004:20:43:16 +0200] [Job 2] renderer command: gs -q -dNOPAUSE -dPARAN
OIDSAFER -dBATCH -r600 -sDEVICE=ppmraw  -sOutputFile=- - | pnm2ppa -v 710  --fd
--bi -B 2 -t 150 -b 150 -l 150 -r 150 -x 160 -y 50 -i - -o -
D [04/Apr/2004:20:43:16 +0200] [Job 2] perl: warning: Setting locale failed.
D [04/Apr/2004:20:43:16 +0200] [Job 2] perl: warning: Please check that your loc
ale settings:
D [04/Apr/2004:20:43:16 +0200] [Job 2] LANGUAGE = (unset),
D [04/Apr/2004:20:43:16 +0200] [Job 2] LC_ALL = (unset),
D [04/Apr/2004:20:43:16 +0200] [Job 2] LANG = "en"
D [04/Apr/2004:20:43:16 +0200] [Job 2] are supported and installed on your syste
m.
D [04/Apr/2004:20:43:16 +0200] [Job 2] perl: warning: Falling back to the standa
rd locale ("C").
D [04/Apr/2004:20:43:16 +0200] [Job 2] foomatic-gswrapper: gs '-dNOPAUSE' '-dPAR
ANOIDSAFER' '-dBATCH' '-r600' '-sDEVICE=ppmraw' '-sOutputFile=| cat >&3' '/dev/f
d/0' 3>&1 1>&2
D [04/Apr/2004:20:43:16 +0200] [Job 2] sh: line 1: gs: command not found
D [04/Apr/2004:20:43:16 +0200] [Job 2] sh: line 1: pnm2ppa: command not found
D [04/Apr/2004:20:43:16 +0200] [Job 2] renderer return value: 127

possible fixes:
1. add a dependancy
2. add a econf message for HP deskjet users to emerge both ghostscript and pnm2ppa
3. ban all HP deskjets from the face of this planet

If it were up to me I'd settle for option 3 ;)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-04-08 03:54:08 UTC
i'm in favor of solution one ;) fixed :)