From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31099 invoked by alias); 14 May 2002 01:26:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 31037 invoked by uid 71); 14 May 2002 01:26:03 -0000 Date: Mon, 13 May 2002 18:26:00 -0000 Message-ID: <20020514012603.31036.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: "Joseph S. Myers" Subject: Re: other/6653: make dvi fails on solaris, gcc-3.0.4 Reply-To: "Joseph S. Myers" X-SW-Source: 2002-05/txt/msg00374.txt.bz2 List-Id: The following reply was made to PR other/6653; it has been noted by GNATS. From: "Joseph S. Myers" To: jeff deifik Cc: gcc-gnats@gcc.gnu.org Subject: Re: other/6653: make dvi fails on solaris, gcc-3.0.4 Date: Tue, 14 May 2002 02:22:12 +0100 (BST) On Mon, 13 May 2002, jeff deifik wrote: > TEXINPUTS=.:/home/jdeifik/work/gnu/jeff-native-gcc/gcc:/home/jdeifik/work/gnu/gc > c-3.0.4/gcc/doc::../../gcc-3.0.4/gcc/doc:../../gcc-3.0.4/gcc/doc/include: > INDEXSTYLE=.:/home/jdeifik/work/gnu/jeff-native-gcc/gcc:/home/jdeifik/work/gnu/g > cc-3.0.4/gcc/doc::../../gcc-3.0.4/gcc/doc:../../gcc-3.0.4/gcc/doc/include: > + test -n > + sed 1q ./../../gcc-3.0.4/gcc/doc/gcc.texi > + fgrep input texinfo > language=texinfo > bibtex= > texindex=texindex > + test dvi = dvi > tex=tex > + test = t > txiversion_tex=txiversion.tex > + echo \input texinfo.tex @bye > + cd /tmp/t2d5992 > + sed -n s/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 > txiversion= > "\2\3\4"/p > + tex txiversion.tex > + eval > + false texinfo.tex preloaded as `', version is `' ... > + test 19990129 -le OK, the problem appears to be that the test for texinfo.tex being recent enough for macro expansion is done in a temporary directory, but the TEXINPUTS setting (from the -I arguments) pointing to the right texinfo.tex to use still includes relative paths. Report this to the Texinfo maintainers as a Texinfo bug. As a workaround, install a sufficiently recent (at least 19990129) texinfo.tex version in a directory TeX searches by default, or set TEXINPUTS to point to such a directory before running texi2dvi; if macro support is detected, the right version of texinfo.tex (that included with GCC) will then be used for the actual formatting. -- Joseph S. Myers jsm28@cam.ac.uk