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
faxspool 17934929 ~/test.pdf faxq-helper: sequence file does not exist, creating... spooling to /tmp/F000001.21613.28 (->F000001)... spooling /root/yf_agb.pdf... /root/yf_agb.pdf is format: pdf /usr/bin/faxspool: line 388: acroread: command not found Putting Header lines on top of pages... nothing to do (no cover page, no data). Well it tries to run acroread, but it's not there...
I forgot to change yf_agb.pdf to test.pdf in the text, sorry for that.
Care to clarify that a little bit?
When you're trying to send a fax with faxspool, the following method is called in /usr/bin/faxspool to convert the pdf to ghostscript: fs_cvt_pdf() { driver="$GS_DRIVER_HI" test X$3 = X-n && driver="$GS_DRIVER_LO" cat $1 | acroread -toPostScript | gs $driver -sOutputFile=$2%03d -dNOPAUSE -q -dSAFER - } Unfortunately, the ebuild does not check the availability of app-text/acroread, so converting your pdf will fail; thus you fax won't be send. Maybe the whole script should be changed so that ghostscript is used to convert the pdf instead of acroread? I have no clue why upstream did it this way.
Thanks for the clarification; I was thinking along those same lines, so let me see what I can find to use as an appropriate dep (ie, other than acroread).
Actually, now that I'm looking, /usr/bin/faxspool belongs to mgetty, not hylafax. Reassigning to net-dialup... The fix: DEPEND="virtual/ghostscript" In src_install: dosed "s:acroread -toPostScript:pdf2ps -sOutputFile=- -:g" \ /usr/bin/faxspool || die "dosed failed"
That should probably be RDEPEND instead, along with a few other packages being called from that script: media-libs/netpbm app-text/acroread (you'll need acroread unless you make the suggested change in the previous post, and it needs ghostscript anyway) I don't have these, and the script calls them: giftoppm hp2log3
I will take care of that.
Fixed in mgetty-1.1.36, except hp2log3 executable which I don't have it either. However, this isn't a show stopper since it is called only for *.{lj,pcl} input files.