Bug 1536211 - gv attempts to print with a non-existent DEVICE=pswrite
Summary: gv attempts to print with a non-existent DEVICE=pswrite
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gv
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-18 22:03 UTC by Michal Jaegermann
Modified: 2019-12-05 02:16 UTC (History)
1 user (show)

Fixed In Version: gv-3.7.4-21.fc31 gv-3.7.4-21.fc30 gv-3.7.4-9.el7
Clone Of:
Environment:
Last Closed: 2019-11-28 01:09:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2018-01-18 22:03:59 UTC
Description of problem:

In /usr/share/gv/gv_system.ad one can find this line:

GV.gsCmdConvPDF:	gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite -sOutputFile=%s -f %s -c save pop quit

The problem is that gv attempts to use that when attempting to print a PDF file and fails as 'pswrite' does not exist in a present ghostscript-9.22-3.fc27. There is ps2write listed in an output of 'gs -h' and that will do nicely.

Not that one often prints PDF from gv but still ... :-)

Version-Release number of selected component (if applicable):
gv-3.7.4-14.fc27

Comment 1 Ben Cotton 2018-11-27 17:26:07 UTC
This message is a reminder that Fedora 27 is nearing its end of life.
On 2018-Nov-30  Fedora will stop maintaining and issuing updates for
Fedora 27. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora  'version' of '27'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 27 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 2 Michal Jaegermann 2018-11-28 18:21:53 UTC
The same bug is still present in gv-3.7.4-17.fc29.  To wit:

# grep 'ps.*'rite /usr/share/gv/gv_system.ad
GV.gsCmdConvPDF:	gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite -sOutputFile=%s -f %s -c save pop quit

# gs -h | grep 'ps.*write'
   eplcolor eplmono eps2write eps9high eps9mid epson epsonc escp escpage
   pr1000_4 pr150 pr201 ps2write psdcmyk psdcmykog psdrgb pwgraster pxlcolor
   x11gray2 x11gray4 x11mono xcf xes xpswrite

This can be worked around by each user separately by setting properly "Convert PDF" format in "Setup Options" menu but this hardly seems to be a good reason for an obsolete command in gv_system.ad.

Comment 3 Ben Cotton 2019-10-31 20:24:04 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora Update System 2019-11-14 23:10:51 UTC
FEDORA-2019-92c9866d04 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-92c9866d04

Comment 5 Fedora Update System 2019-11-14 23:10:52 UTC
FEDORA-EPEL-2019-c3f4072b37 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-c3f4072b37

Comment 6 Fedora Update System 2019-11-15 03:45:33 UTC
gv-3.7.4-20.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-92c9866d04

Comment 7 Fedora Update System 2019-11-15 04:07:54 UTC
gv-3.7.4-8.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-c3f4072b37

Comment 8 Fedora Update System 2019-11-15 04:39:07 UTC
gv-3.7.4-20.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6d4b9e0926

Comment 9 Michal Jaegermann 2019-11-19 01:28:58 UTC
(In reply to Fedora Update System from comment #8)
> gv-3.7.4-20.fc31 has been pushed to the Fedora 31 testing repository. If
> problems still persist, please make note of it in this bug report.

The issue seems to be persistent. With a freshly installed gv-3.7.4-20.fc32 I see in a changelog:

* Thu Nov 14 2019 Orion Poplawski <orion> - 3.7.4-20
- Add patch to fix PDF printing (bz#1536211)

It appears that this patch was forgotten as I still have in /usr/share/gv/gv_system.ad 

GV.gsCmdConvPDF:	gs -dNOPAUSE -dQUIET -dBATCH -sDEVICE=pswrite ....

while 'gs' provides only ps2write.

The following will fix this:

   sed -i 's/pswrite/ps2write/' /usr/share/gv/gv_system.ad

but it users should not need it.

Comment 10 Orion Poplawski 2019-11-19 01:46:14 UTC
Shoot, I applied it to Makefile.am instead of Makefile.in (or I needed to re-generate configure).

Comment 11 Fedora Update System 2019-11-20 01:27:35 UTC
gv-3.7.4-21.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-f10ec7173f

Comment 12 Fedora Update System 2019-11-20 02:19:21 UTC
gv-3.7.4-21.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-18bab23b07

Comment 13 Fedora Update System 2019-11-20 04:03:33 UTC
gv-3.7.4-9.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-3978f4edf0

Comment 14 Fedora Update System 2019-11-28 01:09:18 UTC
gv-3.7.4-21.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2019-11-28 01:30:56 UTC
gv-3.7.4-21.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-12-05 02:16:04 UTC
gv-3.7.4-9.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.