GNU bug report logs - #14499
broken texi2dvi causes a FAIL in t/txinfo-no-split.sh

Previous Next

Package: automake;

Reported by: Peter Rosin <peda <at> lysator.liu.se>

Date: Wed, 29 May 2013 06:36:01 UTC

Severity: minor

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14499 in the body.
You can then email your comments to 14499 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-automake <at> gnu.org:
bug#14499; Package automake. (Wed, 29 May 2013 06:36:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Peter Rosin <peda <at> lysator.liu.se>:
New bug report received and forwarded. Copy sent to bug-automake <at> gnu.org. (Wed, 29 May 2013 06:36:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: bug-automake <at> gnu.org
Subject: broken texi2dvi causes a FAIL in t/txinfo-no-split.sh
Date: Wed, 29 May 2013 08:33:52 +0200
Hi!

On MSYS, I have this situation:

$ texi2dvi --version
You don't have a working TeX binary installed, but the texi2dvi script
can't proceed without it. If you want to use this script, you have to
install some kind of TeX, for example the MikTeX package from
http://miktex.org/ (which is not part of the typical MSYS environment).
$ echo $?
1

Which causes the below failure on master (baf8a1c22acce0908) in
t/txinfo-no-split.sh.

Cheers,
Peter

make[1]: Entering directory `/c/Cygwin/home/peda/automake/t/txinfo-no-split.dir/txinfo-no-split-1.0/_build'
TEXINPUTS="..:$TEXINPUTS" \
	MAKEINFO='makeinfo --split-size 10   -I ..' \
	texi2dvi  --build-dir=foo.t2d -o foo.dvi  \
	../foo.texi
You don't have a working TeX binary installed, but the texi2dvi script
can't proceed without it. If you want to use this script, you have to
install some kind of TeX, for example the MikTeX package from
http://miktex.org/ (which is not part of the typical MSYS environment).
make[1]: *** [foo.dvi] Error 1
make[1]: Leaving directory `/c/Cygwin/home/peda/automake/t/txinfo-no-split.dir/txinfo-no-split-1.0/_build'




Information forwarded to bug-automake <at> gnu.org:
bug#14499; Package automake. (Wed, 29 May 2013 09:52:02 GMT) Full text and rfc822 format available.

Message #8 received at 14499 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 14499 <at> debbugs.gnu.org,
	"automake-patches <at> gnu.org" <automake-patches <at> gnu.org>
Subject: Re: bug#14499: broken texi2dvi causes a FAIL in t/txinfo-no-split.sh
Date: Wed, 29 May 2013 11:50:19 +0200
On 05/29/2013 08:33 AM, Peter Rosin wrote:
> Hi!
> 
> On MSYS, I have this situation:
> 
> $ texi2dvi --version
> You don't have a working TeX binary installed, but the texi2dvi script
> can't proceed without it. If you want to use this script, you have to
> install some kind of TeX, for example the MikTeX package from
> http://miktex.org/ (which is not part of the typical MSYS environment).
> $ echo $?
> 1
> 
> Which causes the below failure on master (baf8a1c22acce0908) in
> t/txinfo-no-split.sh.
> 
> Cheers,
> Peter
> 
> make[1]: Entering directory `/c/Cygwin/home/peda/automake/t/txinfo-no-split.dir/txinfo-no-split-1.0/_build'
> TEXINPUTS="..:$TEXINPUTS" \
> 	MAKEINFO='makeinfo --split-size 10   -I ..' \
> 	texi2dvi  --build-dir=foo.t2d -o foo.dvi  \
> 	../foo.texi
> You don't have a working TeX binary installed, but the texi2dvi script
> can't proceed without it. If you want to use this script, you have to
> install some kind of TeX, for example the MikTeX package from
> http://miktex.org/ (which is not part of the typical MSYS environment).
> make[1]: *** [foo.dvi] Error 1
> make[1]: Leaving directory `/c/Cygwin/home/peda/automake/t/txinfo-no-split.dir/txinfo-no-split-1.0/_build'
> 
> 

The patch below should fix the issue.   Can you confirm?

Thanks,
  Stefano

---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ---- 8< ----

From 455d0f33b1540e75006cbf267cd7bda1a70eb5bc Mon Sep 17 00:00:00 2001
Message-Id: <455d0f33b1540e75006cbf267cd7bda1a70eb5bc.1369820479.git.stefano.lattarini <at> gmail.com>
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Date: Wed, 29 May 2013 11:41:09 +0200
Subject: [PATCH] tests: avoid a spurious failure when TeX is not installed.

Fixes automake bug#14499.

* t/txinfo-no-split.sh: If TeX is not available, redefine 'dvi' to be a
dummy target, so that "make distcheck" doesn't fail while trying to build
the DVI version of the Texinfo manual.

Signed-off-by: Stefano Lattarini <stefano.lattarini <at> gmail.com>
---
 t/txinfo-no-split.sh | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/t/txinfo-no-split.sh b/t/txinfo-no-split.sh
index aecf7e7..6a50f1c 100644
--- a/t/txinfo-no-split.sh
+++ b/t/txinfo-no-split.sh
@@ -34,6 +34,13 @@ check-local:
 	test "`find $(srcdir) . | grep '\.info'`" = "$(srcdir)/foo.info"
 END

+# Systems lacking a working TeX installation cannot run "make dvi".
+if test -z "$TEX"; then
+  warn_ "TeX installation missing, \"make dvi\" will be skipped"
+  echo AUTOMAKE_OPTIONS = -Wno-override >> Makefile.am
+  echo 'dvi:; @echo Tex is missing, do nothing' >> Makefile.am
+fi
+
 cat > foo.texi << 'END'
 \input texinfo
 @setfilename foo.info
-- 
1.8.3.rc3.8.g5e49f30





Information forwarded to bug-automake <at> gnu.org:
bug#14499; Package automake. (Thu, 30 May 2013 06:27:01 GMT) Full text and rfc822 format available.

Message #11 received at 14499 <at> debbugs.gnu.org (full text, mbox):

From: Peter Rosin <peda <at> lysator.liu.se>
To: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Cc: 14499 <at> debbugs.gnu.org,
	"automake-patches <at> gnu.org" <automake-patches <at> gnu.org>
Subject: Re: bug#14499: broken texi2dvi causes a FAIL in t/txinfo-no-split.sh
Date: Thu, 30 May 2013 08:24:58 +0200
On 2013-05-29 11:50, Stefano Lattarini wrote:
> On 05/29/2013 08:33 AM, Peter Rosin wrote:
>> Hi!
>>
>> On MSYS, I have this situation:
>>
>> $ texi2dvi --version
>> You don't have a working TeX binary installed, but the texi2dvi script
>> can't proceed without it. If you want to use this script, you have to
>> install some kind of TeX, for example the MikTeX package from
>> http://miktex.org/ (which is not part of the typical MSYS environment).
>> $ echo $?
>> 1
>>
>> Which causes the below failure on master (baf8a1c22acce0908) in
>> t/txinfo-no-split.sh.
>>
> The patch below should fix the issue.   Can you confirm?

Confirmed, thanks!

Cheers,
Peter





Information forwarded to bug-automake <at> gnu.org:
bug#14499; Package automake. (Thu, 30 May 2013 08:48:02 GMT) Full text and rfc822 format available.

Message #14 received at 14499 <at> debbugs.gnu.org (full text, mbox):

From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Peter Rosin <peda <at> lysator.liu.se>
Cc: 14499 <at> debbugs.gnu.org,
	"automake-patches <at> gnu.org" <automake-patches <at> gnu.org>
Subject: Re: bug#14499: broken texi2dvi causes a FAIL in t/txinfo-no-split.sh
Date: Thu, 30 May 2013 10:45:38 +0200
On 05/30/2013 08:24 AM, Peter Rosin wrote:
> On 2013-05-29 11:50, Stefano Lattarini wrote:
>> On 05/29/2013 08:33 AM, Peter Rosin wrote:
>>> Hi!
>>>
>>> On MSYS, I have this situation:
>>>
>>> $ texi2dvi --version
>>> You don't have a working TeX binary installed, but the texi2dvi script
>>> can't proceed without it. If you want to use this script, you have to
>>> install some kind of TeX, for example the MikTeX package from
>>> http://miktex.org/ (which is not part of the typical MSYS environment).
>>> $ echo $?
>>> 1
>>>
>>> Which causes the below failure on master (baf8a1c22acce0908) in
>>> t/txinfo-no-split.sh.
>>>
>> The patch below should fix the issue.   Can you confirm?
> 
> Confirmed, thanks!
> 
> Cheers,
> Peter
> 
Patch pushed.

Thanks,
  Stefano




Added tag(s) patch. Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 14499 <at> debbugs.gnu.org and Peter Rosin <peda <at> lysator.liu.se> Request was from Stefano Lattarini <stefano.lattarini <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 30 May 2013 21:08:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Jun 2013 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 53 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.