From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2106.outbound.protection.outlook.com [40.107.243.106]) by sourceware.org (Postfix) with ESMTPS id EBBB93858D34 for ; Tue, 2 Jun 2020 12:12:59 +0000 (GMT) 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 Received: from MN2PR04MB6176.namprd04.prod.outlook.com (2603:10b6:208:e3::13) by MN2PR04MB6111.namprd04.prod.outlook.com (2603:10b6:208:d6::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.19; Tue, 2 Jun 2020 12:12:58 +0000 Received: from MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::ecf5:cc00:84d8:bb6a]) by MN2PR04MB6176.namprd04.prod.outlook.com ([fe80::ecf5:cc00:84d8:bb6a%7]) with mapi id 15.20.3045.022; Tue, 2 Jun 2020 12:12:58 +0000 Subject: Re: ghostscript issues To: cygwin@cygwin.com References: <1604953430.859583.1591025163209@mail.yahoo.com> <54b353b1-3d7f-a3fb-532f-06e761ddaa0b@cornell.edu> <20200602205814.76F7.50F79699@gmail.com> From: Ken Brown Message-ID: 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> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit 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 Received: from [192.168.0.17] (68.175.129.7) by CH2PR02CA0009.namprd02.prod.outlook.com (2603:10b6:610:4e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18 via Frontend Transport; Tue, 2 Jun 2020 12:12:58 +0000 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: 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@cygwin.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: , X-List-Received-Date: Tue, 02 Jun 2020 12:13:01 -0000 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