From owner-freebsd-doc Fri Jul 5 22:44:51 2002 Delivered-To: freebsd-doc@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E594437B400; Fri, 5 Jul 2002 22:44:48 -0700 (PDT) Received: from gw.catspoiler.org (217-ip-163.nccn.net [209.79.217.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52DFA43E42; Fri, 5 Jul 2002 22:44:48 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Received: from mousie.catspoiler.org (mousie.catspoiler.org [192.168.101.2]) by gw.catspoiler.org (8.12.3/8.12.3) with ESMTP id g665kH0M017501; Fri, 5 Jul 2002 22:46:21 -0700 (PDT) (envelope-from dl-freebsd@catspoiler.org) Message-Id: <200207060546.g665kH0M017501@gw.catspoiler.org> Date: Fri, 5 Jul 2002 22:45:31 -0700 (PDT) From: Don Lewis Subject: www/tidy core dumps when building doc during "make release" To: doc@FreeBSD.org Cc: stable@FreeBSD.org, saken@hotel.rmta.org MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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-doc" in the body of the message