Switched the autopkgtest of doc-rfc from pstotext to Ghostscript's
ps2txt.

pstotext is unmaintained upstream for years and so one cannot expect a
fix for Ghostscript compatibility on it. ps2txt is part of Ghostscript
and so kept compatible with the Ghostscript it comes with by the
Ghostscript upstream maintainers.

pstotext is only used by dhelp and nothing else. It is used in the
autopkgtest of doc-rfc to assure dhelp compatibility.

Switching the pstotext command lines to ps2txt also in dhelp eliminates
the need of pstotext altogether.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1762778

Title:
  ghostscript 9.22 breaks pstotext: Unrecoverable error: undefined in
  DELAYBIND

Status in doc-rfc package in Ubuntu:
  Fix Committed
Status in ghostscript package in Ubuntu:
  Won't Fix
Status in pstotext package in Ubuntu:
  Won't Fix
Status in ghostscript package in Debian:
  Unknown

Bug description:
  I noticed after my poppler upload that the "doc-rfc" tests are failing

  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-bionic/bionic/amd64/d/doc-
  rfc/20180410_090135_46f84@/log.gz

  These tests basically zcat a ps.gz file to pstotext. It's this that is
  broken. See:

  laney@nightingale> echo "" | pstotext -debug
  GPL Ghostscript 9.22 (2017-10-04)
  Copyright (C) 2017 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.

   *** WARNING - the DELAYBIND command has been deprecated, and will be
                 removed in the next version. For now you can restore
                 the behaviour by using -dREALLYDEALYBIND but if you
                 require continued use of this command you should contact
                 the Ghostscript developers. Commercial customers of
                 Artifex should email their support contact, free users
                 are encouraged to talk to us on the #ghostscript IRC
                 channel on irc.freenode.net.

  Unrecoverable error: undefined in DELAYBIND
  laney@nightingale> echo $?
  3

  but downgrading ghostscript libgs9 libgs9-common to the previous
  version 9.21~dfsg+1-0ubuntu3 fixes it:

  laney@nightingale> echo "" | pstotext -debug
  GPL Ghostscript 9.21 (2017-03-16)
  Copyright (C) 2017 Artifex Software, Inc.  All rights reserved.
  This software comes with NO WARRANTY: see the file PUBLIC for details.
  QI 100 0 0 -100 0 84200 
  laney@nightingale> echo $?
  0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/doc-rfc/+bug/1762778/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to