Error building docs *blank page!!* *bad magic number 0x2d67*
driesm.michiels at gmail.com
driesm.michiels at gmail.com
Mon Nov 11 20:46:36 UTC 2019
Hi doc mailing list,
Since a few weeks now, I have been unable to build the documentation tree.
The build always stops with the output snippet below.
/usr/local/bin/scr2png <
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/mail/pine5.scr >
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/mail/pine5.png
tmpfile=$(mktemp
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps.XXXXXXXX); groff -p -S -Wall -mtty-char
-man
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.pic > $tmpfile && /bin/mv -f $tmpfile
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps
tmpfile=$(mktemp
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps.XXXXXXXX); /usr/local/bin/gs -q
-dNOPAUSE -dBATCH -dSAFER -dDELAYSAFER -sPAPERSIZE=letter -r72
-sDEVICE=bbox -sOutputFile=/dev/null
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps > $tmpfile 2>&1; /usr/bin/env
outfile=$tmpfile /usr/local/bin/gs -q -dNOPAUSE -dSAFER -dDELAYSAFER
-sPAPERSIZE=letter -r72 -sDEVICE=bit -sOutputFile=/dev/null ps2epsi.ps <
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps 1>&2; (echo "save countdictstack mark
newpath /showpage {} def /setpagedevice {pop} def"; echo "%%EndProlog"; echo
"%%Page: 1 1"; echo "%%BeginDocument:
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps"; ) >> $tmpfile; /usr/bin/sed -e
'/^%%BeginPreview:/,/^%%EndPreview[^!-~]*$/d' -e '/^%!PS-Adobe/d' -e
'/^%%[A-Za-z][A-Za-z]*[^!-~]*$/d' -e '/^%%[A-Za-z][A-Za-z]*: /d' <
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.ps >> $tmpfile; (echo "%%EndDocument";
echo "%%Trailer"; echo "cleartomark countdictstack exch sub { end } repeat
restore"; echo "%%EOF"; ) >> $tmpfile; /bin/mv -f $tmpfile
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps
blank page!!
/usr/local/bin/perl /usr/doc/share/misc/epsgeom -offset 100 100
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps | /usr/local/bin/gs -q -dBATCH
-dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dEPSCrop -r100x100 -dNOPAUSE
-dSAFER -sDEVICE=pnm -sOutputFile=- -g`/usr/local/bin/perl
/usr/doc/share/misc/epsgeom -geom 100 100
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps` - | /usr/local/bin/pnmtopng >
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.png
Error: no BoundingBox found:
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps
Error: no BoundingBox found:
/usr/doc/en_US.ISO8859-1/books/handbook/../../../share/images/books/handbook
/advanced-networking/net-routing.eps
pnmtopng: bad magic number 0x2d67 - not a PPM, PGM, PBM, or PAM file
*** Error code 1
I have done some preliminary troubleshooting in a VM and the error does not
occur on FreeBSD-CURRENT, I'm running 12-STABLE myself.
There is also a PR open for this, would appreciate if someone more skilled
with the technical side of the DOC tree could take a look and provide
feedback.
<https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234126>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234126
Regards,
Dries
More information about the freebsd-doc
mailing list