* ghostscript issues [not found] <1604953430.859583.1591025163209.ref@mail.yahoo.com> @ 2020-06-01 15:26 ` Thomas Bodine 2020-06-01 16:43 ` Ken Brown 2020-06-01 21:57 ` Jim Garrison 0 siblings, 2 replies; 11+ messages in thread From: Thomas Bodine @ 2020-06-01 15:26 UTC (permalink / raw) To: cygwin My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task I am running this: Cygwin Setup version 2.904 (64 bit) base-cygwin 3.8-1 ghostscript 9.52-1 ghostscript-fonts-other 6.0-1 Windows 10 Pro version 1909 build 18363.836 When I run the script: $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf > GPL Ghostscript 9.52 (2020-03-19) Copyright (C) 2020 Artifex Software, Inc. All rights reserved. This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: see the file COPYING for details. Processing pages 1 through 1. Page 1 Error: /rangecheck in --restore-- Operand stack: --dict:8/16(L)-- --dict:38/38(ro)(L)-- Execution stack: %interp_exit .runexec2 --nostringval-- restore --nostringval-- 2 %stopped_push --nostringval-- restore restore false 1 %stopped_push 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %op array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 94 2 9 %oparray_pop Dictionary stack: --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/ 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- --dict:6/9(L)-- --dict:6/20(L)-- Current allocation mode is local GPL Ghostscript 9.52: Unrecoverable error, exit code 1 #------------------------------------------------------- # Thomas Bodine,# Father of Tawnie Rose # Chaplain American Legion Post 76 # Skipper S/V Frimi WWP 19 #1029# Dancing to the Music Life has given me ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-01 15:26 ` ghostscript issues Thomas Bodine @ 2020-06-01 16:43 ` Ken Brown 2020-06-01 17:48 ` Marco Atzeri 2020-06-02 11:58 ` Lemures Lemniscati 2020-06-01 21:57 ` Jim Garrison 1 sibling, 2 replies; 11+ messages in thread From: Ken Brown @ 2020-06-01 16:43 UTC (permalink / raw) To: cygwin On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: > My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task > > I am running this: > Cygwin Setup version 2.904 (64 bit) > base-cygwin 3.8-1 > ghostscript 9.52-1 > ghostscript-fonts-other 6.0-1 > Windows 10 Pro version 1909 build 18363.836 > > When I run the script: > $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf >> > GPL Ghostscript 9.52 (2020-03-19) > Copyright (C) 2020 Artifex Software, Inc. All rights reserved. > This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: > see the file COPYING for details. > Processing pages 1 through 1. > Page 1 > Error: /rangecheck in --restore-- > Operand stack: > --dict:8/16(L)-- --dict:38/38(ro)(L)-- > Execution stack: > %interp_exit .runexec2 --nostringval-- restore --nostringval-- 2 > %stopped_push --nostringval-- restore restore false 1 %stopped_push > 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %op > array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor > e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 > 94 2 9 %oparray_pop > Dictionary stack: > --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/ > 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- > --dict:6/9(L)-- --dict:6/20(L)-- > Current allocation mode is local > GPL Ghostscript 9.52: Unrecoverable error, exit code 1 I can confirm this. As a workaround, downgrade ghostscript and libgs9 to the previous version, 9.50-1, while I investigate. Thanks for the report. Ken ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-01 16:43 ` Ken Brown @ 2020-06-01 17:48 ` Marco Atzeri 2020-06-02 11:58 ` Lemures Lemniscati 1 sibling, 0 replies; 11+ messages in thread From: Marco Atzeri @ 2020-06-01 17:48 UTC (permalink / raw) To: cygwin On 01.06.2020 18:43, Ken Brown via Cygwin wrote: > On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: >> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin >> this weekend, and ghost script fails to perform this task >> >> I am running this: >> Cygwin Setup version 2.904 (64 bit) >> base-cygwin 3.8-1 >> ghostscript 9.52-1 >> ghostscript-fonts-other 6.0-1 >> Windows 10 Pro version 1909 build 18363.836 >> >> When I run the script: >> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf >> able.pdf baker.pdf charly.pdf >>> > > I can confirm this. As a workaround, downgrade ghostscript and libgs9 > to the previous version, 9.50-1, while I investigate. > > Thanks for the report. > > Ken > -- as alternative workaround, you can use qpdf to merge PDF files qpdf --empty --pages able.pdf baker.pdf charly.pdf -- combine.pdf Regards Marco ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-01 16:43 ` Ken Brown 2020-06-01 17:48 ` Marco Atzeri @ 2020-06-02 11:58 ` Lemures Lemniscati 2020-06-02 12:12 ` Ken Brown 1 sibling, 1 reply; 11+ messages in thread From: Lemures Lemniscati @ 2020-06-02 11:58 UTC (permalink / raw) To: Ken Brown via Cygwin Date: Mon, 1 Jun 2020 12:43:44 -0400 From: Ken Brown via Cygwin > On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: > > My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task > > > > I am running this: > > Cygwin Setup version 2.904 (64 bit) > > base-cygwin 3.8-1 > > ghostscript 9.52-1 > > ghostscript-fonts-other 6.0-1 > > Windows 10 Pro version 1909 build 18363.836 > > > > When I run the script: > > $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf > >> > > GPL Ghostscript 9.52 (2020-03-19) > > Copyright (C) 2020 Artifex Software, Inc. All rights reserved. > > This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: > > see the file COPYING for details. > > Processing pages 1 through 1. > > Page 1 > > Error: /rangecheck in --restore-- > > Operand stack: > > --dict:8/16(L)-- --dict:38/38(ro)(L)-- > > Execution stack: > > %interp_exit .runexec2 --nostringval-- restore --nostringval-- 2 > > %stopped_push --nostringval-- restore restore false 1 %stopped_push > > 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %op > > array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor > > e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 > > 94 2 9 %oparray_pop > > Dictionary stack: > > --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/ > > 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- > > --dict:6/9(L)-- --dict:6/20(L)-- > > Current allocation mode is local > > GPL Ghostscript 9.52: Unrecoverable error, exit code 1 > > I can confirm this. As a workaround, downgrade ghostscript and libgs9 to the previous version, 9.50-1, while I investigate. > > Thanks for the report. > > Ken Hi! The first bad commit causing the issue seems to be 327dc89: http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327dc8943c0aac1c7be7a1fb6e93346b61cd0900 Lem ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-02 11:58 ` Lemures Lemniscati @ 2020-06-02 12:12 ` Ken Brown 2020-06-02 18:14 ` Ken Brown 0 siblings, 1 reply; 11+ messages in thread From: Ken Brown @ 2020-06-02 12:12 UTC (permalink / raw) To: cygwin On 6/2/2020 7:58 AM, Lemures Lemniscati via Cygwin wrote: > Date: Mon, 1 Jun 2020 12:43:44 -0400 > From: Ken Brown via Cygwin > >> On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: >>> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task >>> >>> I am running this: >>> Cygwin Setup version 2.904 (64 bit) >>> base-cygwin 3.8-1 >>> ghostscript 9.52-1 >>> ghostscript-fonts-other 6.0-1 >>> Windows 10 Pro version 1909 build 18363.836 >>> >>> When I run the script: >>> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf >>>> >>> GPL Ghostscript 9.52 (2020-03-19) >>> Copyright (C) 2020 Artifex Software, Inc. All rights reserved. >>> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: >>> see the file COPYING for details. >>> Processing pages 1 through 1. >>> Page 1 >>> Error: /rangecheck in --restore-- >>> Operand stack: >>> --dict:8/16(L)-- --dict:38/38(ro)(L)-- >>> Execution stack: >>> %interp_exit .runexec2 --nostringval-- restore --nostringval-- 2 >>> %stopped_push --nostringval-- restore restore false 1 %stopped_push >>> 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 3 %op >>> array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor >>> e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 >>> 94 2 9 %oparray_pop >>> Dictionary stack: >>> --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- --dict:80/ >>> 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- >>> --dict:6/9(L)-- --dict:6/20(L)-- >>> Current allocation mode is local >>> GPL Ghostscript 9.52: Unrecoverable error, exit code 1 >> >> I can confirm this. As a workaround, downgrade ghostscript and libgs9 to the previous version, 9.50-1, while I investigate. >> >> Thanks for the report. >> >> Ken > > Hi! > > The first bad commit causing the issue seems to be 327dc89: > > http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327dc8943c0aac1c7be7a1fb6e93346b61cd0900 Thanks! I think the problem is here: @@ -234,18 +242,14 @@ CONTRIBINCLUDE="include $srcdir/contrib/contrib.mak" INSTALL_CONTRIB="install-contrib-extras" if test x"$enable_contrib" = x; then - if test x"$cross_compiling" = x"yes"; then - enable_contrib= - else - case `uname` in - MINGW*|MSYS*) + case $host in + *-mingw*|*-msys*|*-cygwin*) AC_MSG_WARN([disabling contrib devices]) enable_contrib=no ;; *) ;; esac - fi fi if test x"$enable_contrib" != x"no"; then Do you want to send the obvious fix upstream or should I do it? Thanks again. Ken ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-02 12:12 ` Ken Brown @ 2020-06-02 18:14 ` Ken Brown 2020-06-03 11:56 ` Ken Brown 0 siblings, 1 reply; 11+ messages in thread From: Ken Brown @ 2020-06-02 18:14 UTC (permalink / raw) To: cygwin On 6/2/2020 8:12 AM, Ken Brown via Cygwin wrote: > On 6/2/2020 7:58 AM, Lemures Lemniscati via Cygwin wrote: >> Date: Mon, 1 Jun 2020 12:43:44 -0400 >> From: Ken Brown via Cygwin >> >>> On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: >>>> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this >>>> weekend, and ghost script fails to perform this task >>>> >>>> I am running this: >>>> Cygwin Setup version 2.904 (64 bit) >>>> base-cygwin 3.8-1 >>>> ghostscript 9.52-1 >>>> ghostscript-fonts-other 6.0-1 >>>> Windows 10 Pro version 1909 build 18363.836 >>>> >>>> When I run the script: >>>> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf >>>> able.pdf baker.pdf charly.pdf >>>>> >>>> GPL Ghostscript 9.52 (2020-03-19) >>>> Copyright (C) 2020 Artifex Software, Inc. All rights reserved. >>>> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: >>>> see the file COPYING for details. >>>> Processing pages 1 through 1. >>>> Page 1 >>>> Error: /rangecheck in --restore-- >>>> Operand stack: >>>> --dict:8/16(L)-- --dict:38/38(ro)(L)-- >>>> Execution stack: >>>> %interp_exit .runexec2 --nostringval-- restore --nostringval-- 2 >>>> %stopped_push --nostringval-- restore restore false 1 %stopped_push >>>> 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 >>>> 3 %op >>>> array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 >>>> restor >>>> e %for_pos_int_continue 1981 1 7 %oparray_pop restore >>>> restore 18 >>>> 94 2 9 %oparray_pop >>>> Dictionary stack: >>>> --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- >>>> --dict:80/ >>>> 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- >>>> --dict:33/64(L)-- >>>> --dict:6/9(L)-- --dict:6/20(L)-- >>>> Current allocation mode is local >>>> GPL Ghostscript 9.52: Unrecoverable error, exit code 1 >>> >>> I can confirm this. As a workaround, downgrade ghostscript and libgs9 to the >>> previous version, 9.50-1, while I investigate. >>> >>> Thanks for the report. >>> >>> Ken >> >> Hi! >> >> The first bad commit causing the issue seems to be 327dc89: >> >> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327dc8943c0aac1c7be7a1fb6e93346b61cd0900 >> > > Thanks! I think the problem is here: > > @@ -234,18 +242,14 @@ CONTRIBINCLUDE="include $srcdir/contrib/contrib.mak" > INSTALL_CONTRIB="install-contrib-extras" > > if test x"$enable_contrib" = x; then > - if test x"$cross_compiling" = x"yes"; then > - enable_contrib= > - else > - case `uname` in > - MINGW*|MSYS*) > + case $host in > + *-mingw*|*-msys*|*-cygwin*) > AC_MSG_WARN([disabling contrib devices]) > enable_contrib=no > ;; > *) > ;; > esac > - fi > fi > > if test x"$enable_contrib" != x"no"; then > > Do you want to send the obvious fix upstream or should I do it? Let's hold off on this. Just making this one change doesn't solve the problem. I've found several other commits that have mistakenly lumped cygwin with mingw and msys. I'm still working on it. Ken ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-02 18:14 ` Ken Brown @ 2020-06-03 11:56 ` Ken Brown 2020-06-03 13:33 ` Lemures Lemniscati 2020-06-03 17:32 ` Jim Garrison 0 siblings, 2 replies; 11+ messages in thread From: Ken Brown @ 2020-06-03 11:56 UTC (permalink / raw) To: cygwin On 6/2/2020 2:14 PM, Ken Brown via Cygwin wrote: > On 6/2/2020 8:12 AM, Ken Brown via Cygwin wrote: >> On 6/2/2020 7:58 AM, Lemures Lemniscati via Cygwin wrote: >>> Date: Mon, 1 Jun 2020 12:43:44 -0400 >>> From: Ken Brown via Cygwin >>> >>>> On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: >>>>> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this >>>>> weekend, and ghost script fails to perform this task >>>>> >>>>> I am running this: >>>>> Cygwin Setup version 2.904 (64 bit) >>>>> base-cygwin 3.8-1 >>>>> ghostscript 9.52-1 >>>>> ghostscript-fonts-other 6.0-1 >>>>> Windows 10 Pro version 1909 build 18363.836 >>>>> >>>>> When I run the script: >>>>> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf >>>>> able.pdf baker.pdf charly.pdf >>>>>> >>>>> GPL Ghostscript 9.52 (2020-03-19) >>>>> Copyright (C) 2020 Artifex Software, Inc. All rights reserved. >>>>> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: >>>>> see the file COPYING for details. >>>>> Processing pages 1 through 1. >>>>> Page 1 >>>>> Error: /rangecheck in --restore-- >>>>> Operand stack: >>>>> --dict:8/16(L)-- --dict:38/38(ro)(L)-- >>>>> Execution stack: >>>>> %interp_exit .runexec2 --nostringval-- restore >>>>> --nostringval-- 2 >>>>> %stopped_push --nostringval-- restore restore false 1 >>>>> %stopped_push >>>>> 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 >>>>> 3 %op >>>>> array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor >>>>> e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 >>>>> 94 2 9 %oparray_pop >>>>> Dictionary stack: >>>>> --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- >>>>> --dict:80/ >>>>> 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- >>>>> --dict:6/9(L)-- --dict:6/20(L)-- >>>>> Current allocation mode is local >>>>> GPL Ghostscript 9.52: Unrecoverable error, exit code 1 >>>> >>>> I can confirm this. As a workaround, downgrade ghostscript and libgs9 to >>>> the previous version, 9.50-1, while I investigate. >>>> >>>> Thanks for the report. >>>> >>>> Ken >>> >>> Hi! >>> >>> The first bad commit causing the issue seems to be 327dc89: >>> >>> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327dc8943c0aac1c7be7a1fb6e93346b61cd0900 >>> >> >> Thanks! I think the problem is here: >> >> @@ -234,18 +242,14 @@ CONTRIBINCLUDE="include $srcdir/contrib/contrib.mak" >> INSTALL_CONTRIB="install-contrib-extras" >> >> if test x"$enable_contrib" = x; then >> - if test x"$cross_compiling" = x"yes"; then >> - enable_contrib= >> - else >> - case `uname` in >> - MINGW*|MSYS*) >> + case $host in >> + *-mingw*|*-msys*|*-cygwin*) >> AC_MSG_WARN([disabling contrib devices]) >> enable_contrib=no >> ;; >> *) >> ;; >> esac >> - fi >> fi >> >> if test x"$enable_contrib" != x"no"; then >> >> Do you want to send the obvious fix upstream or should I do it? > > Let's hold off on this. Just making this one change doesn't solve the problem. > I've found several other commits that have mistakenly lumped cygwin with mingw > and msys. I'm still working on it. It turned out that fixing that one commit was all that was required, but the hunk I quoted above wasn't the culprit. I've just uploaded ghostscript 9.52-2, which should fix the problem Ken ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-03 11:56 ` Ken Brown @ 2020-06-03 13:33 ` Lemures Lemniscati 2020-06-03 17:32 ` Jim Garrison 1 sibling, 0 replies; 11+ messages in thread From: Lemures Lemniscati @ 2020-06-03 13:33 UTC (permalink / raw) To: cygwin Date: Wed, 3 Jun 2020 07:56:25 -0400 From: Ken Brown via Cygwin > On 6/2/2020 2:14 PM, Ken Brown via Cygwin wrote: > > On 6/2/2020 8:12 AM, Ken Brown via Cygwin wrote: > >> On 6/2/2020 7:58 AM, Lemures Lemniscati via Cygwin wrote: > >>> Date: Mon, 1 Jun 2020 12:43:44 -0400 > >>> From: Ken Brown via Cygwin > >>> > >>>> On 6/1/2020 11:26 AM, Thomas Bodine via Cygwin wrote: > >>>>> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this > >>>>> weekend, and ghost script fails to perform this task > >>>>> > >>>>> I am running this: > >>>>> Cygwin Setup version 2.904 (64 bit) > >>>>> base-cygwin 3.8-1 > >>>>> ghostscript 9.52-1 > >>>>> ghostscript-fonts-other 6.0-1 > >>>>> Windows 10 Pro version 1909 build 18363.836 > >>>>> > >>>>> When I run the script: > >>>>> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf > >>>>> able.pdf baker.pdf charly.pdf > >>>>>> > >>>>> GPL Ghostscript 9.52 (2020-03-19) > >>>>> Copyright (C) 2020 Artifex Software, Inc. All rights reserved. > >>>>> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: > >>>>> see the file COPYING for details. > >>>>> Processing pages 1 through 1. > >>>>> Page 1 > >>>>> Error: /rangecheck in --restore-- > >>>>> Operand stack: > >>>>> --dict:8/16(L)-- --dict:38/38(ro)(L)-- > >>>>> Execution stack: > >>>>> %interp_exit .runexec2 --nostringval-- restore >>>>> --nostringval-- 2 > >>>>> %stopped_push --nostringval-- restore restore false 1 >>>>> %stopped_push > >>>>> 1990 1 3 %oparray_pop 1989 1 3 %oparray_pop 1977 1 > >>>>> 3 %op > >>>>> array_pop 1978 1 3 %oparray_pop restore restore 2 1 1 restor > >>>>> e %for_pos_int_continue 1981 1 7 %oparray_pop restore restore 18 > >>>>> 94 2 9 %oparray_pop > >>>>> Dictionary stack: > >>>>> --dict:737/1123(ro)(G)-- --dict:1/20(G)-- --dict:80/200(L)-- > >>>>> --dict:80/ > >>>>> 200(L)-- --dict:135/256(ro)(G)-- --dict:318/325(ro)(G)-- --dict:33/64(L)-- > >>>>> --dict:6/9(L)-- --dict:6/20(L)-- > >>>>> Current allocation mode is local > >>>>> GPL Ghostscript 9.52: Unrecoverable error, exit code 1 > >>>> > >>>> I can confirm this. As a workaround, downgrade ghostscript and libgs9 to > >>>> the previous version, 9.50-1, while I investigate. > >>>> > >>>> Thanks for the report. > >>>> > >>>> Ken > >>> > >>> Hi! > >>> > >>> The first bad commit causing the issue seems to be 327dc89: > >>> > >>> http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=327dc8943c0aac1c7be7a1fb6e93346b61cd0900 > >>> > >> > >> Thanks! I think the problem is here: > >> > >> @@ -234,18 +242,14 @@ CONTRIBINCLUDE="include $srcdir/contrib/contrib.mak" > >> INSTALL_CONTRIB="install-contrib-extras" > >> > >> if test x"$enable_contrib" = x; then > >> - if test x"$cross_compiling" = x"yes"; then > >> - enable_contrib= > >> - else > >> - case `uname` in > >> - MINGW*|MSYS*) > >> + case $host in > >> + *-mingw*|*-msys*|*-cygwin*) > >> AC_MSG_WARN([disabling contrib devices]) > >> enable_contrib=no > >> ;; > >> *) > >> ;; > >> esac > >> - fi > >> fi > >> > >> if test x"$enable_contrib" != x"no"; then > >> > >> Do you want to send the obvious fix upstream or should I do it? > > > > Let's hold off on this. Just making this one change doesn't solve the problem. > > I've found several other commits that have mistakenly lumped cygwin with mingw > > and msys. I'm still working on it. > > It turned out that fixing that one commit was all that was required, but the hunk I quoted above wasn't the culprit. > > I've just uploaded ghostscript 9.52-2, which should fix the problem > > Ken Now, it works. You are great. Thank you! Lem ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-03 11:56 ` Ken Brown 2020-06-03 13:33 ` Lemures Lemniscati @ 2020-06-03 17:32 ` Jim Garrison 1 sibling, 0 replies; 11+ messages in thread From: Jim Garrison @ 2020-06-03 17:32 UTC (permalink / raw) To: cygwin On 6/3/2020 4:56 AM, Ken Brown via Cygwin wrote: > It turned out that fixing that one commit was all that was required, but > the hunk I quoted above wasn't the culprit. > > I've just uploaded ghostscript 9.52-2, which should fix the problem Tested 9.52-2 with ocrmypdf and I can confirm it has solved the problem here as well. Thank you! -- Jim Garrison jhg@acm.org ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-01 15:26 ` ghostscript issues Thomas Bodine 2020-06-01 16:43 ` Ken Brown @ 2020-06-01 21:57 ` Jim Garrison 2020-06-02 19:04 ` Brian Inglis 1 sibling, 1 reply; 11+ messages in thread From: Jim Garrison @ 2020-06-01 21:57 UTC (permalink / raw) To: cygwin, kbrown On 6/1/2020 8:26 AM, Thomas Bodine via Cygwin wrote: > My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task > > I am running this: > Cygwin Setup version 2.904 (64 bit) > base-cygwin 3.8-1 > ghostscript 9.52-1 > ghostscript-fonts-other 6.0-1 > Windows 10 Pro version 1909 build 18363.836 > > When I run the script: > $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf >> > GPL Ghostscript 9.52 (2020-03-19) > Copyright (C) 2020 Artifex Software, Inc. All rights reserved. > This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: > see the file COPYING for details. > Processing pages 1 through 1. > Page 1 > Error: /rangecheck in --restore-- Same issue here, only in my case gs is being called from OCRmyPDF. I successfully built OCRmyPDF for Cygwin except for this issue. Having OCRmyPDF for Cygwin would make it possible to run that tool on Windows without having to use a VM container, which is currently the only way to run it. -- Jim Garrison jhg@acm.org ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: ghostscript issues 2020-06-01 21:57 ` Jim Garrison @ 2020-06-02 19:04 ` Brian Inglis 0 siblings, 0 replies; 11+ messages in thread From: Brian Inglis @ 2020-06-02 19:04 UTC (permalink / raw) To: cygwin On 2020-06-01 15:57, Jim Garrison via Cygwin wrote: > On 6/1/2020 8:26 AM, Thomas Bodine via Cygwin wrote: >> My favorite use of ghost script is to combine PDF's. I upgraded Cygwin this weekend, and ghost script fails to perform this task >> >> I am running this: >> Cygwin Setup version 2.904 (64 bit) >> base-cygwin 3.8-1 >> ghostscript 9.52-1 >> ghostscript-fonts-other 6.0-1 >> Windows 10 Pro version 1909 build 18363.836 >> >> When I run the script: >> $ gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=combine.pdf able.pdf baker.pdf charly.pdf >>> >> GPL Ghostscript 9.52 (2020-03-19) >> Copyright (C) 2020 Artifex Software, Inc. All rights reserved. >> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY: >> see the file COPYING for details. >> Processing pages 1 through 1. >> Page 1 >> Error: /rangecheck in --restore-- > > Same issue here, only in my case gs is being called from OCRmyPDF. > I successfully built OCRmyPDF for Cygwin except for this issue. > > Having OCRmyPDF for Cygwin would make it possible to run that tool > on Windows without having to use a VM container, which is currently > the only way to run it. Marco Atzeri wrote: > as alternative workaround, you can use qpdf to merge PDF files > qpdf --empty --pages able.pdf baker.pdf charly.pdf -- combine.pdf OCRmyPDF is a python package using tesseract-ocr, ghostscript, qpdf, leptonical (all supported on Cygwin), perhaps it can be configured or changed to use qpdf to combine PDFs? -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in IEC units and prefixes, physical quantities in SI.] ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-06-03 17:32 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <1604953430.859583.1591025163209.ref@mail.yahoo.com> 2020-06-01 15:26 ` ghostscript issues Thomas Bodine 2020-06-01 16:43 ` Ken Brown 2020-06-01 17:48 ` Marco Atzeri 2020-06-02 11:58 ` Lemures Lemniscati 2020-06-02 12:12 ` Ken Brown 2020-06-02 18:14 ` Ken Brown 2020-06-03 11:56 ` Ken Brown 2020-06-03 13:33 ` Lemures Lemniscati 2020-06-03 17:32 ` Jim Garrison 2020-06-01 21:57 ` Jim Garrison 2020-06-02 19:04 ` Brian Inglis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).