Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 872716 - net-print/cups-filters-1.28.16-r1 PDF printing broken by app-text/qpdf-11.1.0-r1
Summary: net-print/cups-filters-1.28.16-r1 PDF printing broken by app-text/qpdf-11.1.0-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords: PullRequest
: 872980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-09-25 02:41 UTC by Jordan Yelloz
Modified: 2022-09-26 06:38 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info cups-filters (cups-filters.emergeinfo.txt,10.16 KB, text/plain)
2022-09-25 02:41 UTC, Jordan Yelloz
Details
emerge --info qpdf (qpdf.emergeinfo.txt,10.05 KB, text/plain)
2022-09-25 02:41 UTC, Jordan Yelloz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jordan Yelloz 2022-09-25 02:41:25 UTC
Created attachment 814024 [details]
emerge --info cups-filters

Hi, I am not totally sure if this is a cups-filters bug or a qpdf bug but after upgrading to qpdf-11.1.0-r1, I tried to print a PDF using lpr as well as using Gnome Evince and got the following error message in /var/log/cups/error_log:

E [24/Sep/2022:18:35:47 -0600] [Job 486] Exception: QPDFCryptoProvider: request to set default provider to unknown implementation \"OPENSSL\"
W [24/Sep/2022:18:35:47 -0600] [Job 486] /var/spool/cups/tmp/494816337b718: file is damaged
W [24/Sep/2022:18:35:47 -0600] [Job 486] /var/spool/cups/tmp/494816337b718: can\'t find startxref
W [24/Sep/2022:18:35:47 -0600] [Job 486] /var/spool/cups/tmp/494816337b718: Attempting to reconstruct cross-reference table
E [24/Sep/2022:18:36:09 -0600] [Job 486] Print job canceled at printer.
W [24/Sep/2022:18:36:09 -0600] [Job 486] Backend returned status 5 (cancel job)

In this case I was using qpdf with the openssl backend (USE=-gnutls) but when building with USE=gnutls I also get the following version of the error:
Exception: QPDFCryptoProvider: request to set default provider to unknown implementation \"GNUTLS\" 

After downgrading to app-text/qpdf-11.0.0 I am able to print successfully. I am using Driverless/IPP Everywhere printing on a Brother HL-L3230CDW laser printer.
Comment 1 Jordan Yelloz 2022-09-25 02:41:55 UTC
Created attachment 814027 [details]
emerge --info qpdf
Comment 2 Jordan Yelloz 2022-09-25 03:45:46 UTC
It turned out to be a problem with the qpdf ebuild setting some wrongly-cased values.
Comment 3 Larry the Git Cow gentoo-dev 2022-09-25 03:51:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd1ca93047532ca046f0772c64e33974e3181e39

commit fd1ca93047532ca046f0772c64e33974e3181e39
Author:     Jordan Yelloz <jordan@yelloz.me>
AuthorDate: 2022-09-25 03:37:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-25 03:47:13 +0000

    app-text/qpdf: Fixed DEFAULT_CRYPTO value.
    
    The DEFAULT_CRYPTO argument expects the values to be in lowercase.
    
    Closes: https://bugs.gentoo.org/872716
    Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
    Closes: https://github.com/gentoo/gentoo/pull/27434
    Signed-off-by: Sam James <sam@gentoo.org>

 app-text/qpdf/{qpdf-11.1.0-r1.ebuild => qpdf-11.1.0-r2.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-09-26 06:38:16 UTC
*** Bug 872980 has been marked as a duplicate of this bug. ***