delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/02/08:13:46

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11A803870851
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1591099982;
bh=FGXqw3hmc86g/YiDogPKhh/xMuNltcy2Gnbwx3ri8Ew=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=g97FJMkh0JN7HFrIcgFXZgvBQNM+V1D5fOalNI2TJAR3w6Xy/sTT4QfhEvAff8XcH
WGBECQBrQ/sBBFXjGnfOlBvrHI8AuXE300bf+N+mhubuAsU2PDQd+LQvahVnMF2dK0
WkiciPT9SiLD6PpiAzab0igGEuxo4gvaTUU2fNk8=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org EBBB93858D34
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=g9RclO+9pJ11MQXeCCZXSyXdBaopqAGfoyw0rfImbDr8zOJfjPUA5Ddyzs8fAJ8gL68UZ54RVC8BmLoHqy1RNxnCbvCblHO33vPDWhF1t7ePR3qTzVx59KN7s08/c0Hat7Nt/gGA9Oy09bmCUJfUw+2FEfNpdXdYHiqFZdrQEgH24Sd6S4ljRVm4jUP54hy8BHrb1W7EEFajJZH3TFDhN+ZuUtGfgctJQgcPu8jCSUxSDxfOG9U/BIOHFBrVusRm0OfnptR1eayPsrAn6bW1CsKuzWDIalJU9wQuCtVMCDDrxbDLCSoDtdSPxIWB6P/wmqG22b2BDSQNVlcsb8TD9g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
bh=QGlw97Uhf+YyI1dlyx8cpoW4ELXuI1e472zc6XHOxKY=;
b=inA+DOvEaW3W3gCzUDjtj40+jTXW8Wsl9FCfJ1M0k4tz9lZADZMbjLGba1f7t4yyX2z6oJMK9Po0qY+9LNNrzvrJwVD3ciKVKVSDEHJnQBOnrPU7av7GrE+4J5SWP2EY4hf+vRba3wz48REIUTsx6bh7sBv1ni/mvH3O5rQfXZJeH8EqyQmYrICmY6E9rH2QDP8f76yVuI/yIChTxhuxU2ZnRxdD5ieNhjBtnbxNv62nXWCJZBKutZmn4M2BoKa0eJkIEjyv/krFBmtZ/kN4Q+HjT/W3OoDC6OSIv3jJY9dYoJQJ7mcViu7DZjgPfS6OY594s3kp74W2Jnbft9hUQQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu;
dkim=pass header.d=cornell.edu; arc=none
Subject: Re: ghostscript issues
To: cygwin AT cygwin DOT com
References: <1604953430 DOT 859583 DOT 1591025163209 AT mail DOT yahoo DOT com>
<54b353b1-3d7f-a3fb-532f-06e761ddaa0b AT cornell DOT edu>
<20200602205814 DOT 76F7 DOT 50F79699 AT gmail DOT com>
Message-ID: <e6e3062e-8604-a3e1-1a7a-9b5f7c1b789c@cornell.edu>
Date: Tue, 2 Jun 2020 08:12:55 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.8.1
In-Reply-To: <20200602205814.76F7.50F79699@gmail.com>
X-ClientProxiedBy: CH2PR02CA0009.namprd02.prod.outlook.com
(2603:10b6:610:4e::19) To MN2PR04MB6176.namprd04.prod.outlook.com
(2603:10b6:208:e3::13)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-Originating-IP: [68.175.129.7]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: f8e49c53-7a6c-43f6-b592-08d806ee49c4
X-MS-TrafficTypeDiagnostic: MN2PR04MB6111:
X-Microsoft-Antispam-PRVS: <MN2PR04MB61119032E55A6F1CDA063C37D88B0 AT MN2PR04MB6111 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:849;
X-Forefront-PRVS: 0422860ED4
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: 4mVjj6d6xQjyZIxMaBkCfjq258a5AxLLBPj5YXL0222UdF6EntAB5YGMdFgKNBznnvPAMx+KjqGCFH7wWE7qhm1xMKE+miLS1N5g0hN0GrbQSfYNpo0Rc2RYjsUOZ+LTHAdL6bj0ECGe+MItvG6k+c5XglEGw5W2WaQyjrU8gP9LAIMzngqYLJBuR7K4rRJu5AaLba40mV4hRhTxRnbkqYgwYcLCvA8wKM65yyEzYeqt5zRgn2wuByuT61zMwjaOZuYD2Onmc13DU324vL26FSR6/uZMr/CvY8NU2I9OMGoOPQ+IrogsVSbyDGG+TMPd4dVrO04HWvWY0LYAY9Ef+MlxdUqas/xWJUB4xVeMhvpsO13EMnTW9esruVd66TMSd1XYzzKtKyWgXi8zWYviA/cm3TX6+fqE8832CM+akdIUamzNUoQEJRd0ZIIs6DS8T5kXUcq6XtsCxgpVLU+nTQ==
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:MN2PR04MB6176.namprd04.prod.outlook.com; PTR:; CAT:NONE;
SFTY:;
SFS:(4636009)(346002)(376002)(39860400002)(136003)(396003)(366004)(6486002)(66476007)(66556008)(7116003)(36756003)(316002)(66946007)(75432002)(478600001)(2616005)(956004)(6666004)(966005)(6916009)(2906002)(16576012)(31696002)(31686004)(83380400001)(53546011)(3480700007)(5660300002)(26005)(16526019)(186003)(8676002)(52116002)(86362001)(786003)(8936002)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: qWhqY74ffd8Rsofx7i2wUjSKLxRcbIi+Wt32g2x/wfmUVODLnTljgxr0kukix41wk7t3p0R4FYJhi2RjP3OreCTekqz1exmh5R1JPhcmE3i0J/7NGAk3o/6OiNX1viLV35dHgn5OPqaBQdRF6+til7XQVah5Mgmri6OWw8Ga7hnkkqkM3JefLv3IflUBXgDrNSe1vQn7t79v0rO0r7EWLS5KiFDpwyQIaAVU5Ud5ANP1H+lPZwV9XrrZDWQkCz2R8SxljNAKNxgpDThbteJcsTgTcECJnlxApEMuQdjgDrwk5u9cK5e2GhsZpz/opr4bmMOyeezljUmu/Z8tJKwh7TVtjO9z/4R7xzU8d1RbH91gim/9jdy2geATeDF+PsUiUHrG6OBOSRqObUhCX0pGanqz9HonQZiY5McHqGYKihfLNwbMIBY+v2MolBG+rAAtlErChENvBCfnGmb/gOCXVLoD0JoetxirXacNMLsCziM=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: f8e49c53-7a6c-43f6-b592-08d806ee49c4
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Jun 2020 12:12:58.4675 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: AHzthjnAXOBSxgHmqkdwn4FlbpnFYFBB6QliHjwHL4EtW19ldXrEbqyxdGgvf7IzQasUa65RJQiTIyACw8vBgQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6111
X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_INVALID,
DKIM_SIGNED, KAM_DMARC_STATUS, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS,
TXREP autolearn=no 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
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id 052CDRDF031921

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
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019