Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226487 - app-emulation/xen-tools-3.2.0 - LaTeX error: file 'comment.sty' not found.
Summary: app-emulation/xen-tools-3.2.0 - LaTeX error: file 'comment.sty' not found.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-14 04:59 UTC by Norman Molhant
Modified: 2008-06-15 01:59 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 Norman Molhant 2008-06-14 04:59:06 UTC
emerge xen-tools fails on "compiling docs failed".
Hours before it failed on weird LaTeX errors and googling lead me to think that the problem was due to lack of fonts, so I emerged  dev-texlive/texlive-latexrecommended and some others (texinfo, genericrecommended, etc.).
This produced the error message "compiling docs failed" following an new Latex message: "LaTeX Error: file `comment.sty' not found." while compiling
/var/tmp/portage/app-emulation/xen-tools-3.2.0/work/xen-3.2.0/docs/src/interface.tex

Reproducible: Always

Steps to Reproduce:
1. emerge xen-tools
2. cd /var/tmp/portage/app-emulation/xen-tools-3.2.0/work/xen-3.2.0/docs
3. look at the end of file interface.log

Actual Results:  
interface.dvi is not generated and interface.log contains the message
"LaTeX Error: file `comment.sty' not found.", then a few steps later,
emerge fails with the message "compiling docs failed".


Expected Results:  
LaTex should have been able to compile src/interface.tex into interface.dvi,
then the emerge of xen-tools would not have failed.


I'm trying to install xen DomU using Gentoo LiveCD 2.6.19-gentoo-r5 on a pair of quad-core Xeons (x86-64).  As this is the main server for a new ISP, xen is a must for that server and that server is scheduled to go online "for real" in 7 days, this bug is critical.  I have already lost a full workday (12 hours) trying to find a way around this bug.
   Slightly shortened listing of "emerge --info":
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, \
 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Timestamp of tree: Wed, 30 Apr 2008 02:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf \
 /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c \
 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict \
unmerge-orphans userfetch" 
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms \
 --times --compress --force --whole-file --delete --stats \
 --timeout=180 --exclude=/distfiles --exclude=/local \
 --exclude=/packages" 
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 berkdb cdr cli cracklib crypt cups dri dvdr fortran \
 gdbm gpm iconv ipv6 isdnlog loop-aes midi mmx mudflap ncurses \
 nls nptl nptlonly openmp pam pcre perl png pppd python readline \
 reflection session slang spl sse sse2 ssl tcpd unicode usb xen \
 xorg zlib"   
ELIBC="glibc" 
KERNEL="linux"
USERLAND="GNU"
Comment 1 nick stinemates 2008-06-14 06:55:37 UTC
Unable to reproduce this issue with stage3-amd64-2008.0_beta2

Did you use any specific package USE flags (in /etc/portage/package.use ?)

Here's my emerge --info:

Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r8 x86_64 unknown
Timestamp of tree: Fri, 13 Jun 2008 02:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cdr cli cracklib crypt cups dri dvdr fortran gdbm gpm iconv ipv6 isdnlog loop-aes midi mmx mudflap multilib ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session slang spl sse sse2 ssl tcpd unicode usb xen xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-14 14:21:19 UTC
What is this? Post the entire thing, please.
  "Slightly shortened listing of "emerge --info""
Comment 3 Norman Molhant 2008-06-14 15:53:09 UTC
(In reply to comment #2)
> What is this? Post the entire thing, please.
>   "Slightly shortened listing of "emerge --info""
I removed totally irrelevant info, like ALSA_CARDS, VIDEO_CARDS, INPUT_DEVICES
and similar stuff with no bearing on the problem at hand.

Anyway, I finally found the cause of the problem:
 there is an *undeclared* dependency on dev-texlive/texlive-latexextra in
 app-emulation/xen-tools : the file "comment.sty" required for xen-tools
 belongs to texlive-latexextra .
 
Hence, to solve the problem, one should add texlive-latexextra among the
dependencies of xen-tools .

Then we may mark this bug as CLOSED.

Now a minor question: when I added "-doc" to my USE flags, I expected
xen-tools not to compile the docs.  Surprisingly, adding "-doc" had no
effect at all on the compilation of xen-tools.  How come ?

(In reply to comment #1)
> Unable to reproduce this issue with stage3-amd64-2008.0_beta2
I'm not using any beta version of stage3, only the stable one from 2007.

> Did you use any specific package USE flags (in /etc/portage/package.use ?)
None at all.
Comment 4 Norman Molhant 2008-06-15 01:59:19 UTC
(In reply to comment #2)
Here is the unabridged "emerge --info", including all irrelevant info.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r5 x86_64 Intel(R) Xeon(R) CPU E5310 @ 1.60GHz
Timestamp of tree: Wed, 30 Apr 2008 02:15:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirrors.tera-byte.com/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ "
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 berkdb cdr cli cracklib crypt cups dri dvdr fortran gdbm gpm iconv ipv6 isdnlog loop-aes midi mmx mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd python readline reflection session slang spl sse sse2 ssl tcpd unicode usb xen xorg zlib"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
USERLAND="GNU"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY