FreeBSD Bugzilla – Bug 128787
print/ghostscript8 8.63 fails with -sDEVICE=ijs -sIjsServer=hpijs
Last modified: 2010-04-25 14:26:14 UTC
After upgrading from ghostscript8-8.62_5 to 8.63, the following message shows up in the cups/error_log of all our hpijs-printers:
/var/log/cups/error_log.O:D [11/Nov/2008:13:24:20 +0100] [Job 75684] foomatic-gswrapper: gs '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=DESKJET 990' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=0,Quality:ColorMode=0,Quality:MediaType=0,Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=| cat >&3' '/dev/fd/0' 3>&1 1>&2
/var/log/cups/error_log.O:D [11/Nov/2008:13:26:49 +0100] [Job 75684] GPL Ghostscript 8.63: Can't start ijs server "hpijs"
/var/log/cups/error_log.O:D [11/Nov/2008:13:26:49 +0100] [Job 75684] **** Unable to open the initial device, quitting.
This can be reproduced on the command line.
The hpijs-executable is in place. (From the hplip-port.)
Downgrade to ghostscript8-8.62_5 helps.
How-To-Repeat: Run gs with -sDEVICE=ijs -sIjsServer=hpijs
Assign to maintainer
This seems to be related to the pthread lib. Setting
in src/Makefile.in fixes the error.
I forgot to mention that every erroneous print job produces a leftover
gsc process with 100% CPU load each. These have to be killed with
-9 to go away.
The bug is still present in print/ghostscript8 8.64 .
It's still broken for me and I just cvsup'ed the ports r2 weeks ago.
Ghostscript7 seems to be no longer building in ports also. :-(
In Ghostscript 8.64 the file is in base/Makefile.in. Until they fix
manually patch the file
is a workaround. The one change that is needed is here:
The STDLIBS variable in 8.6.4 seems to have the -lm in it already
Modified "patch-base-makefile.in" as per instructions in previous PR
reply. Applied to ghostscript-8.64_6, fixes failure to run HPIJS.
This PR can be closed WITH THE COMMITMENT OF THE LAST PATCH. Also, v8.63
of Ghostscript has been superceded by V8.70 (which, by the way, ALSO
requires this same patch!).
A patch has been committed to 8.71_1. Please try it and let us know
if it works or not.
hrs 2010-04-10 17:21:32 UTC
FreeBSD ports repository
Fix "-sDEVICE=ijs -sIjsServer=hpijs" issue.
Revision Changes Path
1.195 +1 -0 ports/print/ghostscript8/Makefile
1.3 +2 -2 ports/print/ghostscript8/files/patch-base-Makefile.in
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"
This problem has been solved. Thank you for your report!