Bug 37125

Summary: building in "www" dies due to ghostscript error
Product: Documentation Reporter: freebsd
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description freebsd 2002-04-16 05:00:06 UTC
building in "www" dies with this message...

	
/usr/local/bin/jade -V nochunks -ioutput.html -d /source/contribute/doc/en_US.ISO8859-1/articles/pxe/../../../share/sgml/default.dsl  -ioutput.html.images   -D /usr/obj/source/contribute/doc/en_US.ISO8859-1/articles/pxe -c /source/contribute/doc/en_US.ISO8859-1/articles/pxe/../../../en_US.ISO8859-1/share/sgml/catalog -c /source/contribute/doc/en_US.ISO8859-1/articles/pxe/../../../share/sgml/catalog  -c /usr/local/share/sgml/docbook/dsssl/modular/catalog -c /usr/local/share/sgml/iso8879/catalog  -c /usr/local/share/sgml/docbook/catalog -c /usr/local/share/sgml/jade/catalog   -t sgml /source/contribute/doc/en_US.ISO8859-1/articles/pxe/article.sgml > article.html ||  (/bin/rm -f article.html && false)
/usr/local/bin/tidy -i -m -f /dev/null article.html
Can't open "/usr/home/parv/.tidyrc"
*** Error code 1 (ignored)
===> en/doc/articles/releng
groff -p -S -Wall -mtty-char -man branches.pic > branches.ps
/usr/local/bin/ps2epsi /source/contribute/doc/en_US.ISO8859-1/articles/releng/branches.ps /source/contribute/doc/en_US.ISO8859-1/articles/releng/branches.eps
Error: /invalidaccess in --.setdevice--
Operand stack:
   --nostringval--
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop   1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   1   4   %oparray_pop   --nostringval--   --nostringval--   --nostringval--
Dictionary stack:
   --dict:1037/1476(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--   --dict:19/30(L)--
Current allocation mode is local
Current file position is 8771
GNU Ghostscript 6.53: Unrecoverable error, exit code 1
/usr/local/bin/peps -p -r 100  -o branches.png branches.pic branches.eps
peps: branches.eps is not a valid EPS file.
*** Error code 4

Stop in /source/contribute/doc/en_US.ISO8859-1/articles/releng.
*** Error code 1

How-To-Repeat: 
updating either docs tree and/or ghostscript-gnu port may show above
problem during build.  i can produce it every time.
Comment 1 Bruce A. Mah freebsd_committer freebsd_triage 2002-04-16 14:42:12 UTC
If memory serves me right, parv@pair.com wrote:

> ===> en/doc/articles/releng
> groff -p -S -Wall -mtty-char -man branches.pic > branches.ps
> /usr/local/bin/ps2epsi /source/contribute/doc/en_US.ISO8859-1/articles/releng
> /branches.ps /source/contribute/doc/en_US.ISO8859-1/articles/releng/branches.
> eps
> Error: /invalidaccess in --.setdevice--
> Operand stack:
>    --nostringval--
> Execution stack:
>    %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringv
> al--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval-
> -   false   1   %stopped_push   1   3   %oparray_pop   1   3   %oparray_pop  
>  1   3   %oparray_pop   .runexec2   --nostringval--   --nostringval--   --nos
> tringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostri
> ngval--   1   4   %oparray_pop   --nostringval--   --nostringval--   --nostri
> ngval--
> Dictionary stack:
>    --dict:1037/1476(ro)(G)--   --dict:0/20(G)--   --dict:68/200(L)--   --dict
> :19/30(L)--
> Current allocation mode is local
> Current file position is 8771
> GNU Ghostscript 6.53: Unrecoverable error, exit code 1
> /usr/local/bin/peps -p -r 100  -o branches.png branches.pic branches.eps
> peps: branches.eps is not a valid EPS file.
> *** Error code 4

I see this as well, both during a release build and when simply trying
to build an HTML version of the releng article.  (Actually, just invoking
"ps2epsi branches.ps branch.eps" will trigger this bug as well, so it's
pretty well localized.)  No idea what the problem is or how to fix it, 
however.  :-(

Bruce.
Comment 2 Bruce A. Mah freebsd_committer freebsd_triage 2002-04-17 06:11:43 UTC
Following up to myself:  ps2epsi seems to have broken at some point 
between ghostscript-gnu-6.52_4 and ghostscript-gnu-6.53_1.  The 
breakage affects all the files I've tried, including some from the 
ghostscript examples/ directory.  Symptoms are identical to the 
original PR.

I *believe* that the problem lies somewhere within the gs executable; 
the ps2epsi script and the ps2epsi.ps file it uses appear not to have 
changed.

We need to get this fixed because it's causing release builds to fall 
over when they try to render the documentation.

Bruce.
Comment 3 Bruce A. Mah freebsd_committer freebsd_triage 2002-04-20 21:49:23 UTC
State Changed
From-To: open->closed

ghostscript-gnu-6.53_2 fixes this problem; it contains a  
patch to unbreak ps2epsi.