OpenPrinting / OpenPrinting/libcupsfilters

libcupsfilters-2.2.1-4.4 breaks compatibility

Open
#242 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
17
Forks
71
Avg merge
2d 17h
Merged PRs (30d)
13

Description

I am using CachyOS. Since the latest upgrade of the library I am no longer able to print. CUPS Server http://localhost:631displays the last successful print at Sat 29 Aug 2026 01:48:21 PM -05 . Since then the page displays the error Idle - "universal filter failed."

The output of /var/log/cups/error_log contains:

D [09/Sep/2026:11:01:09 -0500] cupsdIsAuthorized: requesting-user-name="gavox"
D [09/Sep/2026:11:01:09 -0500] [Client 2] Returning IPP successful-ok for Get-Notifications (/printers/) from localhost.
D [09/Sep/2026:11:01:09 -0500] [Client 2] Content-Length: 127
D [09/Sep/2026:11:01:09 -0500] [Client 2] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [09/Sep/2026:11:01:09 -0500] [Client 2] con->http=0x558ee336e840
D [09/Sep/2026:11:01:09 -0500] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=127, response=0x558ee3499830(IPP_STATE_DATA), pipe_pid=0, file=-1
D [09/Sep/2026:11:01:09 -0500] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [09/Sep/2026:11:01:09 -0500] [Client 2] bytes=0, http_state=0, data_remaining=127
D [09/Sep/2026:11:01:09 -0500] [Client 2] Flushing write buffer.
D [09/Sep/2026:11:01:09 -0500] [Client 2] New state is HTTP_STATE_WAITING
D [09/Sep/2026:11:01:09 -0500] [Client 2] Waiting for request.
D [09/Sep/2026:11:01:09 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [09/Sep/2026:11:01:10 -0500] Expiring subscriptions...
D [09/Sep/2026:11:01:25 -0500] [Client 298] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [09/Sep/2026:11:01:25 -0500] [Client 298] Closing connection.
D [09/Sep/2026:11:01:25 -0500] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [09/Sep/2026:11:01:25 -0500] Expiring subscriptions...

The printer is recognized by the kernel,

lsusb gives

Bus 001 Device 014: ID 04b8:005e Seiko Epson Corp. EPSON L120 Series

And this is not a permission issue, as:

ls -l /dev/bus/usb/001/014 
crw-rw-r-- 1 cups lp 189, 13 sep  9 11:10 /dev/bus/usb/001/014

After following the advice on cachyos forum
https://discuss.cachyos.org/t/printer-problems/35056
I decided to roll back to the previous version of the library, and the printing came back. Therefore I think there is something in this version of the library that breaks compatibility.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the printing failure with libcupsfilters 2.2.1-4.4 and the previous library version, using the universal filter error and /var/log/cups/error_log as the initial evidence. Check the Epson L120 USB setup described in the issue; done means printing works with the newer library or the compatibility regression is isolated.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.