First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 191441
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Dialup Developers <net-dialup@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stefan Behte <craig@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 191441 depends on: Show dependency tree
Bug 191441 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-09-05 21:30 0000
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...

------- Comment #1 From Stefan Behte 2007-09-05 21:31:44 0000 -------
I forgot to change yf_agb.pdf to test.pdf in the text, sorry for that.

------- Comment #2 From Steve Arnold 2007-09-08 18:33:53 0000 -------
Care to clarify that a little bit?

------- Comment #3 From Stefan Behte 2007-09-09 20:03:20 0000 -------
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.

------- Comment #4 From Steve Arnold 2007-09-10 02:38:31 0000 -------
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).

------- Comment #5 From Steve Arnold 2007-09-10 04:17:45 0000 -------
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"

------- Comment #6 From Steve Arnold 2007-09-10 04:31:19 0000 -------
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

------- Comment #7 From Alin Năstac 2007-09-14 06:01:31 0000 -------
I will take care of that.

------- Comment #8 From Alin Năstac 2007-09-14 20:42:35 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug