Bug 195313 - sys-apps/texinfo-4.11 make check failure
Bug#: 195313 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: dirtyepic@gentoo.org
Component: Applications
URL: 
Summary: sys-apps/texinfo-4.11 make check failure
Keywords:  
Status Whiteboard: 
Opened: 2007-10-10 01:22 0000
Description:   Opened: 2007-10-10 01:22 0000
these tests are new since 4.8

-----
make[1]: Entering directory
`/var/tmp/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util'
SKIP: bibtex.test
FAIL: dvipdf.test
SKIP: latex2html.test
FAIL: texi2dvi.test
====================================
2 of 2 tests failed
(2 tests were not run)
-----

they fail due to TeX not being installed.  attached patch XFAILs them.


-----
# VERBOSE=1 make check TESTS="dvipdf.test texi2dvi.test"
make  defs
make[1]: Entering directory
`/var/tmp/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util'
make[1]: `defs' is up to date.
make[1]: Leaving directory
`/var/tmp/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util'
make  check-TESTS
make[1]: Entering directory
`/var/tmp/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util'
/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.2-pre20071002:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/root/bin
=== Running test ./dvipdf.test
++ pwd
/root/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util/testSubDir
+ set -e
+ one_run --dvipdf --batch --clean -- input.pdf
+ cat
++ optionset_get 1 --dvipdf --batch --clean -- input.pdf
++ n=1
++ shift
++ test 1 '!=' 1
++ true
++ case $#:$1 in
++ echo --dvipdf
++ shift
++ true
++ case $#:$1 in
++ echo --batch
++ shift
++ true
++ case $#:$1 in
++ echo --clean
++ shift
++ true
++ case $#:$1 in
++ shift
++ break
+ TEXI2DVI_pass --dvipdf --batch --clean input.tex
+ TEXI2DVI_run 0 --dvipdf --batch --clean input.tex
+ expected_exitcode=0
+ shift
+ exitcode=0
+ test -n 1
+ set x --debug --verbose --dvipdf --batch --clean input.tex
+ shift
+ /root/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util/texi2dvi --debug
--verbose --dvipdf --batch --clean input.tex
+ exitcode=1
+ cat stderr
+ cat stdout
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
+ test 1 = 0
+ exit 1
FAIL: dvipdf.test
/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:~/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.2.2-pre20071002:/opt/sun-jdk-1.4.2.16/bin:/opt/sun-jdk-1.4.2.16/jre/bin:/opt/sun-jdk-1.4.2.16/jre/javaws:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/root/bin
=== Running test ./texi2dvi.test
++ pwd
/root/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util/testSubDir
+ set -e
+ one_run --batch -- input.aux input.cp input.dvi input.fn input.ky input.log
input.pg input.tp input.vr
+ create_input_texi
+ cat
+ cat
+ cat
++ optionset_get 1 --batch -- input.aux input.cp input.dvi input.fn input.ky
input.log input.pg input.tp input.vr
++ n=1
++ shift
++ test 1 '!=' 1
++ true
++ case $#:$1 in
++ echo --batch
++ shift
++ true
++ case $#:$1 in
++ shift
++ break
+ TEXI2DVI_pass --batch input.texi
+ TEXI2DVI_run 0 --batch input.texi
+ expected_exitcode=0
+ shift
+ exitcode=0
+ test -n 1
+ set x --debug --verbose --batch input.texi
+ shift
+ /root/portage/sys-apps/texinfo-4.11/work/texinfo-4.11/util/texi2dvi --debug
--verbose --batch input.texi
+ exitcode=1
+ cat stderr
+ cat stdout
You don't have a working TeX binary (tex) installed anywhere in
your PATH, and texi2dvi cannot proceed without one.  If you want to use
this script, you'll need to install TeX (if you don't have it) or change
your PATH or TEX environment variable (if you do).  See the --help
output for more details.

For information about obtaining TeX, please see http://www.tug.org.  If
you happen to be using Debian, you can get it with this command:
  apt-get install tetex-bin
+ test 1 = 0
+ exit 1
FAIL: texi2dvi.test
====================================
2 of 2 tests failed

------- Comment #1 From Ryan Hill 2007-10-10 01:22:40 0000 -------
Created an attachment (id=133043) [details]
texinfo-4.11-testsuite.patch

------- Comment #2 From Ryan Hill 2007-10-10 01:34:14 0000 -------
Created an attachment (id=133046) [details]
texinfo-4.11-testsuite.patch

proper fix.

------- Comment #3 From Michał Kiedrowicz 2007-10-10 19:49:37 0000 -------
Actually, I do have tex ("checking for tex... tex"). Your patch doesn't change
anything for me.

------- Comment #4 From Michał Kiedrowicz 2007-10-10 19:50:15 0000 -------
Created an attachment (id=133081) [details]
VERBOSE=1 make check

------- Comment #5 From Michał Kiedrowicz 2007-10-10 19:52:34 0000 -------
Created an attachment (id=133083) [details]
emerge --info

------- Comment #6 From Jakub Januszkiewicz 2007-12-05 18:36:40 0000 -------
I confirm this bug is still present with sys-apps/texinfo-4.11-r1.
I also do have TeX (app-text/texlive-2007-r3) installed.

------- Comment #7 From Jakub Januszkiewicz 2007-12-05 18:39:17 0000 -------
Created an attachment (id=137824) [details]
VERBOSE=1 make check

VERBOSE=1 make check TESTS="dvipdf.test texi2dvi.test"

------- Comment #8 From Jakub Januszkiewicz 2007-12-05 18:39:48 0000 -------
Created an attachment (id=137826) [details]
emerge --info

------- Comment #9 From SpanKY 2008-03-23 18:37:42 0000 -------
added to cvs

http://sources.gentoo.org/sys-apps/texinfo/files/texinfo-4.11-test-tex.patch?rev=1.1
http://sources.gentoo.org/sys-apps/texinfo/texinfo-4.11-r1.ebuild?r1=1.1&r2=1.2