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
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
Created attachment 274727 [details] emerge --info \=app-emulation/virtualbox-4.0.8
Created attachment 274729 [details] Build Log
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.
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
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.