Summary: | net-print/hplip-3.19.8 - "Illegal option keyword string" caused by "Custom/Custom" lines in ppd files | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kenneth G. Strawn <kenny.strawn> |
Component: | Current packages | Assignee: | Printing Team <printing> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | billie, kenny.strawn |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/apple/cups/issues/5639 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch the ebuild to substitute all problematic lines from ppd files |
Description
Kenneth G. Strawn
2019-10-08 17:19:14 UTC
Created attachment 592216 [details, diff]
Patch the ebuild to substitute all problematic lines from ppd files
Untested as-is, but sed should do the trick for changing all "Custom" lines to "Other" which did solve the problem when attempting to add my printer.
Don't see any progress here. The fact that HPLIP failed to add a printer with the old lines but succeeded with the new ones specified by the patched ebuild should be noted. All you have to do to fix this bug is merge my patch. Thank you for your contribution! Is this issue also tracked at the hplip bug tracker? It should be reported there as well so it can get fixed at the source. At quick glance I found nothing. Per the patch, using sed to change all “Custom” lines to “Other” fixes the problem. After some investigation I found that this is not a hplip bug but a cups bug. Other packages providing ppd with "Custom" options files will have the same problem. The linked upstream bug already contains a "fix" for the issue. According to cups upstream this should be fixed with cups-2.3.1! |