FS#59952 - [ghostscript] gsicc_open_search(): Could not find ps_gray.icc
Attached to Project:
Arch Linux
Opened by Dan Anderson (mxork) - Wednesday, 05 September 2018, 22:08 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 08 September 2018, 05:42 GMT
Opened by Dan Anderson (mxork) - Wednesday, 05 September 2018, 22:08 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 08 September 2018, 05:42 GMT
|
Details
Description:
Printing test page through CUPS has missing page content and in /var/log/cups/error_log: ``` D [05/Sep/2018:17:56:42 -0400] [Job 9] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc D [05/Sep/2018:17:56:42 -0400] [Job 9] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile ``` Downgrading to ghostscript-9.23-2 fixes the issue. Happy to provide additional info / open a bug upstream if necessary. Pretty sure the CUPS indirection is unimportant; if someone dumps me a direct `gs` command which does the same, I can post output. Additional info: * ghostscript-9.24-2 Steps to reproduce: - add generic printer with cups. - cupsctl --debug-logging - print test page - less /var/log/cups/error_log |
This task depends upon
D [06/Sep/2018:10:23:04 +0300] [Job 380] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find default_gray.icc
D [06/Sep/2018:10:23:04 +0300] [Job 380] | ./base/gsicc_manage.c:2025: gsicc_set_device_profile(): cannot find device profile
D [06/Sep/2018:10:23:04 +0300] [Job 380] PID 15070 (gs) stopped with status 1!
Same error with ghostscript-9.24-1 and ghostscript-9.24-2.
Just like the above, downgrading to ghostscript-9.23-2 fixed it.
FS#59959addressing the same problem. Ghostscript exits with error on pdf -> ps conversion, which inhibits CUPS to print. Managed to reproduce on CL by:pdf2ps somefile.pdf
This bug seems related to
https://bugs.ghostscript.com/show_bug.cgi?id=695873
D [05/Sep/2018:10:54:25 +0200] [Job 39] Started filter pstops (PID 1122)
D [05/Sep/2018:10:54:25 +0200] [Job 39] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc
D [05/Sep/2018:10:54:25 +0200] [Job 39] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile
Downgrade to 9.23-2 fixed this
846:D [07/Sep/2018:09:43:54 +0200] [Job 611] Running command line for gs: gs -q -dNOPAUSE -dBATCH -dSAFER -dNOMEDIAATTRS -sDEVICE=ps2write -dShowAcroForm -sOUTPUTFILE=%stdout -dLanguageLevel=3 -r600 -dCompressFonts=false -dNoT3CCITT -dNOINTERPOLATE -c \'save pop\' -f /var/spool/cups/tmp/008d05b9d1bda
847:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter gs (PID 2258)
848:D [07/Sep/2018:09:43:54 +0200] [Job 611] Started filter pstops (PID 2259)
849:D [07/Sep/2018:09:43:54 +0200] [Job 611] ./base/gsicc_manage.c:1244: gsicc_open_search(): Could not find ps_gray.icc
850:D [07/Sep/2018:09:43:54 +0200] [Job 611] + ./base/gsicc_manage.c:255: gsicc_initialize_iccsmask(): failed to load gray smask profile
GPL Ghostscript GIT PRERELEASE 9.25 (2018-09-03)
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=c8c01f8c4164bc10281d9e8f87cf96314d93104b
https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=13418541a5ae19b15f51cbb87faf344902f5af98