[cups] Broken pipe error

Helge Blischke helgeblischke at web.de
Wed Sep 30 09:23:52 PDT 2015


Look into the cups-filters’ README and INSTALL files especially for the remarks on compiling poppler.
Perhaps you need to install several development packages (…-dev) – the configure script should
have listed missing libraries.

> Am 30.09.2015 um 17:45 schrieb Laura Martín <hoshi.utsuku at gmail.com>:
> 
> Hi Helge,
> 
> I've compiled ghostscript, poppler, and ijs but when I compile the 1.0.76
> version of cups-filters I get an error on make. It seems a linking problem,
> but the libraries are passed OK. I've tried with 1.0.8, and an error is
> shown, too.
> 
> The paths are the usual, no prefix added.
> 
> 
> GCC version 4.4.7, GLIB2-2.35, host is a RHEL 6.5
> 
> 
> In this pastebin is the output of configure and make.....
> 
> http://pastebin.ca/3179061
> 
> 
> Any ideas?
> 
> 
> 
> 2015-09-25 21:03 GMT+02:00 Helge Blischke <helgeblischke at web.de>:
> 
>> I suspect you did not install the cups-filters package from open
>> printing.org which implements
>> the filters needed and the corresponding mime types and cons files.
>> You need that package to get a functional cups installation on a Linux
>> system.
>> 
>> Helge
>> 
>>> Am 24.09.2015 um 16:55 schrieb Laura Martín <hoshi.utsuku at gmail.com>:
>>> 
>>> Hi all,
>>> 
>>> I'm searching for help due to a broken pipe error in several cups
>> versions.
>>> I've tried compiling an 1.5.4, 1.4.8, 2.0.5, and RHEL RPM, but the error
>> is
>>> the same. Also, I've tried in a Ubuntu (stable) server, and the broken
>> pipe
>>> error is still appearing.
>>> 
>>> In the other hand, I can print plain text, but printing the cups test
>> page,
>>> the error appears again.
>>> 
>>> For example, this is the log of the Ubuntu server with a test page:
>>> 
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] Waiting for CGI data.
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] CGI data ready to be sent.
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] POST / HTTP/1.1
>>> D [24/Sep/2015:12:40:21 +0200] cupsdSetBusyState: newbusy="Active
>> clients",
>>> busy="Active clients"
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] No authentication data
>> provided.
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] 2.0 Get-Jobs 3
>>> D [24/Sep/2015:12:40:21 +0200] Get-Jobs
>>> ipp://localhost:631/printers/PSICA218
>>> D [24/Sep/2015:12:40:21 +0200] [Job 4] Loading attributes...
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] Returning IPP successful-ok
>> for
>>> Get-Jobs (ipp://localhost:631/printers/PSICA218) from localhost
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] Content-Length: 472
>>> D [24/Sep/2015:12:40:21 +0200] cupsd is not idle any more, canceling
>>> shutdown.
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] Regular expression
>>> ".*PrintSelfTestPage.*"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] matches[0].rm_so=0
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] matches[1].rm_so=-1
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] cupsdWriteClient error=0,
>>> used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH,
>>> data_remaining=472, response=0x7fd1daec72f0(IPP_IDLE), pipe_pid=0,
>> file=-1
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] Writing IPP response,
>>> ipp_state=DATA, old wused=0, new wused=0
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] bytes=0, http_state=0,
>>> data_remaining=0
>>> D [24/Sep/2015:12:40:21 +0200] [Client 15] Waiting for request.
>>> D [24/Sep/2015:12:40:21 +0200] cupsdSetBusyState: newbusy="Active
>> clients",
>>> busy="Active clients"
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] cupsdWriteClient error=0,
>>> used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED,
>>> data_remaining=0, response=(nil)(), pipe_pid=3877, file=14
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] Waiting for CGI data.
>>> D [24/Sep/2015:12:40:21 +0200] cupsd is not idle any more, canceling
>>> shutdown.
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiClearVariables called.
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable: ORDER="dec"
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] cupsdWriteClient error=0,
>>> used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_CHUNKED,
>>> data_remaining=0, response=(nil)(), pipe_pid=3877, file=14
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] Waiting for CGI data.
>>> D [24/Sep/2015:12:40:21 +0200] [Client 13] CGI data ready to be sent.
>>> D [24/Sep/2015:12:40:21 +0200] cupsd is not idle any more, canceling
>>> shutdown.
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable: SECTION="printers"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable: TOTAL="1"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable: WHICH_JOBS="all"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable:
>>> SERVER_NAME="192.168.60.46"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetVariable: CUPS_VERSION="CUPS
>>> v1.7.2"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray: job_preserved[0]="1"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> job_printer_name[0]="PSICA218"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> job_printer_uri[0]="/printers/PSICA218"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray: job_name[0]="Test Page"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> job_originating_user_name[0]="anonymous"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>> time_at_creation[0]="Thu
>>> Sep 24 12:39:34 2015"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> time_at_processing[0]="Thu Sep 24 12:39:34 2015"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>> time_at_completed[0]="Thu
>>> Sep 24 12:39:38 2015"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray: job_id[0]="4"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray: job_state[0]="9"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> job_media_sheets_completed[0]="1"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray: job_k_octets[0]="1"
>>> D [24/Sep/2015:12:40:21 +0200] [CGI] cgiSetArray:
>>> job_printer_state_message[0]="No se han podido escribir los datos de
>>> impresión: Broken pipe"
>>> 
>>> 
>>> Can't see any library error... The behaviour is the same, with any
>> printer,
>>> with any driver....
>>> 
>>> I've changed, the protocol from http to ipp, lpd, same error. Any hint?
>>> 
>>> Thx in advance.
>>> _______________________________________________
>>> cups mailing list
>>> cups at cups.org
>>> https://www.cups.org/mailman/listinfo/cups
>> 
>> _______________________________________________
>> cups mailing list
>> cups at cups.org
>> https://www.cups.org/mailman/listinfo/cups
>> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups




More information about the cups mailing list