[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#990210: marked as done (printer-driver-cups-pdf: produces empty output with gs exit 256, gs from log works)



Your message dated Mon, 27 Sep 2021 12:33:24 +0000
with message-id <E1mUpoy-0005Gg-CW@fasolo.debian.org>
and subject line Bug#990210: fixed in cups-pdf 3.0.1-12
has caused the Debian Bug report #990210,
regarding printer-driver-cups-pdf: produces empty output with gs exit 256, gs from log works
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 owner@bugs.debian.org
immediately.)


-- 
990210: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990210
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: printer-driver-cups-pdf
Version: 3.0.1-9
Severity: normal

Dear Maintainer,

Running
    lp -dPDF .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps
(http://www.oldlinux.org/Linux.old/Ref-docs/POSIX/all.ps)
produces a blank one-page PDF in ~/PDF/stdin_nabijaczleweli_PDF.pdf
and the following in /var/log/cups/cups-pdf-PDF_log:
-- >8 --
Wed Jun 23 01:22:41 2021  [DEBUG] *** Final Configuration ***
Wed Jun 23 01:22:41 2021  [DEBUG] AnonDirName        = "/var/spool/cups-pdf/ANONYMOUS"
Wed Jun 23 01:22:41 2021  [DEBUG] AnonUser           = "nobody"
Wed Jun 23 01:22:41 2021  [DEBUG] GhostScript        = "/usr/bin/gs"
Wed Jun 23 01:22:41 2021  [DEBUG] GSCall             = "%s -q -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f %s"
Wed Jun 23 01:22:41 2021  [DEBUG] Grp                = "lpadmin"
Wed Jun 23 01:22:41 2021  [DEBUG] GSTmp              = "TMPDIR=/var/tmp"
Wed Jun 23 01:22:41 2021  [DEBUG] Log                = "/var/log/cups"
Wed Jun 23 01:22:41 2021  [DEBUG] PDFVer             = "1.2"
Wed Jun 23 01:22:41 2021  [DEBUG] PostProcessing     = ""
Wed Jun 23 01:22:41 2021  [DEBUG] Out                = "${HOME}/PDF"
Wed Jun 23 01:22:41 2021  [DEBUG] Spool              = "/var/spool/cups-pdf/SPOOL"
Wed Jun 23 01:22:41 2021  [DEBUG] UserPrefix         = ""
Wed Jun 23 01:22:41 2021  [DEBUG] RemovePrefix       = ""
Wed Jun 23 01:22:41 2021  [DEBUG] OutExtension       = "pdf"
Wed Jun 23 01:22:41 2021  [DEBUG] Cut                = 3
Wed Jun 23 01:22:41 2021  [DEBUG] Truncate           = 64
Wed Jun 23 01:22:41 2021  [DEBUG] DirPrefix          = 0
Wed Jun 23 01:22:41 2021  [DEBUG] Label              = 0
Wed Jun 23 01:22:41 2021  [DEBUG] LogType            = 7
Wed Jun 23 01:22:41 2021  [DEBUG] LowerCase          = 1
Wed Jun 23 01:22:41 2021  [DEBUG] TitlePref          = 0
Wed Jun 23 01:22:41 2021  [DEBUG] DecodeHexStrings   = 1
Wed Jun 23 01:22:41 2021  [DEBUG] FixNewlines        = 0
Wed Jun 23 01:22:41 2021  [DEBUG] AllowUnsafeOptions = 0
Wed Jun 23 01:22:41 2021  [DEBUG] AnonUMask          = 0000
Wed Jun 23 01:22:41 2021  [DEBUG] UserUMask          = 0077
Wed Jun 23 01:22:41 2021  [DEBUG] *** End of Configuration ***
Wed Jun 23 01:22:41 2021  [DEBUG] set new gid: lpadmin
Wed Jun 23 01:22:41 2021  [DEBUG] initialization finished: v3.0.1
Wed Jun 23 01:22:41 2021  [DEBUG] user identified: nabijaczleweli
Wed Jun 23 01:22:41 2021  [DEBUG] output directory name generated: /home/nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [DEBUG] user information prepared
Wed Jun 23 01:22:41 2021  [DEBUG] spoolfile name created: /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] source stream ready
Wed Jun 23 01:22:41 2021  [DEBUG] destination stream ready: /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] owner set for spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] using traditional fgets
Wed Jun 23 01:22:41 2021  [DEBUG] found beginning of postscript code: %!PS-Adobe-3.0

Wed Jun 23 01:22:41 2021  [DEBUG] now extracting postscript code
Wed Jun 23 01:22:41 2021  [DEBUG] found title in ps code: stdin
nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [DEBUG] found end of postscript code: %%EOF

Wed Jun 23 01:22:41 2021  [DEBUG] all data written to spoolfile: /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] trying to use PS title: stdin
nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [STATUS] ***Experimental Option: DecodeHexStrings
Wed Jun 23 01:22:41 2021  [DEBUG] checking for hex strings: stdin
nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [DEBUG] not a hex string, has no start marker: stdin
nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [DEBUG] calling alternate_replace_string
Wed Jun 23 01:22:41 2021  [DEBUG] removing alternate special characters from title: stdin
nabijaczleweli/PDF
Wed Jun 23 01:22:41 2021  [DEBUG] title successfully retrieved: stdin_nabijaczleweli_PDF
Wed Jun 23 01:22:41 2021  [DEBUG] input data read from stdin
Wed Jun 23 01:22:41 2021  [DEBUG] output filename created: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf
Wed Jun 23 01:22:41 2021  [DEBUG] ghostscript commandline built: /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] output file unlinked: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf
Wed Jun 23 01:22:41 2021  [DEBUG] TMPDIR set for GhostScript: /var/tmp
Wed Jun 23 01:22:41 2021  [DEBUG] waiting for child to exit
Wed Jun 23 01:22:41 2021  [DEBUG] entering child process
Wed Jun 23 01:22:41 2021  [DEBUG] GID set for current user
Wed Jun 23 01:22:41 2021  [DEBUG] supplementary groups set for current user
Wed Jun 23 01:22:41 2021  [DEBUG] UID set for current user: nabijaczleweli
Wed Jun 23 01:22:41 2021  [DEBUG] ghostscript has finished: 256
Wed Jun 23 01:22:41 2021  [DEBUG] file mode set for user output: /home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf
Wed Jun 23 01:22:41 2021  [DEBUG] no postprocessing
Wed Jun 23 01:22:41 2021  [DEBUG] spoolfile unlinked: /var/spool/cups-pdf/SPOOL/cups2pdf-174140
Wed Jun 23 01:22:41 2021  [DEBUG] all memory has been freed
Wed Jun 23 01:22:41 2021  [STATUS] PDF creation successfully finished for nabijaczleweli
-- >8 --

However, running
-- >8 --
nabijaczleweli@babtop:~$ time /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c .setpdfwrite -f .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps

**** WARNING: The .setpdfwrite operator has been deprecated and will be removed entirely
              in the next release of Ghostscript. The functionality of this operator has
              been reduced to increasing the size of the VM threshold. If you believe you
              have a real need for this then you should replace your call to .setpdfwrite
              with:

                  3000000 setvmthreshold


real    0m2.176s
user    0m2.063s
sys     0m0.077s
-- >8 --
works, as, indeed, does
-- >8 --
nabijaczleweli@babtop:~$ time /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite -sOutputFile="/home/nabijaczleweli/PDF/stdin_nabijaczleweli_PDF.pdf" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c  -f .../nabijaczleweli/POSIX/IEEE\ P1003.2\ Draft\ 11.2−September\ 1991.ps

real    0m2.150s
user    0m2.087s
sys     0m0.033s
-- >8 --

Where "works" is defined as "produces a full POSIX.2 PDF".

-- System Information:
Debian Release: 11.0
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printer-driver-cups-pdf depends on:
ii  cups            2.3.3op2-3+deb11u1
ii  cups-client     2.3.3op2-3+deb11u1
ii  ghostscript     9.53.3~dfsg-7
ii  libc6           2.31-12
ii  libcups2        2.3.3op2-3+deb11u1
ii  libpaper-utils  1.1.28+b1

printer-driver-cups-pdf recommends no packages.

Versions of packages printer-driver-cups-pdf suggests:
pn  system-config-printer  <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: cups-pdf
Source-Version: 3.0.1-12
Done: Martin-Éric Racine <martin-eric.racine@iki.fi>

We believe that the bug you reported is fixed in the latest version of
cups-pdf, 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 990210@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin-Éric Racine <martin-eric.racine@iki.fi> (supplier of updated cups-pdf 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 27 Sep 2021 14:23:08 +0300
Source: cups-pdf
Architecture: source
Version: 3.0.1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian CUPS Maintainers <debian-printing@lists.debian.org>
Changed-By: Martin-Éric Racine <martin-eric.racine@iki.fi>
Closes: 928738 990210
Changes:
 cups-pdf (3.0.1-12) unstable; urgency=medium
 .
   * Merged patch from Arch Linux (Closes: #990210):
     + 02_remove-deprecated-ghostscript-setpdfwrite-operator.patch
     Thanks to Andre Heider for finding this fix.
   * [README.Debian]
     + Specified how to manually upgrade from old releases (Closes: #928738).
Checksums-Sha1:
 8a8f602e4fcf7952d71d54d082bf10239469980b 1840 cups-pdf_3.0.1-12.dsc
 68ba870b1d8bf799fba9897d601bce45bb7a0248 15392 cups-pdf_3.0.1-12.debian.tar.xz
 a412be28239a8ac63801c206d201eca233bd7636 5317 cups-pdf_3.0.1-12_source.buildinfo
Checksums-Sha256:
 626db9d5a778649546f498b48a5926c3a27d2da0da631577adc5f62d9181b85b 1840 cups-pdf_3.0.1-12.dsc
 6dc27cf45bcbd387c2e94599aa036e05cc1d88ee833a9de98c1dc0f64c6915f3 15392 cups-pdf_3.0.1-12.debian.tar.xz
 a18d9d4e8c6f9ac1139ed1ddfec83a7189a7b335e42ac3845288f837185c3f05 5317 cups-pdf_3.0.1-12_source.buildinfo
Files:
 8c601848a8cda614a15fe77584684419 1840 graphics optional cups-pdf_3.0.1-12.dsc
 20cb112211249a0e3d9fce4c2119eaa3 15392 graphics optional cups-pdf_3.0.1-12.debian.tar.xz
 54132b25c614c8acebab4c4d06baef9a 5317 graphics optional cups-pdf_3.0.1-12_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEPbRrVe+lnUDmIyFI0U7xXa/hE0cFAmFRtu4ACgkQ0U7xXa/h
E0er4A/9FABxWWjwdUvqabhjWCGgoghR+vF+8xgngqijzsbgiHH8tO7naazh9Qqz
HjkY0sAVeXx/GUNuziLxk8R/S8s1UMWPBp47xdhn4mdii780E/I8/1p3idn7MB9m
+s+9VuvnJc+Oyo+oN18WEWpiNHMpTo9YfH3SiOuvtHpf6bgw37+YbJEF870OIFp3
U77H1AhjcpWl/RalxotF23yCGUBtxaGaSl/m4zId/TxEBv+y5zqPJom6iFIfE4xb
lSkuzbH6Y+Y3iUpV1kAgYNUN7+Kimo2IBWr3HQ3roY6bELc+Sx6h36lrlvpfZ+9v
oVfF5iiLdaT7lY1Qi2lGU3R0mjHtWlsYb+nbWx2/ecay4h3gTzE90sHVMyjGuaiH
QrcuH+VkVwR3HL58kTSFNgF1azeG0E8rDJ0SQkj7L3UDTiATK2HAZzSj3danPTcG
MmVbIS2WX2C7DSFwmEDZJMiEgw+S0BpE4OeBkDgfFwvsq6xCiK3Pz5LvFWszXA+R
aCc7RUpFcDKYLsn3guZsRgLGMQ2O9uv3wjqRo/WK43lY627F5I6DP9eL0dMVoRL7
BJfaIxD1TQBJIH3xE7X00/LSo7bqihNvmF+Tb1bT9ozQqbIRC2qhcuDl3jN9wmvF
25lzqy3vNJ+WgCLwoLz4nlBL3D29ll+0H3ntc62tJXuNgQxzYAY=
=7C+W
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: