Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592338 - net-print/cups-filters-1.11: provide a pstopdf symlink
Summary: net-print/cups-filters-1.11: provide a pstopdf symlink
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-28 17:31 UTC by Manuel Lauss
Modified: 2016-08-31 13:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Lauss 2016-08-28 17:31:16 UTC
latest net-print/cups-filters-1.11 removed the "pstopdf" filter, which, apparently, is now supposed to be provided by ghostscript-gpl [1].
This manifests in the following error in cups' error_log when I try to print a PDF in KDE's okular:

E [27/Aug/2016:13:52:55 +0200] lj1200: File \"/usr/libexec/cups/filter/pstopdf\" not available: No such file or directory
E [27/Aug/2016:13:52:55 +0200] [Job 72] Unable to start filter "pstopdf" - No such file or directory.
E [27/Aug/2016:13:52:55 +0200] [Job 72] Stopping job because the scheduler could not execute a filter.

This is most easily fixed by providing a /usr/libexec/cups/filters/pstopdf as a symlink to gstopdf in the same directory:
-rwxr-xr-x 1 root root 555 Aug 27 13:35 /usr/libexec/cups/filter/gstopdf
lrwxrwxrwx 1 root root   7 Aug 28 19:13 /usr/libexec/cups/filter/pstopdf -> gstopdf

Since gstopdf belongs to ghostscript-gpl, and internally calls gstoraster, which also belongs to ghostscrip-gpl, this symlink should be created by the ghostcript-gpl package.


[1] http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7480
Comment 1 Manuel Lauss 2016-08-28 17:34:47 UTC
Okay, my previous statement was wrong:

latest cups-filters merged the pstopdf filter into gstoraster, but provides a gstopdf wrapper.  There should also be a symlink to gstopdf called pstopdf.
Comment 2 Alex Xu (Hello71) 2016-08-31 12:35:36 UTC
I'm pretty sure that you need to also upgrade your (probably gutenprint) PPD.
Comment 3 Manuel Lauss 2016-08-31 13:08:32 UTC
I only upgraded cups-filters and made the missing symlink by hand. Printing works as expected again. I use hplip btw.