Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 347942 - app-emulation/xen-tools-4.0.1 fails to build with USE=doc
Summary: app-emulation/xen-tools-4.0.1 fails to build with USE=doc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Xen Devs
URL: N/A
Whiteboard:
Keywords:
Depends on:
Blocks: 144994
  Show dependency tree
 
Reported: 2010-12-06 20:48 UTC by Robert Bradbury
Modified: 2011-08-31 14:52 UTC (History)
0 users

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


Attachments
End of emerge (w/ doc) showing latex file access requests (xen-tools.doc.err,1.79 KB, text/plain)
2010-12-06 20:59 UTC, Robert Bradbury
Details
Added dependency for dev-tex/xcolor (xen-tools-4.1.0-r1.ebuild,8.18 KB, text/plain)
2011-04-15 03:51 UTC, Carter Young
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2010-12-06 20:48:08 UTC
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.
Comment 1 Robert Bradbury 2010-12-06 20:59:49 UTC
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.
Comment 2 Spooky Ghost 2011-02-01 18:24:38 UTC
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?
Comment 3 Alexey Shvetsov archtester gentoo-dev 2011-03-26 11:39:59 UTC
Xen 4.1 in tree. Please test with it and reopen if it doesnt work
Comment 4 Diego Augusto Molina 2011-03-27 08:56:23 UTC
(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'
Comment 5 Carter Young 2011-04-15 03:49:54 UTC
Fixed added ebuild that includes dependency for dev-tex/xcolor
Comment 6 Carter Young 2011-04-15 03:51:21 UTC
Created attachment 270015 [details]
Added dependency for dev-tex/xcolor
Comment 7 Roland 2011-06-19 17:14:44 UTC
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)
Comment 8 Roland 2011-06-19 17:19:00 UTC
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
Comment 9 Ian Delaney (RETIRED) gentoo-dev 2011-07-30 12:08:42 UTC
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
Comment 10 Ian Delaney (RETIRED) gentoo-dev 2011-08-06 20:15:39 UTC
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
Comment 11 Ian Delaney (RETIRED) gentoo-dev 2011-08-06 20:21:21 UTC
oh, also applies to ebuild for 4.1.1