From unknown Fri Jun 20 05:35:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7994 <7994@debbugs.gnu.org> To: bug#7994 <7994@debbugs.gnu.org> Subject: Status: make distcheck fails when latex is not installed Reply-To: bug#7994 <7994@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:35:53 +0000 retitle 7994 make distcheck fails when latex is not installed reassign 7994 automake submitter 7994 Ralf Wildenhues severity 7994 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 06 17:11:31 2011 Received: (at submit) by debbugs.gnu.org; 6 Feb 2011 22:11:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmCpP-0000O3-O0 for submit@debbugs.gnu.org; Sun, 06 Feb 2011 17:11:31 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmCpN-0000Nq-6F for submit@debbugs.gnu.org; Sun, 06 Feb 2011 17:11:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmCxh-0004bB-KZ for submit@debbugs.gnu.org; Sun, 06 Feb 2011 17:20:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38399) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmCxh-0004b6-H9 for submit@debbugs.gnu.org; Sun, 06 Feb 2011 17:20:05 -0500 Received: from [140.186.70.92] (port=53770 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmCxg-00082r-IL for bug-automake@gnu.org; Sun, 06 Feb 2011 17:20:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmCxf-0004ak-Dj for bug-automake@gnu.org; Sun, 06 Feb 2011 17:20:04 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:59106) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PmCxf-0004aY-1g for bug-automake@gnu.org; Sun, 06 Feb 2011 17:20:03 -0500 Received: (qmail invoked by alias); 06 Feb 2011 22:20:01 -0000 Received: from xdsl-78-35-60-126.netcologne.de (EHLO localhost.localdomain) [78.35.60.126] by mail.gmx.net (mp028) with SMTP; 06 Feb 2011 23:20:01 +0100 X-Authenticated: #13673931 X-Provags-ID: V01U2FsdGVkX180020yZEA0128mferWEtkOY3NQsVfEABbFk+H9Zp DFcZWvkHcntOUh Received: from ralf by localhost.localdomain with local (Exim 4.69) (envelope-from ) id 1PmCxd-0004rw-4L; Sun, 06 Feb 2011 23:20:01 +0100 Date: Sun, 6 Feb 2011 23:20:01 +0100 From: Ralf Wildenhues To: bug-automake@gnu.org Subject: make distcheck fails when latex is not installed Message-ID: <20110206222000.GE18450@gmx.de> Mail-Followup-To: bug-automake@gnu.org, "Jose E. Marchesi" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: Institute for Numerical Simulation, University of Bonn User-Agent: Mutt/1.5.20 (2010-08-04) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 213.165.64.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit Cc: "Jose E. Marchesi" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.8 (----) In a package with a texinfo file, distcheck fails when LaTeX is not installed. Instead, it should exit 63(?). The fact that distcheck runs 'make dvi' is not documented. (From Jose; please correct me if I cited this wrongly now.) Thanks, Ralf From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 29 21:36:22 2020 Received: (at 7994) by debbugs.gnu.org; 30 Apr 2020 01:36:23 +0000 Received: from localhost ([127.0.0.1]:44975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTy7f-0005Ua-4I for submit@debbugs.gnu.org; Wed, 29 Apr 2020 21:36:22 -0400 Received: from freefriends.org ([96.88.95.60]:39242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jTy7Z-0005UO-IV for 7994@debbugs.gnu.org; Wed, 29 Apr 2020 21:36:17 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 03U1aBm8019064 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 29 Apr 2020 19:36:12 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 03U1aBLx019063; Wed, 29 Apr 2020 19:36:11 -0600 Date: Wed, 29 Apr 2020 19:36:11 -0600 Message-Id: <202004300136.03U1aBLx019063@freefriends.org> From: Karl Berry To: Ralf.Wildenhues@gmx.de Subject: Re: bug#7994: make distcheck fails when latex is not installed In-Reply-To: <20110206222000.GE18450@gmx.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 7994 Cc: 7994@debbugs.gnu.org, jemarch@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Ralf, Jose, anyone and everyone, Back on this automake bug report from a mere nine years ago: (https://debbugs.gnu.org/cgi/bugreport.cgi?bug=7994) Date: Sun, 6 Feb 2011 23:20:01 +0100 In a package with a texinfo file, distcheck fails when LaTeX is not installed. Instead, it should exit 63(?). I guess I don't exactly understand. Do we not want Automake to require TeX (BTW, as far as I know, LaTeX specifically is irrelevant to Texinfo) for a successful "make dist" in a package with a Texinfo file? It does not seem unreasonable to me. I can't find any specific statement about this, though the manual (Auxiliary Programs) does say that texinfo.tex is required for make dvi, make ps, make pdf, to work, which implies that TeX is required, since texinfo.tex is meaningless by itself. And, furthermore, what would be the difference between "fails" and "exit 63"? Either way the make dist(check) would stop. Also, I can't find anything notable about status 63. Perhaps you meant status 77 for skipping a test? But this is not a test that is failing, it's a whole target (dvi). So I'm confused. BTW, as far as I can tell, it is actually "make dist" that fails, not "make distcheck". It's because of the "make dvi" that you mentioned below. At any rate, I made a test (included below) to try make distcheck on a constructed minimal distribution without tex/etc., and the result is: texi2dvi --build-dir=main.t2d -o main.dvi \ ./../main.texi /usr/local/gnu/bin/texi2dvi: TeX neither supports -recorder nor outputs \openout lines in its log file make[1]: *** [Makefile:342: main.dvi] Error 1 make[1]: Leaving directory '/u/karl/gnu/src/akarl/t/distcheck-no-tex.dir/distcheck-no-tex-1.0/_build/sub' make: *** [Makefile:563: distcheck] Error 1 (Aside: My test sets TEXI2DVI=false, but apparently something along the way is not respecting that, and finding the texi2dvi in my PATH. Didn't seem important to track that down. The only difference is whether the error is emitted by from texi2dvi finding a deficient tex, or /bin/sh: texi2dvi: command not found ) By the way, in the process of researching this, I did find two Automake tests, instdir-no-empty and txinfo-bsd-make-recurs, which as far as I can tell run dvi/ps/pdf targets without requiring the programs. I feel somewhat surprised that that hasn't been discerned by someone's environment before now, but that's how it looks. The fact that distcheck runs 'make dvi' is not documented. Ack, will fix that in any case. Unless we change it. Here is my little test (without the leading comments). ----------------------------------------------------------------------------- . test-init.sh cat >> configure.ac << 'END' AC_OUTPUT END cat > Makefile.am << 'END' info_TEXINFOS = main.texi END cat > main.texi << 'END' \input texinfo @setfilename main.info @bye END $ACLOCAL $AUTOMAKE -a $AUTOCONF ./configure $MAKE TEX=false TEXI2DVI=false MAKEINFO=false DVIPS=false export TEX TEXI2DVI MAKEINFO DVIPS $MAKE distcheck : ----------------------------------------------------------------------------- Best, Karl From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 21:45:00 2020 Received: (at 7994-done) by debbugs.gnu.org; 8 May 2020 01:45:00 +0000 Received: from localhost ([127.0.0.1]:44241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWs4R-0006gu-Of for submit@debbugs.gnu.org; Thu, 07 May 2020 21:45:00 -0400 Received: from freefriends.org ([96.88.95.60]:46554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWs4P-0006gj-TN; Thu, 07 May 2020 21:44:58 -0400 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (freefriends.org [96.88.95.60]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 0481iuFm007779 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 7 May 2020 19:44:56 -0600 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 0481itFV007778; Thu, 7 May 2020 19:44:55 -0600 Date: Thu, 7 May 2020 19:44:55 -0600 Message-Id: <202005080144.0481itFV007778@freefriends.org> From: Karl Berry To: Ralf.Wildenhues@gmx.de Subject: Re: bug#7994: make distcheck fails when latex is not installed In-Reply-To: <20110206222000.GE18450@gmx.de> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 7994-done Cc: 7994@debbugs.gnu.org, jemarch@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lacking further input, I've pushed the following documentation-only change to close this one. A further change, for https://bugs.gnu.org/8289 (which has much more discussion), should make it possible to omit and change running make dvi. --thanks, karl. ----------------------------------------------------------------------------- docs: make dist implies make dvi. This change handles https://bugs.gnu.org/7994. * doc/automake.texi (Preparing Distributions): make distcheck runs make dvi. (Auxiliary Programs) : mention that make dist runs make dvi, and therefore a TeX system is required when Texinfo sources are present. Add @cmindex entries for all auxiliary programs while we're here. diff --git a/doc/automake.texi b/doc/automake.texi index 1b35883..adc44f5 100644 --- a/doc/automake.texi +++ b/doc/automake.texi @@ -1232,8 +1232,8 @@ work: @item It attempts a full compilation of the package (@pxref{Basic Installation}), unpacking the newly constructed tarball, running -@code{make}, @code{make check}, @code{make install}, as well as -@code{make installcheck}, and even @code{make dist}, +@code{make}, @code{make dvi}, @code{make check}, @code{make install}, +as well as @code{make installcheck}, and even @code{make dist}, @item it tests VPATH builds with read-only source tree (@pxref{VPATH Builds}), @item @@ -2258,10 +2258,12 @@ source in case you need more recent versions. @table @code @item ar-lib +@cmindex ar-lib This is a wrapper primarily for the Microsoft lib archiver, to make it more POSIX-like. @item compile +@cmindex compile This is a wrapper for compilers that do not accept options @option{-c} and @option{-o} at the same time. It is only used when absolutely required. Such compilers are rare, with the Microsoft C/C++ Compiler @@ -2272,6 +2274,8 @@ translation where needed: @option{-I}, @option{-L}, @option{-l}, @item config.guess @itemx config.sub +@cmindex config.guess +@cmindex config.sub These two programs compute the canonical triplets for the given build, host, or target architecture. These programs are updated regularly to support new architectures and fix probes broken by changes in new @@ -2282,26 +2286,31 @@ you are encouraged to fetch the latest versions of these files from release. @item depcomp +@cmindex depcomp This program understands how to run a compiler so that it will generate not only the desired output but also dependency information that is then used by the automatic dependency tracking feature (@pxref{Dependencies}). @item install-sh +@cmindex install-sh This is a replacement for the @command{install} program that works on platforms where @command{install} is unavailable or unusable. @item mdate-sh +@cmindex mdate-sh This script is used to generate a @file{version.texi} file. It examines a file and prints some date information about it. @item missing +@cmindex missing @r{program} This wraps a number of programs that are typically only required by maintainers. If the program in question doesn't exist, or seems too old, @command{missing} will print an informative warning before failing out, to provide the user with more context and information. @item mkinstalldirs +@cmindex mkinstalldirs This script used to be a wrapper around @samp{mkdir -p}, which is not portable. Now we prefer to use @samp{install-sh -d} when @command{configure} finds that @samp{mkdir -p} does not work, this makes one less script to @@ -2312,19 +2321,26 @@ distributed when @command{automake} finds it in a package. But it is no longer installed automatically, and it should be safe to remove it. @item py-compile +@cmindex py-compile This is used to byte-compile Python scripts. @item test-driver +@cmindex test-driver This implements the default test driver offered by the parallel testsuite harness. @item texinfo.tex -Not a program, this file is required for @samp{make dvi}, @samp{make -ps} and @samp{make pdf} to work when Texinfo sources are in the -package. The latest version can be downloaded from -@url{https://www.gnu.org/software/texinfo/}. +@cmindex texinfo.tex +When Texinfo sources are in the package, this file is required for +@samp{make dvi}, @samp{make ps} and @samp{make pdf}. The latest +version can be downloaded from +@url{https://www.gnu.org/software/texinfo/}. A working @TeX{} +distribution, or at least a @file{tex} program, is also required. +Furthermore, @samp{make dist} invokes @samp{make dvi}, so these become +requirements for making a distribution with Texinfo sources. @item ylwrap +@cmindex ylwrap This program wraps @command{lex} and @command{yacc} to rename their output files. It also ensures that, for instance, multiple @command{yacc} instances can be invoked in a single directory in compile finished at Thu May 7 18:25:45 2020 From unknown Fri Jun 20 05:35:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 05 Jun 2020 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator