ports/107207: cups-pstoraster misses PostScript fonts

Eygene Ryabinkin rea-fbsd at codelabs.ru
Tue Dec 26 15:00:38 UTC 2006

>Number:         107207
>Category:       ports
>Synopsis:       cups-pstoraster misses PostScript fonts
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 26 15:00:36 GMT 2006
>Originator:     Eygene Ryabinkin
>Release:        FreeBSD 6.2-PRERELEASE i386
Code Labs
System: FreeBSD XXX 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #10: Fri Dec 8 14:49:46 MSK 2006 root at XXX:/usr/obj/usr/src/sys/XXX i386
Fresh install of cups-base + cups-pstoraster reveals that any files, but
plain-text ones are not printed. A glance through error_log revealed
that espgs misses PostScript fonts. If ghostscript-gnu port is installed
afterwards, things are OK, since ghoscsript provides fonts for espgs.

Seems that cups-pstoraster misses the Ghostscript as a dependency.
Install cups (or cups-base + cups-pstoraster) from ports, but do not
install Ghostscript. Start CUPS system and try to print the test page.
It won't print. Change LogLevel to debug and restart cupsd. Print
test page again and you will see errors like this:
E [26/Dec/2006:16:20:38 +0300] [Job 3] /invalidfont in findfont
D [26/Dec/2006:16:20:38 +0300] [Job 3] Operand stack:
D [26/Dec/2006:16:20:38 +0300] Discarding unused printer-state-changed event...
D [26/Dec/2006:16:20:38 +0300] [Job 3] bigFont   Helvetica-Bold   Font   Helveti
ca-Bold   631567   Helvetica-Bold   --nostringval--   Helvetica-Bold   NimbusSan
D [26/Dec/2006:16:20:38 +0300] [Job 3] Execution stack:
D [26/Dec/2006:16:20:38 +0300] [Job 3] %interp_exit   .runexec2   --nostringval-
-   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --
nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_p
op   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runex
ec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
--nostringval--   2   3   %oparray_pop   3   3   %oparray_pop   --nostringval--
  --nostringval--   --nostringval--   --nostringval--   --nostringval--   --nost
ringval--   false   1   %stopped_push   6   4   %oparray_pop   --nostringval--
 --nostringval--   --nostringval--   1   -1   1   --nostringval--   %for_neg_int
D [26/Dec/2006:16:20:38 +0300] [Job 3] Dictionary stack:
D [26/Dec/2006:16:20:38 +0300] [Job 3] --dict:1089/1123(ro)(G)--   --dict:0/20(G
)--   --dict:123/200(L)--   --dict:47/65(ro)(G)--   --dict:1089/1123(ro)(G)--
D [26/Dec/2006:16:20:38 +0300] [Job 3] Current allocation mode is local
D [26/Dec/2006:16:20:38 +0300] [Job 3] Last OS error: 2
D [26/Dec/2006:16:20:38 +0300] [Job 3] ESP Ghostscript 815.03: Unrecoverable err
or, exit code 1
E [26/Dec/2006:16:20:38 +0300] [Job 3] No pages found!
Add Ghostscript port to the dependency list.

More information about the freebsd-ports-bugs mailing list