Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jan 2012 15:00:36 -0500
From:      Joe Altman <freebsd-announce@chthonic.com>
To:        freebsd-doc@freebsd.org
Subject:   Errors in building documentation from source
Message-ID:  <20120121200036.GA3893@whisperer.chthonixia.net>

next in thread | raw e-mail | index | archive | help
Greetings...

I've some sort of image error in building the docs from source, and
I'm wondering if anyone here knows how to fix it.

If I run make cleandir a couple of times, there are more errors; but
I've only included two below. In order to install that part of the
docs do work, I just run make all multiple times.

*** Error code 1 (ignored)
===> articles/building-products (all)
/usr/local/bin/gs -q -dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER
-sPAPERSIZE=letter
-r72 -sDEVICE=bbox  -sOutputFile=/dev/null  
/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.ps
>
/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps
2>&1
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1/articles/building-products.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1/articles.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1.

Followed by:

===> articles/building-products (all)
/usr/bin/perl /usr/doc/share/misc/epsgeom -offset 100 100 
/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps
| /usr/local/bin/gs -q -dBATCH -dGraphicsAlphaBits=4 
-dTextAlphaBits=4  -dEPSCrop -r100x100  -dNOPAUSE -dSAFER -sDEVICE=pnm 
-sOutputFile=-  -g`/usr/bin/perl /usr/doc/share/misc/epsgeom -geom 100
100 
/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.eps`
-  | /usr/local/bin/pnmtopng > 
/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-branches.png
Error: no BoundingBox found.
Error: no BoundingBox found.
pnmtopng: bad magic number - not a ppm, pgm, or pbm file
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1/articles/building-products.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1/articles.
*** Error code 1

Stop in /usr/doc/en_US.ISO8859-1.

For both images in the
/usr/share/doc/en_US.ISO8859-1/articles/building-products/
directory, the result displayed in my browser is an image that
contains this text: 

The image
"file:///usr/share/doc/en_US.ISO8859-1/articles/building-products/freebsd-branches.png"
cannot be displayed because it contains errors.

A similar condition exists for other image directories:

file:///usr/share/doc/en_US.ISO8859-1/books/handbook/geom/striping.png

All images in:
file:///usr/share/doc/en_US.ISO8859-1/books/handbook/security/
file:///usr/share/doc/en_US.ISO8859-1/books/handbook/vinum/
file:///usr/share/doc/en_US.ISO8859-1/articles/releng/

Thanks for any help, and best regards,

Joe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120121200036.GA3893>