Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 129044 - app-text/tetex-3.0_p1-r2 emerge failed; "latex: Command not found"
Summary: app-text/tetex-3.0_p1-r2 emerge failed; "latex: Command not found"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 124511
  Show dependency tree
 
Reported: 2006-04-06 09:20 UTC by Thomas Cort (RETIRED)
Modified: 2006-04-10 03:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2006-04-06 09:20:13 UTC
When emerge'ing tetex-3.0_p1-r2 I get the following error:

make[2]: Entering directory `/var/tmp/portage/tetex-3.0_p1-r2/work/tetex-src-3.0/texk/dvipng'
latex ./test_dvipng
make[2]: latex: Command not found
make[2]: *** [test_dvipng.dvi] Error 127
make[2]: Leaving directory `/var/tmp/portage/tetex-3.0_p1-r2/work/tetex-src-3.0/texk/dvipng'
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/tetex-3.0_p1-r2/work/tetex-src-3.0/texk'
make: *** [check] Error 2


# emerge --info
Portage 2.1_pre7-r4 (default-linux/alpha/no-nptl/2.4, gcc-3.4.4, glibc-2.3.5-r3, 2.4.32 alpha)
=================================================================
System uname: 2.4.32 alpha EV56
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/java-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X aac aalib aim alsa apache2 artworkextra async audacious audiofile bash-completion berkdb binfilter bitmap-fonts bittorrent bl bonjour c++ cairo calendar cdinstall cdparanoia cdr cdrom chroot cli config_wizard cracklib crypt cscope csv ctype cups curl curlwrappers cvs cvsgraph dba dhcp dillo dri editor eds elf encode epiphany escreen esd ethereal expat extraicons extras fastbuild ffmpeg fftw figlet firefox flac force-cgi-redirect ftp gd gdb gdbm gif glep gnome gnutls gpm grammar gsl gstreamer gtalk gtk gtk2 gtkspell gvim gzip html icq id3 imlib ipv6 jabber javascript jpeg justify ladspa lame libg++ libsexy libwww lite lj logrotate lua mad mapeditor md5sum memlimit mikmod motif moznoirc moznomail moznoroaming mozsha1 mp3 mpeg mpeg2 mplayer msn msnextras music ncurses net nethack nls offensive ogg oggvorbis opengl openssh openssl oscar oss pam pcre pdflib perl png posix python quicktime quotes readline recode reiserfs scp screen sdl session sftp simplexml skins sndfile soap sockets sounds sox speech spell spl ssl subversion symlink syslog tcpd threads tokenizer truetype truetype-fonts type1-fonts userlocales vcd videos vim vim-with-x vorbis wma wma123 xml xml2 xmlreader xmms xsl xv xvid yahoo zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Martin Ehmsen (RETIRED) gentoo-dev 2006-04-06 10:44:15 UTC
It is a known issue that tetex does not pass make test.
I have fixed it in the next revision, but the "fix" is just to comment out the parts of the dvipng test target that involves latex.
It cannot be fixed in any other way (if this is the first tetex installation on the system) since no formats or anything has been generated for latex at this point in the installation (the latex binary looks for the formats in a location where they are only going to be when the tetex has been merged into your filesystem).
This is the reason that no other test targets of the subparts of tetex calls the latex binary.

A quick hack is just to disable the test feature, but you probably already know that.

So indeed this is a bug, but it cannot (in any reasonable way) get fixed The Right Way.
I'll close this bug when the next revision of tetex, including the "fix", is out.
Comment 2 Martin Ehmsen (RETIRED) gentoo-dev 2006-04-10 03:46:13 UTC
I have removed dvipng from tetex all together, since it is provided in it own package (app-text/dvipng). This is cleaner and easier than having them block eachother.
The fix is in tetex-3.0_p1-r3 (together with some other stuff).