delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/06/03/07:57:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 33B61383E826
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1591185394;
bh=GQqp81gEAkwQ4VvIzj/Wilmtx3smuF0p9brNsSmB9vw=;
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=L5531tpP9+erq3BkPZXl4JI1FfdaajfD9/0OISVr5xDQK4YNr/58NoR7kh0nSDE8d
vZfl1hDlgo79Awt7S89LKH+xO4B8OgiutQnD4jl5hRvc479SCezfwaqVnpZa8Yz1OS
d1v5jD/3XcSBIWatvItdVFzpo2poa4BUzZSH3HaM=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org A48423851C12
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=cqu5D0VZqz8ww8guKUWmqZmYOYkxFywFPhk/lj5h08kGkCCFExKJOIh4vIHtVyhdb9uM5uJ5VizwzAfddBN/HUrpwuZnRUQPZ/tGIo1DBe4X23wHunKqssZsm3rdB4zNHMk1VXKcIVvGuID63n5Wf6x6yO5qzEkPpb8DoDcfMg3Pcf4+vlE5vgV6vhMHS0Tdti4Fcp2wsu9ufaEvH7sTxmJqSSaLgiyWCY9ZhTg3vjqFNmURL+4d87NxifeR7x7rYWJhSlXJ5m0X33kBKoFgXdWRg7/AesO5hEwMX/emTHCg5kcjmbG371cSFA8dYbpXwezyUKCHdTpfh1/RZeJwAA==
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=dBS/7R7f+SQTr1Ym7NzO/VSwSL60bTalWj6Q6h6cp5E=;
b=guXzS4R3i0SY5TPFoAwmqv9NTUXn2819Bwq9TuixAqsLk5YpZrz+HRU8iju+myJ8c5ah6hj4yJysEMgeqGEngeXs6PO7eVNTIDPddebbukbL4Cmn2Rvy0sXKA4yyJzzsTPbWX4ezaUOJFNJ2cIguvXLC9z2VxVU0O8rpbXhdK/mdw/VgiVRR564Af/og2qtqerkftutzD2D9uHe2yBuym7bh/Ymc+MN9/U7q4xVFrv8oZA6Y9+s0OhFd4hUs3Jb3D6N+pg6jLrXYWL7XRlVSOJlDo8Q568Bois/jjwV7ZhNjpWs9OpT8/ME6QqOm568vA1Qsj4YzVkRnFn8EbPWZuw==
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>
<e6e3062e-8604-a3e1-1a7a-9b5f7c1b789c AT cornell DOT edu>
<cd6766eb-23c3-e2ee-4b43-1ac44cbb2004 AT cornell DOT edu>
Message-ID: <ff08fbf9-7ddf-a037-e596-f186c7994267@cornell.edu>
Date: Wed, 3 Jun 2020 07:56:25 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.8.1
In-Reply-To: <cd6766eb-23c3-e2ee-4b43-1ac44cbb2004@cornell.edu>
X-ClientProxiedBy: MN2PR16CA0047.namprd16.prod.outlook.com
(2603:10b6:208:234::16) 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: 329d2b32-7972-4584-fea1-08d807b525c6
X-MS-TrafficTypeDiagnostic: MN2PR04MB6446:
X-Microsoft-Antispam-PRVS: <MN2PR04MB644669BC8FBBABEE40B36430D8880 AT MN2PR04MB6446 DOT namprd04 DOT prod DOT outlook DOT com>
X-MS-Oob-TLC-OOBClassifiers: OLM:1284;
X-Forefront-PRVS: 04238CD941
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: eI/JhPshihNhvhS2zouRpSz5RcALjsFRyAf/mMmjYVbIgnrsPDXQzElGuW5ubOzOsXweKKu5jncfe5geZtp7KELZt9X3sogzhuynbuS9mC1FCiWKsTb1pr0WtNK0sk5pYAV2Twlyd1A1RGip/htV0MREF58Krm3apdYGsYxh29CocE+k40MHHm5lHvWHsb4RZDRP38QT4UK5BNeM2IhIAPGCdCveC9Oggj9eRKUq3iLZWsumZJeqSPWYX2kupVbZD07Z5nyiT4pS3/goEeKbUj2sUCVWEX16zOZZa2TvXwCVKvCPIUdt4fMm110Mp30xvWUy1RsyK3a+X0kCymFni8fTI/fNe9/Q7pV6779wGnyneQR34UsflgKf4+fBbLHA/CkO9QDjGGQB/btwv1eeKB5vI/iP1S1EbpB3NtMEdYfOpGRr0d376+rkoRJ36d703K7DR7cflJLRDHjIgtUwaQ==
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)(39860400002)(366004)(396003)(136003)(346002)(376002)(8936002)(5660300002)(956004)(83380400001)(8676002)(316002)(86362001)(786003)(53546011)(31696002)(31686004)(36756003)(52116002)(16576012)(478600001)(7116003)(6486002)(3480700007)(2616005)(966005)(66946007)(6916009)(2906002)(26005)(75432002)(186003)(66556008)(16526019)(66476007)(43740500002);
DIR:OUT; SFP:1102;
X-MS-Exchange-AntiSpam-MessageData: 59mQKYvtXCTPYMZX5ZS4S4GGaw+OrTs6AmNxDF5lqR5ye8fr8PyZi7aupu+ITwSiquOk8NEdGgAjFEsCsqO/ExTJwjk1yKplc7qRdPPDwL5ksX3sQd9R/PrWFdTFKJ2EcmdPIt8tcHMqER1/LGDw5Jlzk+sO0e4hJTG/9rMnMlUH/qsXPmqIs2ng0fgZhO/VQmgiKm32LD17VaYE4v+EFoXXMTIqwaIcvf+P2KLqqsFC7LL29+V4H0Q3YFb+zBOuAb84a/Yx/0GdGDeXfsCLiR9KH0E3ZfRLSEKOd2F2nn+RgDs4q8eHXS5/iv+AlhSINIsg6zlRoOmelU0rCt2ezyFQM8vqnsRg2Lg7Z/MGuGvpkwZhMU7wC67TiTXkxq2E8ovkovQDdZpLMehkh9HX1F6mZy4bwp8ypnvz6CNbo0hSYi71CmFblqDIuk6ALpMIVPE0xT0vsuPezz0AtoYK4fnpvs1DAslTK9CQzfKHlhI=
X-OriginatorOrg: cornell.edu
X-MS-Exchange-CrossTenant-Network-Message-Id: 329d2b32-7972-4584-fea1-08d807b525c6
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jun 2020 11:56:28.0496 (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: CgIA+FXw+5v0VAryhYfEa7Mo5a46Ecm1ehGHEEVLYOEKVEMD9pluE8O79e9winxuwUFaiOgAZPM1Ksh7iuCuaA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR04MB6446
X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00, BODY_8BITS,
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-Level: *
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 053Bv1W9030366

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