cairo: "universal filter failed" renders printing inoperable
Description:
Unable to print through cups. When sending a print job to CUPS, "universal filter failed" is reported in the logs and the job is stopped and unable to be reprinted.
E [09/Sep/2024:10:50:10 -0500] [Job 959] cfFilterPDFToPDF: load_file failed: temp file: unable to find trailer dictionary while recovering damaged file
E [09/Sep/2024:10:50:10 -0500] [Job 959] cfFilterChain: pdftopdf (PID 75176) stopped with status 1
E [09/Sep/2024:10:50:10 -0500] [Job 959] universal filter failed.
E [09/Sep/2024:10:50:10 -0500] [Job 959] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
Additional info:
- package version(s): cairo-1.18.2-1, cups-2:2.4.10-1, evince-46.3.1-1
- config and/or log files: error_log
- Linux 6.6.50-1-lts #1 (closed) SMP PREEMPT_DYNAMIC Sun, 08 Sep 2024 12:27:02 +0000 x86_64 GNU/Linux
- link to upstream bug report, if any: https://bbs.archlinux.org/viewtopic.php?id=299255
- workaround: Downgrade to cairo-1.18.0-2, restart cups and evince.
Steps to reproduce:
- Ensure cairo-1.18.2-1, cups-2:2.4.10-1, evince-46.3.1-1 are installed.
- Submit a print job.
- Observe "Print Error" reported by cups indicating a problem processing the document to print.
- Observe "universal filter failed" in diagnostic logs and /var/log/cups/error_log.
Edited by Mark Mykkanen