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

Bug#1029619: marked as done (bullseye-pu: package ghostscript/9.53.3~dfsg-7+deb11u3)



Your message dated Sat, 29 Apr 2023 10:54:14 +0100
with message-id <502b8fb37ece620c9723446611a9287974ba5a0c.camel@adam-barratt.org.uk>
and subject line Closing p-u requests for fixes included in 11.7
has caused the Debian Bug report #1029619,
regarding bullseye-pu: package ghostscript/9.53.3~dfsg-7+deb11u3
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.)


-- 
1029619: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029619
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
Tags: bullseye
User: release.debian.org@packages.debian.org
Usertags: pu
X-Debbugs-Cc: ghostscript@packages.debian.org, havard.f.aasen@pfft.no
Control: affects -1 + src:ghostscript

The bugs closed by this upload has only severity normal, but there are
two bugs, so I believe it is important enough to have it fixed.

[ Reason ]
The file '/usr/bin/ps2epsi' is a wrapper for 'ps2epsi.ps', and
'ps2epsi.ps' is being called with wrong path, which prevents it from
being executed.

I haven't checked when the bug was introduced, but the version in
Bullseye is the last version that as it. The patch from upstream was
included in version 9.54.

[ Impact ]
The application 'ps2epsi' will continue to be non-functional.

[ Tests ]
Did a manual test on amd64, before and after the patch to verify.

[ Risks ]
No risk.

[ Checklist ]
  [x] *all* changes are documented in the d/changelog
  [x] I reviewed all changes and I approve them
  [x] attach debdiff against the package in (old)stable
  [x] the issue is verified as fixed in unstable

[ Changes ]
The upstream patch updates a comment, and removes a variable.

[ Other info ]
diff -Nru ghostscript-9.53.3~dfsg/debian/changelog ghostscript-9.53.3~dfsg/debian/changelog
--- ghostscript-9.53.3~dfsg/debian/changelog	2022-01-04 15:09:14.000000000 +0100
+++ ghostscript-9.53.3~dfsg/debian/changelog	2023-01-25 08:11:34.000000000 +0100
@@ -1,3 +1,11 @@
+ghostscript (9.53.3~dfsg-7+deb11u3) bullseye; urgency=medium
+
+  * Non-maintainer upload.
+  * Cherry-pick upstream patch to fix path for PostScript helper file in
+    ps2epsi. Closes: #1003926, #1029541
+
+ -- Håvard F. Aasen <havard.f.aasen@pfft.no>  Wed, 25 Jan 2023 08:11:34 +0100
+
 ghostscript (9.53.3~dfsg-7+deb11u2) bullseye-security; urgency=high
 
   * Non-maintainer upload by the Security Team.
diff -Nru ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch
--- ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch	1970-01-01 01:00:00.000000000 +0100
+++ ghostscript-9.53.3~dfsg/debian/patches/020201214~c616676.patch	2023-01-25 08:11:34.000000000 +0100
@@ -0,0 +1,33 @@
+From: Ray Johnston <ray.johnston@artifex.com>
+Date: Mon, 14 Dec 2020 08:39:50 -0800
+Subject: Fix bug 703270: Wrong path for PostScript helper file in ps2epsi
+Origin: http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=c6166768c6e963b0fe28ccdb266629443e521381
+Bug: https://bugs.ghostscript.com/show_bug.cgi?id=703270
+Bug-Debian: https://bugs.debian.org/1003926
+Bug-Debian: https://bugs.debian.org/1029541
+
+In the change mentioned in the bug, rather than rely on the LIBPATH
+search method, the ps2epsi script assumed that pd2epsi.ps would be
+in the same directory as the 'gs' executable, which is not correct.
+
+Change to use bare 'ps2epsi.ps' so that it will be found on the
+LIBPATH as instialled by: make install
+---
+ lib/ps2epsi | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/ps2epsi b/lib/ps2epsi
+index 7590cb5a7..dbfc9fb3d 100755
+--- a/lib/ps2epsi
++++ b/lib/ps2epsi
+@@ -40,8 +40,8 @@ else
+ 	outfile=$2
+ fi
+ 
+-# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi'
++# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h
+ "$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \
+-		--permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps"  "${infile}" 1>&2
++		--permit-file-all="${infile}" -- ps2epsi.ps  "${infile}" 1>&2
+ 
+ exit 0
diff -Nru ghostscript-9.53.3~dfsg/debian/patches/series ghostscript-9.53.3~dfsg/debian/patches/series
--- ghostscript-9.53.3~dfsg/debian/patches/series	2022-01-04 15:09:14.000000000 +0100
+++ ghostscript-9.53.3~dfsg/debian/patches/series	2023-01-25 08:11:34.000000000 +0100
@@ -1,6 +1,7 @@
 020201007~c6ce09a.patch
 020201028~41ef9a0.patch
 020201120~bd48c43.patch
+020201214~c616676.patch
 020210130~d787dad.patch
 020210201~41130dd.patch
 020210212~7861fca.patch

--- End Message ---
--- Begin Message ---
Package: release.debian.org
Version: 11.7

Hi,

Each of the updates referred to in these requests was included in this
morning's 11.7 point release.

Regards,

Adam

--- End Message ---

Reply to: