Documentation from source by cron failed

Martin Schweizer office at pc-service.ch
Sun Oct 17 18:11:07 UTC 2010


Hello 

I dayly cvsup the hole documentation source as described in the handbook. This works as expected. Weekly I want to create the hole source by a cron job. For this I create a script:

#!/bin/sh
/usr/bin/make -C /usr/doc/ FORMATS='html html-split txt pdf rtf' install clean
exit 0

If I start it at the shell all works well. If I start it by cron I get always such error messages

[snip]
===> en_US.ISO8859-1 (install)
===> en_US.ISO8859-1/articles (install)
===> en_US.ISO8859-1/articles/5-roadmap (install)
install -C  -o root -g wheel -m 444 article.txt.gz /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.pdf.gz /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.rtf.gz /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.html /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 docbook.css /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 $(/usr/bin/xargs < HTML.manifest) /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 docbook.css /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.txt /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.pdf /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
install -C  -o root -g wheel -m 444 article.rtf /usr/share/doc/en_US.ISO8859-1/articles/5-roadmap
===> en_US.ISO8859-1/articles/bsdl-gpl (install)
install -C  -o root -g wheel -m 444 article.txt.gz /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.pdf.gz /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.rtf.gz /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.html /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 docbook.css /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 $(/usr/bin/xargs < HTML.manifest) /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 docbook.css /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.txt /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.pdf /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
install -C  -o root -g wheel -m 444 article.rtf /usr/share/doc/en_US.ISO8859-1/articles/bsdl-gpl
===> en_US.ISO8859-1/articles/building-products (install)
install -C  -o root -g wheel -m 444 article.txt.gz /usr/share/doc/en_US.ISO8859-1/articles/building-products
/usr/local/bin/epstopdf  --outfile=/usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.pdf /usr/doc/en_US.ISO8859-1/articles/building-products/../../../share/images/articles/building-products/freebsd-organization.eps
EPSTOPDF 2.7, 2001/03/05 - Copyright 1998-2001 by Sebastian Rahtz et al.
!!! Error: Cannot open Ghostscript for piped input!
*** Error code 2

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.
*** Error code 1

Stop in /usr/doc.

[snip]

The messages are every time similar. It breaks alswys at a Ghostscript operation. What do I wrong?


Regards,

-- 

Martin Schweizer
<office at pc-service.ch>

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22




More information about the freebsd-doc mailing list