From owner-freebsd-doc Wed Apr 17 13:40:28 2002 Delivered-To: freebsd-doc@freebsd.org Received: from rhadamanth.submonkey.net (pc4-card4-0-cust162.cdf.cable.ntl.com [80.4.14.162]) by hub.freebsd.org (Postfix) with ESMTP id E8C0437B404; Wed, 17 Apr 2002 13:40:18 -0700 (PDT) Received: from setantae by rhadamanth.submonkey.net with local (Exim 3.35 #1) id 16xwDw-0000Ct-00; Wed, 17 Apr 2002 21:40:16 +0100 Date: Wed, 17 Apr 2002 21:40:16 +0100 From: Ceri Davies To: "Bruce A. Mah" Cc: freebsd-ports@freebsd.org, freebsd-doc@freebsd.org Subject: Re: ghostscript-gnu-6.53_1 has a broken ps2epsi Message-ID: <20020417204016.GA500@submonkey.net> Mail-Followup-To: Ceri Davies , "Bruce A. Mah" , freebsd-ports@freebsd.org, freebsd-doc@freebsd.org References: <200204170520.g3H5K3Ss052189@intruder.bmah.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200204170520.g3H5K3Ss052189@intruder.bmah.org> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Apr 16, 2002 at 10:20:03PM -0700, Bruce A. Mah wrote: > Hi porters-- > > ps2epsi seems to be broken in the latest version of print/ > ghostscript-gnu. This is somewhat problematic because ps2epsi is used > in the docproj toolchain, which in turn is used by the Web site and > release/snapshot builds. > > Could someone with some ghostscript-fu take a look at PR docs/37125? > It's a PR that someone filed when they couldn't build the Web site. I > did a little bit of troubleshooting, but ran out of clue. There's also PR docs/36796 which documents the same thing. From what I can ascertain, this seems to be a general gs problem with the selectdevice command - output from trying to select a device is below. I came to this conclusion by trying to hack ps2epsi to fix the problem. Unfortunately I don't really know any ghostscript to troubleshoot this any further than I already have. I did try downgrading the port but couldn't get it to build for some reason. My ghostscript-gnu port is the standard build, but using -DA4. Note that the "selectdevice" command below fails for every device that I tried. {setantae@rhadamanth}-{~/doc/trees} $ gs GNU Ghostscript 6.53 (2002-02-13) Copyright (C) 2002 artofcode LLC, Benicia, CA. All rights reserved. This software comes with NO WARRANTY: see the file COPYING for details. GS>selectdevice epswrite Error: /stackunderflow in --exch-- Operand stack: --dict:146/146(G)-- Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- %loop_continue 2 3 %oparray_pop --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1031/1476(ro)(G)-- --dict:0/20(G)-- --dict:67/200(L)-- Current allocation mode is local Current file position is 13 GS<1>quit Ceri -- get the cool shoe shine To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message