In two cases, both on x86 and amd64 xen-tools with doc USE option fails to build. It appears to be failing in pdflatex and "hangs" the emerge requesting a file name from stdin. Reproducible: Always Steps to Reproduce: 1. USE=doc emerge xen-tools Actual Results: emerge fails (hangs indefinitely) requesting input. Last line in log is "Enter file name:". Last command is "pdflatex refman.tex" which appears to run LaTeX2e. Expected Results: All ebuilds should always work with "doc" option. Ebuilds should be tested on machines with minimal pdf/latex support installed so the ebuild can be properly configured to require the proper PDF/Latex support programs for people who do attempt to install with "doc". Given that there appear to be 2 old (RESOLVED) bugs filed on xen-tools regarding failure to emerge when "doc" is involved one would hope this would be S.O.P.
Created attachment 256534 [details] End of emerge (w/ doc) showing latex file access requests Seems to be missing "xcolor.sty" but line involving "df / /usr.sty" seems completely messed up.
With USE=doc on my system 4.0.1 compiles fine. $ equery b /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty [ Searching for file(s) /usr/share/texmf-site/tex/latex/xcolor/xcolor.sty in *... ] dev-tex/xcolor-2.11 (/usr/share/texmf-site/tex/latex/xcolor/xcolor.sty) If you remerge dev-tex/xcolor does this solve the issue?
Xen 4.1 in tree. Please test with it and reopen if it doesnt work
(In reply to comment #3) > Xen 4.1 in tree. Please test with it and reopen if it doesnt work Well, I tried and still fails not finding `xcolor.sty'. Checked it out and turned out I hadn't had dev-tex/xcolor installed on my system so I installed it everything went ok. Shouldn't the `doc' USE flag pull dev-tex/xcolor'
Fixed added ebuild that includes dependency for dev-tex/xcolor
Created attachment 270015 [details] Added dependency for dev-tex/xcolor
Hello, I tried today to install app-emulation/xen-tools-4.1.0-r1 but I still get the Error ! LaTeX Error: File `xcolor.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty)
Ok I installed the package dev-tex/xcolor but now it stops at: ! LaTeX Error: File `sectsty.sty' not found. Type X to quit or <RETURN> to proceed, or enter new name. (Default extension: sty) Roland
The problem is with tex, not anything in the ebuild as such. tex is made sensitive by the weight of large numbers of sub packages. With perserverance you can eventually find the missing dependent tex package, even if it means emerging them one by one
The fix; predictably the ebuild is simply missing some package depend for the docs tex is a pain. This list appears to be enough to cover the missting .sty files. dev-tex/xcolor-2.11 dev-texlive/texlive-latexextra-2010-r2 virtual/latex-base-1.0 dev-tex/latexmk-423a dev-tex/latex2html-2008-r1 dev-texlive/texlive-latex-2010 dev-texlive/texlive-pictures-2010-r1 dev-texlive/texlive-latexrecommended-2010
oh, also applies to ebuild for 4.1.1