X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6FD7E388A80A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1591191230; bh=UIPKwfg+AR/54hXlldNjuYgqYYJlnKxzhJw1z1DQ9Rs=; h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=DZt0roZu495tfO5BfARaX0xQj5Uncd1Gv14/AmwrPkjYZTt2cLufrgvsDpm7Ky11h Yo/yLGHsRnnciCeBwbHZAc+VBlrBb4/I3pUjb4zaacDUEQl+69DW9XmhRQmiJvno7q 5iPG9ay6AWhbZxhmFOwUpw4A0fAAXBEDRXnQ9LHA= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C5DE43851C15 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:in-reply-to:references :message-id:mime-version:content-transfer-encoding; bh=L7kAFjiRnDyKdui91nIPhZ5AhDPa1zVststgt1jvMVs=; b=VskYhMaJ5f5uExlVN3BHMx+LgpIv8e55a5IxHQ8DV3Rc0UKWOCS4wkkKKHegZbCiqg Td7Djj+txqW7zRZ94A/RQxzs2KOrG+edq5506P5+kv9hGOl7P20AaU7vgD9F5Pn8QkFO VIHJfvd2wT4kkU/lkMfku+pD8uUAGZcpgjyegZJIchkg4BzTZ5Xx3Uh3suaPJYZvJSJf 84TdVK1vpL7lARy7hbfCGx+yIBFdIpU2rXKhZokYE7t+UwTh7O9n4YUIowH3qWUI1AS8 3cUnt4gKwK0852OYrWNs8LfEsOfBUrs2HF6Z6yRd5HjUP5nBWxtJJ83dfyPcuTIb8Oxy 2BxQ== X-Gm-Message-State: AOAM532FyFruuNXM+O8tCz+4WryYyBLrVvJ4/u9fktW1j09YVOFBESwo x1lOm1iMcu7XOc0HxHtDA5Opyvwf X-Google-Smtp-Source: ABdhPJziAa23nF3TWGnQ72ZSCDQVUxuCAK0xTCF4HkQ4LEZxKno+ptVIprwJtO/M3C2s916Tb1EW4Q== X-Received: by 2002:a63:3f8a:: with SMTP id m132mr28505581pga.225.1591191225461; Wed, 03 Jun 2020 06:33:45 -0700 (PDT) Date: Wed, 03 Jun 2020 22:33:44 +0900 To: cygwin AT cygwin DOT com Subject: Re: ghostscript issues In-Reply-To: References: Message-Id: <20200603223342.76FF.50F79699@gmail.com> MIME-Version: 1.0 X-Mailer: Becky! ver. 2.75.01 [ja] X-Antivirus: Avast (VPS 200602-4, 2020/06/02), Outbound message X-Antivirus-Status: Clean X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Lemures Lemniscati via Cygwin Reply-To: Lemures Lemniscati Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 053DYI6G017838 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple