Bug#926789: ghostscript: unrecoverable error -> cups: no print, return "Filter failed"
control: forcemerge 926789 926576 Quoting Antonio (2019-04-11 08:25:15) > It looks like the same type of error. However, I can confirm that > upgrading to cups 1.21.6-5 the problem is solved. Thanks for confirming. Now merged. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Processed (with 1 error): Re: Bug#926789: ghostscript: unrecoverable error -> cups: no print, return "Filter failed"
Processing control commands: > forcemerge 926789 926576 Bug #926789 [ghostscript] ghostscript: unrecoverable error -> cups: no print, return "Filter failed" Unable to merge bugs because: package of #926576 is 'cups-filters' not 'ghostscript' Failed to forcibly merge 926789: Did not alter merged bugs. -- 926576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576 926789: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926789 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#926787: ghostscript: "filter failed"
control: forcemerge 926576 926787 Quoting James Van Zandt (2019-04-11 03:13:39) > Yes, this is the same as #926576. You may merge them. Ok. Done now. Seems cups-filters was fixed already at least in unstable. - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Processed (with 1 error): Re: Bug#926787: ghostscript: "filter failed"
Processing control commands: > forcemerge 926576 926787 Bug #926576 {Done: Didier Raboud } [cups-filters] cups-filters: uses undocumented code gone since ghostscript 9.27 Unable to merge bugs because: package of #926787 is 'ghostscript' not 'cups-filters' Failed to forcibly merge 926576: Did not alter merged bugs. -- 926576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576 926787: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926787 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#926789: ghostscript: unrecoverable error -> cups: no print, return "Filter failed"
It looks like the same type of error. However, I can confirm that upgrading to cups 1.21.6-5 the problem is solved.
Bug#926787: ghostscript: "filter failed"
Yes, this is the same as #926576. You may merge them.
Bug#926707: cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)
# mention etckeeper in the title (easier found thus) retitle 549673 cups: constantly modify configuration files in /etc (bad for etckeeper) retitle 926707 cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper) # merging, as these are effectively the same issue unblock 926707 by 549673 tags 549673 - fixed-upstream severity 926707 minor forwarded 926707 https://github.com/apple/cups/issues/3067 forcemerge 926707 549673 thanks Hi OdyX, >While I agree that the whole /etc/cups directory _COULD_ be moved to >/var/lib/cups , this is not done easily, brings only little benefit, and woudl >break a lot of assumptions in various parts of the stack. See as mere example >the search for /etc/cups/ppd ; 290 occurences: thanks for this explanation. >I really have not changed my mind about this: diverging away from upstream >CUPS and their 20+ years of existance is really not worth the costs. > >Hereby marking this as upstream, and wontfix; sorry. I agree; thanks for leaving this open, so it can be found easier by others encountering the same problem. Maybe this is something that can be fixed on the etckeeper side (ignoring those generated PPDs and the .O (IIRC?) files). bye, //mirabilos -- tarent solutions GmbH Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/ Tel: +49 228 54881-393 • Fax: +49 228 54881-235 HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941 Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
Processed (with 1 error): Re: Bug#926707: cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)
Processing commands for cont...@bugs.debian.org: > # mention etckeeper in the title (easier found thus) > retitle 549673 cups: constantly modify configuration files in /etc (bad for > etckeeper) Bug #549673 [cups] cups: constantly modify configuration files in /etc Bug #552086 [cups] Unnecessary regeneration of /etc/cups/printers.conf Changed Bug title to 'cups: constantly modify configuration files in /etc (bad for etckeeper)' from 'cups: constantly modify configuration files in /etc'. Changed Bug title to 'cups: constantly modify configuration files in /etc (bad for etckeeper)' from 'Unnecessary regeneration of /etc/cups/printers.conf'. > retitle 926707 cups-browsed: generates PPDs in /etc, not /var/lib (bad for > etckeeper) Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib Changed Bug title to 'cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper)' from 'cups-browsed: generates PPDs in /etc, not /var/lib'. > # merging, as these are effectively the same issue > unblock 926707 by 549673 Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper) 926707 was blocked by: 549673 552086 926707 was not blocking any bugs. Removed blocking bug(s) of 926707: 552086 and 549673 > tags 549673 - fixed-upstream Bug #549673 [cups] cups: constantly modify configuration files in /etc (bad for etckeeper) Bug #552086 [cups] cups: constantly modify configuration files in /etc (bad for etckeeper) Removed tag(s) fixed-upstream. Removed tag(s) fixed-upstream. > severity 926707 minor Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper) Severity set to 'minor' from 'normal' > forwarded 926707 https://github.com/apple/cups/issues/3067 Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper) Set Bug forwarded-to-address to 'https://github.com/apple/cups/issues/3067'. > forcemerge 926707 549673 Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib (bad for etckeeper) Unable to merge bugs because: package of #549673 is 'cups' not 'cups-browsed' package of #552086 is 'cups' not 'cups-browsed' Failed to forcibly merge 926707: Did not alter merged bugs. > thanks Stopping processing here. Please contact me if you need assistance. -- 549673: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549673 552086: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552086 926707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926707 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
cups-filters_1.21.6-5_source.changes ACCEPTED into unstable
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 10 Apr 2019 17:13:22 +0200 Source: cups-filters Architecture: source Version: 1.21.6-5 Distribution: unstable Urgency: medium Maintainer: Debian Printing Team Changed-By: Didier Raboud Closes: 926576 Changes: cups-filters (1.21.6-5) unstable; urgency=medium . * Backport upstream patch: - foomatic-rip: Changed Ghostscript call to count pages in a PDF file so that it works with GS 9.27 (Closes: #926576) Checksums-Sha1: c419a8b0617063e35d4993e3059bfc89eaa9d430 2775 cups-filters_1.21.6-5.dsc 3abe1b2ad06120422d0fddc26893f7f398fd11e7 81984 cups-filters_1.21.6-5.debian.tar.xz Checksums-Sha256: e997fc919fe4030948d0df7428c40c167236becfd538744cb7385b6ca77855ee 2775 cups-filters_1.21.6-5.dsc 87f9ab83190f223e8b1755f6e2c2489727d81e66b26d0143267050c2cd1ae076 81984 cups-filters_1.21.6-5.debian.tar.xz Files: 00dffa21fbfd442913df4d1fbe4bb903 2775 net optional cups-filters_1.21.6-5.dsc 2580dded898ba9d70bd802cd641248c6 81984 net optional cups-filters_1.21.6-5.debian.tar.xz -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlyuCo8ACgkQi8+nHsoW NFVUBAv+K9oLz9VOdez3xB+uR95PfAd6WUaMuTBszFsCtTwvS8PAuh2ied8yxuBi QMnbfT2sLRWazqcEp3xnKB85HdsZOGs9Gey2OYDzM9pqL5nXsKVLqYoiL1r7gaX7 4V2GFAnSAPAstxplrKz58zaM1g3zYBJftBbOXfKuR+UGbvSW2KpLyfDYEiewlON0 X5FjDursoj2SnY9Elb9tM7+bbY+uwTQyMxIuuLkeE5bCnixBLys2FLr7UsMXlKzq icV+iakek0GxZHuzR4fz/v5g5DkVQvZpEowB339Hz926xZ8sYUW+AWqxmpR6FhkD u1kFGNiOsSVxgw6wlHgsc4lZnNahfLilHxiWQOXUqK+S/cYAl+mfYLpa7hgkKNbs Qqxd/2jQrrj0HOcOWsvVAAFfYXVhZ7uJSVr8RYRwsnMwv6jILSqr6Mdl7YYnmRM4 evrX+615ZZp0XRofJ39Qw9u7XO08FbNzO9EBOHWcttklNSMisbjWNwE6MCx74hn9 RqzYm59F =ehbn -END PGP SIGNATURE- Thank you for your contribution to Debian.
Processed: block 926707 with 549673
Processing commands for cont...@bugs.debian.org: > block 926707 with 549673 Bug #926707 [cups-browsed] cups-browsed: generates PPDs in /etc, not /var/lib 926707 was not blocked by any bugs. 926707 was not blocking any bugs. Added blocking bug(s) of 926707: 549673 and 552086 > thanks Stopping processing here. Please contact me if you need assistance. -- 926707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926707 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
cups-filters_1.22.5-1_source.changes ACCEPTED into experimental
Accepted: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 10 Apr 2019 17:07:27 +0200 Source: cups-filters Architecture: source Version: 1.22.5-1 Distribution: experimental Urgency: medium Maintainer: Debian Printing Team Changed-By: Didier Raboud Closes: 926576 Changes: cups-filters (1.22.5-1) experimental; urgency=medium . * New upstream version 1.22.5 - foomatic-rip: Changed Ghostscript call to count pages in a PDF file to use "runpdfbegin" and not the undocumented Ghostscript internal "pdfdict", so that it works with Ghostscript ≥ 9.27 (Closes: #926576) Checksums-Sha1: a8bcfcfdbdb1f3a2c259bfdfb2a05b4ffc4e4654 2775 cups-filters_1.22.5-1.dsc f746c37905986147ff7fc699312a1a79332387b2 1476792 cups-filters_1.22.5.orig.tar.xz 072ac29c4abc37e377e075b960bdc9b7a4c47a01 79952 cups-filters_1.22.5-1.debian.tar.xz Checksums-Sha256: ecd38552b188ac670f9d13dc603ac12cb2ce74d516a4ae8008ce91e4a6a34a0b 2775 cups-filters_1.22.5-1.dsc 30d453a2152f0b3032126720aecfe35d5c3adc00d9f32f0320da492e92f707a6 1476792 cups-filters_1.22.5.orig.tar.xz 26eb6594798e4248cf08d72120d3fdf3d9692835820e2e30d44f26d7116026de 79952 cups-filters_1.22.5-1.debian.tar.xz Files: b4914c1aab75452732d4da14ded7fbdc 2775 net optional cups-filters_1.22.5-1.dsc cede43e38a59132970281b8e3d65c6ad 1476792 net optional cups-filters_1.22.5.orig.tar.xz a05bd4dd8986a6231a8bad3f6b7a5b87 79952 net optional cups-filters_1.22.5-1.debian.tar.xz -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlyuB2MACgkQi8+nHsoW NFXLYQv/UX1RLaBjKB9J2zt7YQFZHAxC9b2kXPjQ+Mx4bQQNkQahYmb3/xyZhBr5 EX0KqDETVpPdPCdBTGNUG/8zNRHkfuR47WgoMM8MJRYYTBBYcJAqFjf5EzRgwBNw ciLwKCQGzfUs0A5hjhgZTo9UFYNyAVO/uXN3/v1vqc2iWw50DkoIOAlj7rY6T6w+ y3QHhqLwSSsy8ywg0XPNJCW8caz3SBwDyIkNn2STPbc44fyRvL3wxzF21FOF1p4l 0wMsAmb+rjSxgVdXb1Dqs9iZMo3nJTETD5gDJN4k9alv+jDhPOVtsrN5yHAXyrDE +v/+J3g29ryKQk7/D/WIe+Dh3GhgMSDs1IXS382w4R2Ov7GsuKP2syXZzEcqfzM5 CenJBkU/d8KyksWWAeMiPdWkgKAJKPThtNAomRNBbFlh7gBjNcicfHn/ywoJdsXp wkWu3DP0mnHiJH1im7BK67TWLP6yPVplAag7zOdaWwNvYrrCEnZ2VaOMaYEnYy92 nuDFuXED =PS0Y -END PGP SIGNATURE- Thank you for your contribution to Debian.
Bug#926576: marked as done (cups-filters: uses undocumented code gone since ghostscript 9.27)
Your message dated Wed, 10 Apr 2019 15:48:39 + with message-id and subject line Bug#926576: fixed in cups-filters 1.21.6-5 has caused the Debian Bug report #926576, regarding cups-filters: uses undocumented code gone since ghostscript 9.27 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 926576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: ghostscript Version: 9.27 Severity: important Since ghostscript was upgraded to version 9.27 my printer stopped working. Cups logs follows: D [07/Apr/2019:11:30:05 +0200] [Job 1374] GPL Ghostscript 9.27: Unrecoverable error, exit code 1 D [07/Apr/2019:11:30:05 +0200] [Job 1374] Process is dying with \"Unable to determine number of pages, page count: -1 D [07/Apr/2019:11:30:05 +0200] [Job 1374] \", exit stat 3 D [07/Apr/2019:11:30:05 +0200] [Job 1374] Cleaning up... D [07/Apr/2019:11:30:05 +0200] [Job 1374] PID 3263 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3. D [07/Apr/2019:11:30:05 +0200] [Job 1374] Hint: Try setting the LogLevel to "debug" to find out more. D [07/Apr/2019:11:30:05 +0200] [Job 1374] PID 3264 (/usr/lib/cups/backend/socket) exited with no errors. D [07/Apr/2019:11:30:05 +0200] [Job 1374] End of messages D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state=3(idle) D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state-message="Filter failed" D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state-reasons=none Downgrading to 9.26 is a temporary fix. Leonardo -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ghostscript depends on: ii libc6 2.28-8 ii libgs9 9.26a~dfsg-2 Versions of packages ghostscript recommends: ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.4 Versions of packages ghostscript suggests: pn ghostscript-x -- no debconf information --- End Message --- --- Begin Message --- Source: cups-filters Source-Version: 1.21.6-5 We believe that the bug you reported is fixed in the latest version of cups-filters, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 926...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Didier Raboud (supplier of updated cups-filters package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 10 Apr 2019 17:13:22 +0200 Source: cups-filters Architecture: source Version: 1.21.6-5 Distribution: unstable Urgency: medium Maintainer: Debian Printing Team Changed-By: Didier Raboud Closes: 926576 Changes: cups-filters (1.21.6-5) unstable; urgency=medium . * Backport upstream patch: - foomatic-rip: Changed Ghostscript call to count pages in a PDF file so that it works with GS 9.27 (Closes: #926576) Checksums-Sha1: c419a8b0617063e35d4993e3059bfc89eaa9d430 2775 cups-filters_1.21.6-5.dsc 3abe1b2ad06120422d0fddc26893f7f398fd11e7 81984 cups-filters_1.21.6-5.debian.tar.xz Checksums-Sha256: e997fc919fe4030948d0df7428c40c167236becfd538744cb7385b6ca77855ee 2775 cups-filters_1.21.6-5.dsc 87f9ab83190f223e8b1755f6e2c2489727d81e66b26d0143267050c2cd1ae076 81984 cups-filters_1.21.6-5.debian.tar.xz Files: 00dffa21fbfd442913df4d1fbe4bb903 2775 net optional cups-filters_1.21.6-5.dsc 2580dded898ba9d70bd802cd641248c6 81984 net optional cups-filters_1.21.6-5.debian.tar.xz -BEGIN PGP SIGNATURE- iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlyuCo8ACgkQi8+nHsoW NFVUBAv+K9oLz9VOdez3xB+uR95PfAd6WUaMuTBszFsCtTwvS8PAuh2ied8yxuBi QMnbfT2sLRWazqcEp3xnKB85HdsZOGs9Gey2OYDzM9pqL5nXsKVLqYoiL1r7gaX7 4V2GFAnSAPAstxplrKz58zaM1g3zYBJftBbOXfKuR+UGbvSW2KpLyfDYEiewlON0 X5FjDursoj2SnY9Elb9tM7+bbY+uwTQyMxIuuLkeE5bCnixBLys2FLr7UsMXlKzq i
Processing of cups-filters_1.21.6-5_source.changes
cups-filters_1.21.6-5_source.changes uploaded successfully to localhost along with the files: cups-filters_1.21.6-5.dsc cups-filters_1.21.6-5.debian.tar.xz Greetings, Your Debian queue daemon (running on host usper.debian.org)
Processed (with 1 error): Re: Bug#926707: cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)
Processing control commands: > block -1 549673 Unknown command or malformed arguments to command. > tags -1 +upstream +wontfix Bug #926707 [cups-browsed] cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes) Added tag(s) upstream. Bug #926707 [cups-browsed] cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes) Added tag(s) wontfix. > retitle -1 cups-browsed: generates PPDs in /etc, not /var/lib Bug #926707 [cups-browsed] cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes) Changed Bug title to 'cups-browsed: generates PPDs in /etc, not /var/lib' from 'cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)'. -- 926707: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926707 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#926707: cups: please do not generate files under /etc but use /var/lib for that (etckeeper woes)
Control: block -1 549673 Control: tags -1 +upstream +wontfix Control: retitle -1 cups-browsed: generates PPDs in /etc, not /var/lib Le mardi, 9 avril 2019, 13.32:27 h CEST Thorsten Glaser a écrit : > With etckeeper on a laptop that often is taken around to different networks, > I see lines like these on apt-get --purge dist-upgrade all the time: > > [master 48dee15] saving uncommitted changes in /etc prior to apt run > […] > create mode 100644 > cups/ppd/pr_bn_1og_Brother_HL_L8250CDN_Laser_Colour_Duplex_172_2.ppd […] > > So, these files are autogenerated and not created then changed by the > local admin. (They are also automatically deleted). There’s a place for > such files in the filesystem standard, and it’s /var/lib not /etc. > > Please move this stuff out of /etc, TYVM. Unfortunately, this is a long-running issue with CUPS and the CUPS stack, and is tracked by https://bugs.debian.org/549673 and https://github.com/apple/ cups/issues/3067 While I agree that the whole /etc/cups directory _COULD_ be moved to /var/lib/cups , this is not done easily, brings only little benefit, and woudl break a lot of assumptions in various parts of the stack. See as mere example the search for /etc/cups/ppd ; 290 occurences: https://codesearch.debian.net/search?q=%2Fetc%2Fcups%2Fppd I really have not changed my mind about this: diverging away from upstream CUPS and their 20+ years of existance is really not worth the costs. Hereby marking this as upstream, and wontfix; sorry. Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Processing of cups-filters_1.22.5-1_source.changes
cups-filters_1.22.5-1_source.changes uploaded successfully to localhost along with the files: cups-filters_1.22.5-1.dsc cups-filters_1.22.5.orig.tar.xz cups-filters_1.22.5-1.debian.tar.xz Greetings, Your Debian queue daemon (running on host usper.debian.org)
Bug#926576: marked as done (cups-filters: uses undocumented code gone since ghostscript 9.27)
Your message dated Wed, 10 Apr 2019 15:33:43 + with message-id and subject line Bug#926576: fixed in cups-filters 1.22.5-1 has caused the Debian Bug report #926576, regarding cups-filters: uses undocumented code gone since ghostscript 9.27 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact ow...@bugs.debian.org immediately.) -- 926576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: ghostscript Version: 9.27 Severity: important Since ghostscript was upgraded to version 9.27 my printer stopped working. Cups logs follows: D [07/Apr/2019:11:30:05 +0200] [Job 1374] GPL Ghostscript 9.27: Unrecoverable error, exit code 1 D [07/Apr/2019:11:30:05 +0200] [Job 1374] Process is dying with \"Unable to determine number of pages, page count: -1 D [07/Apr/2019:11:30:05 +0200] [Job 1374] \", exit stat 3 D [07/Apr/2019:11:30:05 +0200] [Job 1374] Cleaning up... D [07/Apr/2019:11:30:05 +0200] [Job 1374] PID 3263 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3. D [07/Apr/2019:11:30:05 +0200] [Job 1374] Hint: Try setting the LogLevel to "debug" to find out more. D [07/Apr/2019:11:30:05 +0200] [Job 1374] PID 3264 (/usr/lib/cups/backend/socket) exited with no errors. D [07/Apr/2019:11:30:05 +0200] [Job 1374] End of messages D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state=3(idle) D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state-message="Filter failed" D [07/Apr/2019:11:30:05 +0200] [Job 1374] printer-state-reasons=none Downgrading to 9.26 is a temporary fix. Leonardo -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-4-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), LANGUAGE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ghostscript depends on: ii libc6 2.28-8 ii libgs9 9.26a~dfsg-2 Versions of packages ghostscript recommends: ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.4 Versions of packages ghostscript suggests: pn ghostscript-x -- no debconf information --- End Message --- --- Begin Message --- Source: cups-filters Source-Version: 1.22.5-1 We believe that the bug you reported is fixed in the latest version of cups-filters, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 926...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Didier Raboud (supplier of updated cups-filters package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Wed, 10 Apr 2019 17:07:27 +0200 Source: cups-filters Architecture: source Version: 1.22.5-1 Distribution: experimental Urgency: medium Maintainer: Debian Printing Team Changed-By: Didier Raboud Closes: 926576 Changes: cups-filters (1.22.5-1) experimental; urgency=medium . * New upstream version 1.22.5 - foomatic-rip: Changed Ghostscript call to count pages in a PDF file to use "runpdfbegin" and not the undocumented Ghostscript internal "pdfdict", so that it works with Ghostscript ≥ 9.27 (Closes: #926576) Checksums-Sha1: a8bcfcfdbdb1f3a2c259bfdfb2a05b4ffc4e4654 2775 cups-filters_1.22.5-1.dsc f746c37905986147ff7fc699312a1a79332387b2 1476792 cups-filters_1.22.5.orig.tar.xz 072ac29c4abc37e377e075b960bdc9b7a4c47a01 79952 cups-filters_1.22.5-1.debian.tar.xz Checksums-Sha256: ecd38552b188ac670f9d13dc603ac12cb2ce74d516a4ae8008ce91e4a6a34a0b 2775 cups-filters_1.22.5-1.dsc 30d453a2152f0b3032126720aecfe35d5c3adc00d9f32f0320da492e92f707a6 1476792 cups-filters_1.22.5.orig.tar.xz 26eb6594798e4248cf08d72120d3fdf3d9692835820e2e30d44f26d7116026de 79952 cups-filters_1.22.5-1.debian.tar.xz Files: b4914c1aab75452732d4da14ded7fbdc 2775 net optional cups-filters_1.22.5-1.dsc cede43e38a59132970281b8e3d65c6ad 1476792 net optional cups-filters_1.22.5.orig.tar.xz a05bd4dd8986a6231a8bad3f6b7a5b87 79952 net optional cups-filter
Bug#926800: unblock: cups-filters/1.21.6-5
Package: release.debian.org Severity: normal User: release.debian@packages.debian.org Usertags: unblock Please unblock package cups-filters 1.21.6-5 It fixes a severity: important bug (#926576) in cups-filters; which is a regression in the ghostscript support triggered by the version of Ghostscript that will be shipped in Buster (9.27), quoting the upstream developer (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576#20): > The old call used the undocumented internal "pdfdict" of Ghostscript > which from Ghostscript 9.27 on is not accessible any more for security > reasons. Now I use the call suggested in the Arch Linux bug report using > "runpdfbegin". The full (noisy) debdiff is attached, but here comes the real source diff: --- a/filter/foomatic-rip/pdf.c +++ b/filter/foomatic-rip/pdf.c @@ -47,9 +47,8 @@ static int pdf_count_pages(const char *filename) size_t bytes; snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -q -c " -"'/pdffile (%s) (r) file def pdfdict begin pdffile pdfopen begin " -"(PageCount: ) print pdfpagecount == flush currentdict pdfclose " -"end end quit'", +"'/pdffile (%s) (r) file runpdfbegin (PageCount: ) print " +"pdfpagecount = quit'", gspath, filename); FILE *pd = popen(gscommand, "r"); This patch was uploaded to experimental as 1.22.5-1 and to unstable as 1.21.6-5 today. unblock cups-filters/1.21.6-5 Cheers, and thanks for your time; OdyX diff -Nru cups-filters-1.21.6/debian/changelog cups-filters-1.21.6/debian/changelog --- cups-filters-1.21.6/debian/changelog2019-02-16 14:31:17.0 +0100 +++ cups-filters-1.21.6/debian/changelog2019-04-10 17:13:22.0 +0200 @@ -1,3 +1,11 @@ +cups-filters (1.21.6-5) unstable; urgency=medium + + * Backport upstream patch: + - foomatic-rip: Changed Ghostscript call to count pages in a PDF file so + that it works with GS 9.27 (Closes: #926576) + + -- Didier Raboud Wed, 10 Apr 2019 17:13:22 +0200 + cups-filters (1.21.6-4) unstable; urgency=medium * Backport upstream patch: diff -Nru cups-filters-1.21.6/debian/.git-dpm cups-filters-1.21.6/debian/.git-dpm --- cups-filters-1.21.6/debian/.git-dpm 2019-02-16 14:31:17.0 +0100 +++ cups-filters-1.21.6/debian/.git-dpm 2019-04-10 17:13:22.0 +0200 @@ -1,6 +1,6 @@ # see git-dpm(1) from git-dpm package -c1ec6e6233f90f7944e796732bcb68b546e75512 -c1ec6e6233f90f7944e796732bcb68b546e75512 +ac421831bde36d391900eba263cb6215eacb4927 +ac421831bde36d391900eba263cb6215eacb4927 ec41f03b4dc5def5a6d53ea1dbb856f4b1bba169 ec41f03b4dc5def5a6d53ea1dbb856f4b1bba169 cups-filters_1.21.6.orig.tar.xz diff -Nru cups-filters-1.21.6/debian/patches/0005-foomatic-rip-Changed-Ghostscript-call-to-count-pages.patch cups-filters-1.21.6/debian/patches/0005-foomatic-rip-Changed-Ghostscript-call-to-count-pages.patch --- cups-filters-1.21.6/debian/patches/0005-foomatic-rip-Changed-Ghostscript-call-to-count-pages.patch 1970-01-01 01:00:00.0 +0100 +++ cups-filters-1.21.6/debian/patches/0005-foomatic-rip-Changed-Ghostscript-call-to-count-pages.patch 2019-04-10 17:13:22.0 +0200 @@ -0,0 +1,26 @@ +From ac421831bde36d391900eba263cb6215eacb4927 Mon Sep 17 00:00:00 2001 +From: Till Kamppeter +Date: Sun, 7 Apr 2019 16:34:16 +0200 +Subject: foomatic-rip: Changed Ghostscript call to count pages in a PDF file + so that it works with GS 9.27. + +--- + filter/foomatic-rip/pdf.c | 5 ++--- + 1 file changed, 2 insertions(+), 3 deletions(-) + +diff --git a/filter/foomatic-rip/pdf.c b/filter/foomatic-rip/pdf.c +index 9c3979bb2..bc739bd80 100644 +--- a/filter/foomatic-rip/pdf.c b/filter/foomatic-rip/pdf.c +@@ -47,9 +47,8 @@ static int pdf_count_pages(const char *filename) + size_t bytes; + + snprintf(gscommand, CMDLINE_MAX, "%s -dNODISPLAY -q -c " +- "'/pdffile (%s) (r) file def pdfdict begin pdffile pdfopen begin " +- "(PageCount: ) print pdfpagecount == flush currentdict pdfclose " +- "end end quit'", ++ "'/pdffile (%s) (r) file runpdfbegin (PageCount: ) print " ++ "pdfpagecount = quit'", +gspath, filename); + + FILE *pd = popen(gscommand, "r"); diff -Nru cups-filters-1.21.6/debian/patches/auto-gitignore cups-filters-1.21.6/debian/patches/auto-gitignore --- cups-filters-1.21.6/debian/patches/auto-gitignore 2019-02-16 14:31:17.0 +0100 +++ cups-filters-1.21.6/debian/patches/auto-gitignore 2019-04-10 17:13:22.0 +0200 @@ -4,7 +4,7 @@ .gitignore file(s). This patch is autogenerated, to provide these updates to users of the official Debian archive view of the package. -[dgit (8.3) update-gitignore] +[dgit (8.4) update-gitignore] --- diff --git a/.gitignore b/.gitignore new file mode 100644 diff -Nru cups-filters-1.21.6/debian/patches/series cups-filters-1.21.6/debian/patches/series --- cups-filters-1.21.6/debian/patches/series 2019-02-16 14:3
Bug#926789: ghostscript: unrecoverable error -> cups: no print, return "Filter failed"
Quoting Antonio (2019-04-10 14:06:37) > the version *9.27~dfsg-1* of ghostscript packages returns an error and > cups can no longer print documents. Thanks for reporting this issue! Please check if this is the already reported bug https://bugs.debian.org/926576 - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#926789: ghostscript: unrecoverable error -> cups: no print, return "Filter failed"
Package: ghostscript Version: 9.26a~dfsg-0+deb9u1 Severity: important Dear Maintainer, the version *9.27~dfsg-1* of ghostscript packages returns an error and cups can no longer print documents. The printer is "*KYOCERA-FS-C2626MFP*", the driver used "*Generic PCL 6/PCL XL Printer Foomatic/hpijs-pcl5c (color, 2-sided printing)*". The error returned (/var/log/cups/error_log) is as follows: "*GPL Ghostscript 9.27: Unrecoverable error, exit code 1*" As workaround I returned to version *9.26a~dfsg-0+deb9u1*: *apt-get install ghostscript=9.26a~dfsg-0+deb9u1 ghostscript-x=9.26a~dfsg-0+deb9u1 libgs9=9.26a~dfsg-0+deb9u1 libgs9-common=9.26a~dfsg-0+deb9u1apt-mark hold ghostscript ghostscript-x libgs9 libgs9-common* and now I can print again. Thank you, Antonio -- DETAILS -- D [10/Apr/2019:13:47:14 +0200] [Job 4700] Parameter Summary D [10/Apr/2019:13:47:14 +0200] [Job 4700] - D [10/Apr/2019:13:47:14 +0200] [Job 4700] Spooler: cups D [10/Apr/2019:13:47:14 +0200] [Job 4700] Printer: KYOCERA-FS-C2626MFP D [10/Apr/2019:13:47:14 +0200] [Job 4700] Shell: /bin/sh D [10/Apr/2019:13:47:14 +0200] [Job 4700] PPD file: /etc/cups/ppd/KYOCERA-FS-C2626MFP.ppd D [10/Apr/2019:13:47:14 +0200] [Job 4700] ATTR file: D [10/Apr/2019:13:47:14 +0200] [Job 4700] Printer model: Generic PCL 6/PCL XLPrinter Foomatic/hpijs-pcl5c D [10/Apr/2019:13:47:14 +0200] [Job 4700] Job title: Test Page D [10/Apr/2019:13:47:14 +0200] [Job 4700] File(s) to be printed: D [10/Apr/2019:13:47:14 +0200] [Job 4700] D [10/Apr/2019:13:47:14 +0200] [Job 4700] Ghostscript extra search path(\'GS_LIB\'): /usr/share/cups/fonts D [10/Apr/2019:13:47:14 +0200] [Job 4700] Printing system options: D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'job-uuid=urn:uuid:85f281d5-8532-3799-7a58-df42bd095e4c\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option job-uuid=urn:uuid:85f281d5-8532-3799-7a58-df42bd095e4c. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'job-originating-host-name=localhost\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option job-originating-host-name=localhost. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'date-time-at-creation=\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option date-time-at-creation=. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'date-time-at-processing=\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option date-time-at-processing=. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'time-at-creation=1554896441\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option time-at-creation=1554896441. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Pondering option \'time-at-processing=1554896834\' D [10/Apr/2019:13:47:14 +0200] [Job 4700] Unknown option time-at-processing=1554896834. D [10/Apr/2019:13:47:14 +0200] [Job 4700] CM Color Calibration Mode in CUPS:Off D [10/Apr/2019:13:47:14 +0200] [Job 4700] Options from the PPD file:D [10/Apr/2019:13:47:14 +0200] [Job 4700] D [10/Apr/2019:13:47:14 +0200] [Job 4700] File: D [10/Apr/2019:13:47:14 +0200] [Job 4700] D [10/Apr/2019:13:47:14 +0200] [Job 4700] PID 12586(/usr/lib/cups/filter/bannertopdf) exited with no errors. D [10/Apr/2019:13:47:14 +0200] [Job 4700] backendWaitLoop(snmp_fd=5,addr=0x5626cbcb0258, side_cb=0x5626cbc63210) D [10/Apr/2019:13:47:14 +0200] [Job 4700] PAGE: 1 1 D [10/Apr/2019:13:47:14 +0200] [Job 4700] PAGE: 2 1 D [10/Apr/2019:13:47:14 +0200] [Job 4700] PAGE: 3 1 D [10/Apr/2019:13:47:14 +0200] [Job 4700] Filetype: PDF D [10/Apr/2019:13:47:14 +0200] [Job 4700] Storing temporary files in/var/spool/cups/tmp D [10/Apr/2019:13:47:14 +0200] [Job 4700] PID 12587(/usr/lib/cups/filter/pdftopdf) exited with no errors.*D [10/Apr/2019:13:47:14 +0200] [Job 4700] GPL Ghostscript 9.27: Unrecoverableerror, exit code 1* D [10/Apr/2019:13:47:14 +0200] [Job 4700] Process is dying with \"Unable todetermine number of pages, page count: -1 D [10/Apr/2019:13:47:14 +0200] [Job 4700] \", exit stat 3 D [10/Apr/2019:13:47:14 +0200] [Job 4700] Cleaning up... D [10/Apr/2019:13:47:14 +0200] [Job 4700] PID 12588 (/usr/lib/cups/filter/foomatic-rip) stopped with status 3. D [10/Apr/2019:13:47:14 +0200] [Job 4700] Hint: Try setting the LogLevel to"debug" to find out more. D [10/Apr/2019:13:47:14 +0200] [Job 4700] PID 12589(/usr/lib/cups/backend/socket) exited with no errors. D [10/Apr/2019:13:47:14 +0200] [Job 4700] End of messages D [10/Apr/2019:13:47:14 +0200] [Job 4700] printer-state=3(idle) D [10/Apr/2019:13:47:14 +0200] [Job 4700] printer-state-message="Filter failed" D [10/Apr/2019:13:47:14 +0200] [Job 4700] printer-state-reasons=none -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (700, 'unstable'), (600, 'testing'), (500, 'stable-updates'), (500, 'stable'), (100, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.0.7-custo
Processed: affects 926576
Processing commands for cont...@bugs.debian.org: > affects 926576 ghostscript Bug #926576 [cups-filters] cups-filters: uses undocumented code gone since ghostscript 9.27 Added indication that 926576 affects ghostscript > thanks Stopping processing here. Please contact me if you need assistance. -- 926576: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=926576 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#926787: "filter failed" in CUPS, error log says "Unable to determine number of pages"
Quoting James Van Zandt (2019-04-10 13:08:52) > Most print jobs fail with "filter failed". Only acroreader is able to > print PDF files. Thanks for reporting this issue! Please check if this is the already reported bug https://bugs.debian.org/926576 - Jonas -- * Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private signature.asc Description: signature
Bug#926787: "filter failed" in CUPS, error log says "Unable to determine number of pages"
Package: ghostscript Version: 9.27~dfsg-1 Severity: normal Most print jobs fail with "filter failed". Only acroreader is able to print PDF files. The entry in /var/log/cups/error_log is: D [09/Apr/2019:20:17:06 -0400] [Job 1747] GPL Ghostscript 9.27: Unrecoverable error, exit code 1 D [09/Apr/2019:20:17:06 -0400] [Job 1747] Process is dying with \"Unable to determine number of pages, page count: -1 D [09/Apr/2019:20:17:06 -0400] [Job 1747] \", exit stat 3 The errors started on Apr 6: zgrep "Unable to determine" error* error_log:D [09/Apr/2019:20:17:06 -0400] [Job 1747] Process is dying with \"Unable to determine number of pages, page count: -1 error_log:D [09/Apr/2019:20:20:50 -0400] [Job 1748] Process is dying with \"Unable to determine number of pages, page count: -1 error_log.2.gz:D [07/Apr/2019:17:51:43 -0400] [Job 1741] Process is dying with \"Unable to determine number of pages, page count: -1 error_log.3.gz:D [06/Apr/2019:09:11:42 -0400] [Job 1736] Process is dying with \"Unable to determine number of pages, page count: -1 error_log.3.gz:D [06/Apr/2019:09:12:33 -0400] [Job 1736] Process is dying with \"Unable to determine number of pages, page count: -1 error_log.3.gz:D [06/Apr/2019:09:23:30 -0400] [Job 1737] Process is dying with \"Unable to determine number of pages, page count: -1 error_log.3.gz:D [06/Apr/2019:09:35:34 -0400] [Job 1738] Process is dying with \"Unable to determine number of pages, page count: -1 root@home:/var/log/cups# I may not have printed between 3/31 and 4/6. Updates on 4/1 included: Start-Date: 2019-04-01 19:38:30 Commandline: apt-get -y upgrade Requested-By: jrv (1000) Upgrade: libcups2:amd64 (2.2.10-4, 2.2.10-5), libcups2:i386 (2.2.10-4, 2.2.10-5), cups-server-common:amd64 (2.2.10-4, 2.2.10-5), cups-common:amd64 (2.2.10-4, 2.2.10-5), cups-ppdc:amd64 (2.2.10-4, 2.2.10-5), cups-bsd:amd64 (2.2.10-4, 2.2.10-5), cups-core-drivers:amd64 (2.2.10-4, 2.2.10-5), cups-daemon:amd64 (2.2.10-4, 2.2.10-5), libcupsimage2:amd64 (2.2.10-4, 2.2.10-5), cups:amd64 (2.2.10-4, 2.2.10-5), cups-client:amd64 (2.2.10-4, 2.2.10-5), cups-ipp-utils:amd64 (2.2.10-4, 2.2.10-5), End-Date: 2019-04-01 19:47:02 Updates on 4/4 included: Start-Date: 2019-04-04 21:24:21 Commandline: apt-get -y upgrade Requested-By: jrv (1000) Upgrade: ghostscript-doc:amd64 (9.26a~dfsg-2, 9.27~dfsg-1), ghostscript:amd64 (9.26a~dfsg-2, 9.27~dfsg-1), ghostscript-x:amd64 (9.26a~dfsg-2, 9.27~dfsg-1), End-Date: 2019-04-04 21:28:54 cups-filters has not been upgraded since at least 3/1. I found these in my backups: -rw-r--r-- 1 root root 94436 Apr 9 21:00 /tmp/ghostscript_9.26a~dfsg-2_amd64.deb -rw-r--r-- 1 root root 3449200 Apr 9 21:00 /tmp/ghostscript-doc_9.26a~dfsg-2_all.deb -rw-r--r-- 1 root root 90360 Apr 9 21:00 /tmp/ghostscript-x_9.26a~dfsg-2_amd64.deb -rw-r--r-- 1 root root 26948 Apr 9 21:00 /tmp/libfile-slurp-perl_.26-1_all.deb -rw-r--r-- 1 root root 2197888 Apr 9 21:00 /tmp/libgs9_9.26a~dfsg-2_amd64.deb -rw-r--r-- 1 root root 5135548 Apr 9 21:00 /tmp/libgs9-common_9.26a~dfsg-2_all.deb After downgrading to those versions, printing works again. I conclude that the last version of Ghostscript is (at least) incompatible with CUPS. - Jim Van Zandt -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (700, 'unstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ghostscript depends on: ii libc6 2.28-8 ii libgs9 9.26a~dfsg-2 Versions of packages ghostscript recommends: ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.4 Versions of packages ghostscript suggests: ii ghostscript-x 9.26a~dfsg-2 -- no debconf information