Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jul 2002 22:45:31 -0700 (PDT)
From:      Don Lewis <dl-freebsd@catspoiler.org>
To:        doc@FreeBSD.org
Cc:        stable@FreeBSD.org, saken@hotel.rmta.org
Subject:   www/tidy core dumps when building doc during "make release"
Message-ID:  <200207060546.g665kH0M017501@gw.catspoiler.org>

next in thread | raw e-mail | index | archive | help
The tidy program has an undocumented feature.  It looks for a
configuration file "~/.tidyrc" on startup, unless the environment
variable HTML_TIDY is set.  In the "make release" environment, the HOME
environment variable is not set, which causes tidy to core dump when it
tries to expand "~/.tidyrc" to a full path name.

I think the best fix would be to change the invokation of tidy from
"${PREFIX}/bin/tidy" to "HTML_TIDY=/dev/null ${PREFIX}/bin/tidy" in
doc.docbook.mk and doc.html.mk.  This will also give consistent results
between users who might happen to have .tidyrc files.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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