After adding the "doc" USE flag and several others, and after emerging a few new programs, I attempted to update the system using "emerge -uDNv world". This worked fine until I was prompted with a "?" on the shell after several LaTeX warnings. I pressed enter and seconds later, the current emerge appeared to fail (detail given below in Actual Results). The package was media-libs/libdvdcss-1.2.9-r1. I attemped to reinstall that package individually by typing "emerge -v =media-libs/libdvdcss-1.2.9-r1" and the exact same thing happened. I noticed that the errors were probably because of the "doc" USE flag, due to all of the LaTeX warnings, so added "=media-libs/libdvdcss-1.2.9-r1 -doc" to my package.use file and attempted to reemerge the package and it worked perfectly fine. Reproducible: Always Steps to Reproduce: 1. Add the "doc" USE flag to the USE variable 2. emerge -v =libdvdcss-1.2.9-r1 (possible bug with other versions too) 3. Wait a few minutes for errors/warnings to appear Actual Results: No file refman.ind. [9] (./refman.aux) LaTeX Warning: There were undefined references. LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right. ) Output written on refman.dvi (13 pages, 19012 bytes). Transcript written on refman.log. make[3]: *** [refman.dvi] Error 1 make[3]: Leaving directory `/var/tmp/portage/media-libs/libdvdcss-1.2.9-r1/work/libdvdcss-1.2.9/doc/latex' make[2]: *** [stamp-latex] Error 2 make[2]: Leaving directory `/var/tmp/portage/media-libs/libdvdcss-1.2.9-r1/work/libdvdcss-1.2.9/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/libdvdcss-1.2.9-r1/work/libdvdcss-1.2.9' make: *** [all] Error 2 !!! ERROR: media-libs/libdvdcss-1.2.9-r1 failed. Call stack: ebuild.sh, line 1621: Called dyn_compile ebuild.sh, line 973: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile libdvdcss-1.2.9-r1.ebuild, line 47: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/media-libs/libdvdcss-1.2.9-r1/temp/build.log'. Expected Results: I would have expected the emerge to complete successfully, and would probably not expect LaTeX warnings.
*** This bug has been marked as a duplicate of bug 167704 ***