Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368175 - app-emulation/virtualbox-4.0.8 doesn't build with USE=doc
Summary: app-emulation/virtualbox-4.0.8 doesn't build with USE=doc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-20 14:52 UTC by Alex Brandt (RETIRED)
Modified: 2011-05-29 03:52 UTC (History)
2 users (show)

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


Attachments
emerge --info \=app-emulation/virtualbox-4.0.8 (emerge-info.txt,5.26 KB, text/plain)
2011-05-26 19:46 UTC, Alex Brandt (RETIRED)
Details
Build Log (build.log,334.04 KB, text/x-log)
2011-05-26 19:50 UTC, Alex Brandt (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Brandt (RETIRED) gentoo-dev 2011-05-20 14:52:44 UTC
This particular version of VirtualBox doesn't build when doc is set as a use flag.  Appears to be due to a missing doc file but I'll include the build log to be sure.

Reproducible: Always

Steps to Reproduce:
1.USE=doc emerge -av1 =app-emulation/virtualbox-4.0.8
2.Fails
3.
Actual Results:  
Build failure (full error in build log)

Expected Results:  
Successful build of package
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-05-24 09:46:17 UTC
  Pre-processing [2] user_VBoxManage.xml to {T}/manual/en_US/user_VBoxManage.xml 
  Generating {T}/manual/en_US/UserManual.tex from DocBook XML 
pdflatex: not found
pdflatex: not found
pdflatex: not found
pdflatex: not found
  pdflatex {T}/manual/en_US/UserManual.tex (four passes) -> {T}/manual/en_US/UserManual.pdf 
kmk_redirect: error: _execvp(_P_WAIT, "pdflatex", ...) failed: No such file or directory
kmk: *** [/var/tmp/portage/app-emulation/virtualbox-4.0.8/work/VirtualBox-4.0.8_OSE/out/linux.amd64/release/obj/manual/en_US/UserManual.pdf] Error 1
 * ERROR: app-emulation/virtualbox-4.0.8 failed (compile phase):
 *   emake failed
Comment 2 Alex Brandt (RETIRED) gentoo-dev 2011-05-26 19:46:50 UTC
Created attachment 274727 [details]
emerge --info \=app-emulation/virtualbox-4.0.8
Comment 3 Alex Brandt (RETIRED) gentoo-dev 2011-05-26 19:50:26 UTC
Created attachment 274729 [details]
Build Log
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-05-28 11:07:34 UTC
pdflatex belongs to dev-texlive/texlive-latex package. Please make sure that you have that package installed and pdflatex is avaliable. If it's not please reinstall texlive-latex.
Comment 5 Alex Brandt (RETIRED) gentoo-dev 2011-05-28 12:48:23 UTC
Just verified that it is installed and pdflatex is available:

alunduil@elijah ~ % eix texlive-latex -Ic
[I] dev-texlive/texlive-latex (2010@11/15/2010): TeXLive Basic LaTeX packages
[I] dev-texlive/texlive-latex3 (2010@11/15/2010): TeXLive LaTeX3 packages
[I] dev-texlive/texlive-latexextra (2010-r2@05/18/2011): TeXLive LaTeX supplementary packages
[I] dev-texlive/texlive-latexrecommended (2010@11/15/2010): TeXLive LaTeX recommended packages
Found 4 matches.

alunduil@elijah ~ % whereis pdflatex
pdflatex: /usr/bin/pdflatex /usr/share/man/man1/pdflatex.1.bz2
Comment 6 Alex Brandt (RETIRED) gentoo-dev 2011-05-29 03:52:06 UTC
After rebuilding texlive-latex and it's level 1 dependencies everything built again.  Not sure why the binary wasn't working as intended but it is now.  Thanks for pointing me in the right direction.