Reopening. It seems that Andre was talking about an entirely different issue (deprecated Ghostscript option) and somehow tagged along onto this bug.
Getting back to your issue, a few things come to mind: 1) Bug#931363 2) Upgrade from an older CUPS-PDF that didn't use the Cairo backend. The maintainer make no attempt to change the backend used. 3) Ghostscript version. Martin-Éric ti 28. syysk. 2021 klo 22.54 наб (nabijaczlew...@nabijaczleweli.xyz) kirjoitti: > > On Tue, Sep 28, 2021 at 03:30:40PM +0300, Martin-Éric Racine wrote: > > I'd still like to hear from the bug submitter before I decide on > > backporting anything to stable-updates. > > Having not had updated in a while, I have the same cups as bullseye > (2.3.3op2-3+deb11u1); combining this with cups-pdf 3.0.1-12, > "lp -dPDF POSIX.2.ps" gives me: > -- >8 -- > Tue Sep 28 21:37:09 2021 [DEBUG] *** Final Configuration *** > Tue Sep 28 21:37:09 2021 [DEBUG] AnonDirName = > "/var/spool/cups-pdf/ANONYMOUS" > Tue Sep 28 21:37:09 2021 [DEBUG] AnonUser = "nobody" > Tue Sep 28 21:37:09 2021 [DEBUG] GhostScript = "/usr/bin/gs" > Tue Sep 28 21:37:09 2021 [DEBUG] GSCall = "%s -q > -dCompatibilityLevel=%s -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite > -sOutputFile="%s" -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false > -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f %s" > Tue Sep 28 21:37:09 2021 [DEBUG] Grp = "lpadmin" > Tue Sep 28 21:37:09 2021 [DEBUG] GSTmp = "TMPDIR=/var/tmp" > Tue Sep 28 21:37:09 2021 [DEBUG] Log = "/var/log/cups" > Tue Sep 28 21:37:09 2021 [DEBUG] PDFVer = "1.2" > Tue Sep 28 21:37:09 2021 [DEBUG] PostProcessing = "" > Tue Sep 28 21:37:09 2021 [DEBUG] Out = "${HOME}/PDF" > Tue Sep 28 21:37:09 2021 [DEBUG] Spool = > "/var/spool/cups-pdf/SPOOL" > Tue Sep 28 21:37:09 2021 [DEBUG] UserPrefix = "" > Tue Sep 28 21:37:09 2021 [DEBUG] RemovePrefix = "" > Tue Sep 28 21:37:09 2021 [DEBUG] OutExtension = "pdf" > Tue Sep 28 21:37:09 2021 [DEBUG] Cut = 3 > Tue Sep 28 21:37:09 2021 [DEBUG] Truncate = 64 > Tue Sep 28 21:37:09 2021 [DEBUG] DirPrefix = 0 > Tue Sep 28 21:37:09 2021 [DEBUG] Label = 1 > Tue Sep 28 21:37:09 2021 [DEBUG] LogType = 7 > Tue Sep 28 21:37:09 2021 [DEBUG] LowerCase = 1 > Tue Sep 28 21:37:09 2021 [DEBUG] TitlePref = 0 > Tue Sep 28 21:37:09 2021 [DEBUG] DecodeHexStrings = 1 > Tue Sep 28 21:37:09 2021 [DEBUG] FixNewlines = 0 > Tue Sep 28 21:37:09 2021 [DEBUG] AllowUnsafeOptions = 0 > Tue Sep 28 21:37:09 2021 [DEBUG] AnonUMask = 0000 > Tue Sep 28 21:37:09 2021 [DEBUG] UserUMask = 0077 > Tue Sep 28 21:37:09 2021 [DEBUG] *** End of Configuration *** > Tue Sep 28 21:37:09 2021 [DEBUG] set new gid: lpadmin > Tue Sep 28 21:37:09 2021 [DEBUG] initialization finished: v3.0.1 > Tue Sep 28 21:37:09 2021 [DEBUG] user identified: nabijaczleweli > Tue Sep 28 21:37:09 2021 [DEBUG] output directory name generated: > /home/nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [DEBUG] user information prepared > Tue Sep 28 21:37:09 2021 [DEBUG] spoolfile name created: > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] source stream ready > Tue Sep 28 21:37:09 2021 [DEBUG] destination stream ready: > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] owner set for spoolfile: > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] using traditional fgets > Tue Sep 28 21:37:09 2021 [DEBUG] found beginning of postscript code: > %!PS-Adobe-3.0 > > Tue Sep 28 21:37:09 2021 [DEBUG] now extracting postscript code > Tue Sep 28 21:37:09 2021 [DEBUG] found title in ps code: stdin > nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [DEBUG] found end of postscript code: %%EOF > > Tue Sep 28 21:37:09 2021 [DEBUG] all data written to spoolfile: > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] trying to use PS title: stdin > nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [STATUS] ***Experimental Option: DecodeHexStrings > Tue Sep 28 21:37:09 2021 [DEBUG] checking for hex strings: stdin > nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [DEBUG] not a hex string, has no start marker: stdin > nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [DEBUG] calling alternate_replace_string > Tue Sep 28 21:37:09 2021 [DEBUG] removing alternate special characters from > title: stdin > nabijaczleweli/PDF > Tue Sep 28 21:37:09 2021 [DEBUG] title successfully retrieved: > job_21-stdin_nabijaczleweli_PDF > Tue Sep 28 21:37:09 2021 [DEBUG] input data read from stdin > Tue Sep 28 21:37:09 2021 [DEBUG] output filename created: > /home/nabijaczleweli/PDF/job_21-stdin_nabijaczleweli_PDF.pdf > Tue Sep 28 21:37:09 2021 [DEBUG] ghostscript commandline built: /usr/bin/gs > -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pdfwrite > -sOutputFile="/home/nabijaczleweli/PDF/job_21-stdin_nabijaczleweli_PDF.pdf" > -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false > -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] output file unlinked: > /home/nabijaczleweli/PDF/job_21-stdin_nabijaczleweli_PDF.pdf > Tue Sep 28 21:37:09 2021 [DEBUG] TMPDIR set for GhostScript: /var/tmp > Tue Sep 28 21:37:09 2021 [DEBUG] waiting for child to exit > Tue Sep 28 21:37:09 2021 [DEBUG] entering child process > Tue Sep 28 21:37:09 2021 [DEBUG] GID set for current user > Tue Sep 28 21:37:09 2021 [DEBUG] supplementary groups set for current user > Tue Sep 28 21:37:09 2021 [DEBUG] UID set for current user: nabijaczleweli > Tue Sep 28 21:37:09 2021 [DEBUG] ghostscript has finished: 256 > Tue Sep 28 21:37:09 2021 [DEBUG] file mode set for user output: > /home/nabijaczleweli/PDF/job_21-stdin_nabijaczleweli_PDF.pdf > Tue Sep 28 21:37:09 2021 [DEBUG] no postprocessing > Tue Sep 28 21:37:09 2021 [DEBUG] spoolfile unlinked: > /var/spool/cups-pdf/SPOOL/cups2pdf-7550 > Tue Sep 28 21:37:09 2021 [DEBUG] all memory has been freed > Tue Sep 28 21:37:09 2021 [STATUS] PDF creation successfully finished for > nabijaczleweli > -- >8 -- > And, again, an empty PDF (attached, maybe it's useful somehow?). > > And, once more, the "built commandline": > /usr/bin/gs -q -dCompatibilityLevel=1.2 -dNOPAUSE -dBATCH -dSAFER > -sDEVICE=pdfwrite > -sOutputFile="/home/nabijaczleweli/PDF/job_21a-stdin_nabijaczleweli_PDF.pdf" > -dAutoRotatePages=/PageByPage -dAutoFilterColorImages=false > -dColorImageFilter=/FlateEncode -dPDFSETTINGS=/prepress -c -f POSIX.2.ps > is quiet and happily produces the full document. > > The warning is, indeed, gone, but the bug itself is, well, not. > > Updating cups to current sid (2.3.3op2-7) produces the same result > (also attached) ‒ I'm quite surprised to see this bug closed, > seeing as the original Subject: is still reproducible to the letter? > > Best, > наб