Problems after upgrade to CUPS 1.7.1 - gstoraster error

Boris Samorodov bsam at passap.ru
Thu Apr 3 14:32:53 UTC 2014


02.04.2014 22:09, Dr. Peter Voigt пишет:
> After one of the latest ports tree updates on 10.0-RELEASE I upgraded
> CUPS to version 1.7.1. This version of CUPS reveals some strange
> behavior, although printing itself seems to work as expected.
> 
> After the printer has finished a job the job is still being marked as
> active. The CUPS web interface has marked the job as 'stopped 
> "Filter failed"' and the CUPS version of "lpq" still lists the job as
> being queued.
> 
> The cups log file is directed on my system to rsyslogd and shows
> following error messages:
> 
> - Job stopped due to filter errors; please consult the error_log file
>   for details.
> - /usr/local/libexec/cups/filter/gstoraster) stopped with status 1.
> 
> Fortunately these errors do not block the printing system, e.g. I can
> start further print jobs which will be printed immediately. However it
> is annoying that the printing queue gets filled more and more.
> 
> Here are my installed CUPS related packages:
> 
> # pkg version -v |grep cups
> cups-1.7.1                         =   up-to-date with port
> cups-base-1.7.1                    =   up-to-date with port
> cups-client-1.7.1                  =   up-to-date with port
> cups-filters-1.0.42                =   up-to-date with port
> cups-image-1.7.1                   =   up-to-date with port
> cups-pstoraster-8.15.4_7           =   up-to-date with port
> gutenprint-cups-5.2.8_1            =   up-to-date with port
> 
> Any advice is appreciated.

I've got a diff to update print/cups-filters from version 1.0.42
to version 1.0.50. Please, dive it a try. It may help. (This patch
may not be committed as is since it does not build at 8.x due to
incomplete network headers).

If that do not help, then try to enable debug (set "LogLevel debug"
at cupsd.conf) and look at logs (/var/log/cups/error_log in particular)
for any errors.

Patch is included.
-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve
-------------- next part --------------
Index: Makefile
===================================================================
--- Makefile	(revision 349924)
+++ Makefile	(working copy)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	cups-filters
-PORTVERSION=	1.0.42
+PORTVERSION=	1.0.50
 CATEGORIES=	print
 MASTER_SITES=	http://www.openprinting.org/download/cups-filters/
 
@@ -20,7 +20,8 @@
 		libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \
 		libpoppler.so:${PORTSDIR}/graphics/poppler
 
-USES=		compiler:c++11-lib pathfix pkgconfig tar:xz
+USES=		compiler:c++11-lib pathfix pkgconfig shebangfix tar:xz
+SHEBANG_FILES=	filter/textonly
 USE_GNOME=	glib20
 USE_GHOSTSCRIPT=	yes
 GNU_CONFIGURE=	yes
@@ -45,5 +46,7 @@
 post-install:
 	@${RM} -rf ${STAGEDIR}${PREFIX}/libexec/cups/filter/foomatic-rip \
 		${STAGEDIR}${PREFIX}/man/man1/foomatic-rip.1
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcupsfilters.so.1 \
+		${STAGEDIR}${PREFIX}/lib/libfontembed.so.1
 
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 349924)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (cups-filters-1.0.42.tar.xz) = 3df524207ab24472430cffba7f01407b8adc094ec40094c5f6682d5a88a70dd6
-SIZE (cups-filters-1.0.42.tar.xz) = 1097860
+SHA256 (cups-filters-1.0.50.tar.xz) = 771bdaeaa171cfb3850b229d5d167bde2abcd40b900075ae72d4867acc8adbe7
+SIZE (cups-filters-1.0.50.tar.xz) = 1309912
Index: pkg-plist
===================================================================
--- pkg-plist	(revision 349924)
+++ pkg-plist	(working copy)
@@ -48,6 +48,7 @@
 sbin/cups-browsed
 share/cups/banners/classified
 share/cups/banners/confidential
+share/cups/banners/form
 share/cups/banners/secret
 share/cups/banners/standard
 share/cups/banners/topsecret
@@ -57,6 +58,10 @@
 share/cups/charsets/pdf.utf-8.simple
 share/cups/data/default-testpage.pdf
 share/cups/data/default.pdf
+share/cups/data/form_english.pdf
+share/cups/data/form_english_in.odt
+share/cups/data/form_russian.pdf
+share/cups/data/form_russian_in.odt
 share/cups/data/testprint
 share/cups/drv/cupsfilters.drv
 share/cups/mime/cupsfilters.convs
@@ -68,6 +73,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/INSTALL
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
+share/ppd/cupsfilters/Fuji_Xerox-DocuPrint_CM305_df-PDF.ppd
 share/ppd/cupsfilters/Generic-PDF_Printer-PDF.ppd
 share/ppd/cupsfilters/HP-Color_LaserJet_CM3530_MFP-PDF.ppd
 share/ppd/cupsfilters/HP-PhotoSmart_Pro_B8300-hpijs-pdftoijs.ppd


More information about the freebsd-ports mailing list