Bug 2330100 - cairo-0:1.18.2-1 update breaks printing in evince
Summary: cairo-0:1.18.2-1 update breaks printing in evince
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cairo
Version: 41
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Kalev Lember
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2330960 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-03 02:39 UTC by John
Modified: 2024-12-09 14:18 UTC (History)
9 users (show)

Fixed In Version: cairo-1.18.2-2.fc42 cairo-1.18.2-2.fc41
Clone Of:
Environment:
Last Closed: 2024-12-05 21:54:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John 2024-12-03 02:39:21 UTC
Printing is broken in Evince after updating cairo to 0:1.18.2-1.


Reproducible: Always

Steps to Reproduce:
1. Open a PDF in Evince: 'evince /usr/share/unicode/ucd/USourceGlyphs.pdf'
2. Send a page of the document to the printer, e.g. page 2.
3. Print job is sent to CUPS, then printing stops.
Actual Results:  
CUPS gives the error "cfFilterPDFToPDF: load_file failed: temp file: unable to find trailer dictionary while recovering damaged file" and stops the printer.

Expected Results:  
CUPS should send the file to the printer.

Tested using a Canon MX922 using Gutenprint and a HP Envy 7155 using hpijs.

Workarounds: downgrade with the command 'dnf downgrade cairo' (which installs cairo-0:1.18.0-4 which was in the initial Fedora 41 release) and restarting evince or printing using 'lp'.

Comment 1 Germano Massullo (Thetra) 2024-12-03 14:46:59 UTC
Upstream bugreport https://gitlab.freedesktop.org/cairo/cairo/-/issues/870
which has been fixed at https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/595

Package maintainers, can you please backport such commit?

Comment 2 Kalev Lember 2024-12-05 12:14:28 UTC
Thanks, Germano! I went ahead and backported it in https://src.fedoraproject.org/rpms/cairo/c/5708e413adaf7a2852e20e071ccb14ca60f9a155?branch=rawhide

Comment 3 Fedora Update System 2024-12-05 12:54:24 UTC
FEDORA-2024-9b5ddd439c (cairo-1.18.2-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-9b5ddd439c

Comment 4 Fedora Update System 2024-12-05 13:07:48 UTC
FEDORA-2024-8862f78afe (cairo-1.18.2-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-8862f78afe

Comment 5 Germano Massullo (Thetra) 2024-12-05 21:51:50 UTC
Thank you very much Kalev, I tested it and left a karma feedback

Comment 6 Fedora Update System 2024-12-05 21:54:22 UTC
FEDORA-2024-9b5ddd439c (cairo-1.18.2-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Fedora Update System 2024-12-06 03:04:08 UTC
FEDORA-2024-8862f78afe has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-8862f78afe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-8862f78afe

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-12-07 07:37:26 UTC
FEDORA-2024-8862f78afe (cairo-1.18.2-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Marek Kašík 2024-12-09 14:18:42 UTC
*** Bug 2330960 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.