Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376649 - media-gfx/graphite2-0.9.4-r1 fails to emerge with USE="doc"
Summary: media-gfx/graphite2-0.9.4-r1 fails to emerge with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-27 19:39 UTC by Chris Mayo
Modified: 2011-07-28 19:27 UTC (History)
0 users

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


Attachments
Patch to ebuild to make docs (graphite2-0.9.4-r1.ebuild-docbuild.patch,737 bytes, patch)
2011-07-28 19:22 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Mayo 2011-07-27 19:39:41 UTC
This is USE="doc perl" but works fine with USE="-doc perl"

elog:

QA: install
QA Notice: command not found:

	/var/tmp/portage/media-gfx/graphite2-0.9.4-r1/temp/environment: line 3145: Icmake-utils_src_compile: command not found
QA Notice: file does not exist:

	dodoc: /var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/manual.html does not exist
	dodoc: /var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/doxygen/latex/refman.pdf does not exist
ERROR: install
ERROR: media-gfx/graphite2-0.9.4-r1 failed (install phase):
  dodoc failed


and the error in the emerge:

Installing /var/tmp/portage/media-gfx/graphite2-0.9.4-r1/image/usr/share/man/man3/Text::Graphite2::Face.3pm
install: cannot stat `/var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/manual.html': No such file or directory
!!! dodoc: /var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/manual.html does not exist
install: cannot stat `/var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/doxygen/latex/refman.pdf': No such file or directory
!!! dodoc: /var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build/doxygen/latex/refman.pdf does not exist
 * ERROR: media-gfx/graphite2-0.9.4-r1 failed (install phase):
 *   dodoc failed
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-28 10:22:49 UTC
The typo in src_compile should be fixed.

Please resync your tree and try again.
Comment 2 Chris Mayo 2011-07-28 18:59:56 UTC
Still fails but differently now:

>>> Working in BUILD_DIR: "/var/tmp/portage/media-gfx/graphite2-0.9.4-r1/work/graphite2-0.9.4_build"
make -j5 docs 
Scanning dependencies of target docs
[  0%] [  0%] Generating manual.html
Generating doxygen/latex/refman.pdf
warning: tag INPUT: input source `../../include' does not exist
warning: source ../../include is not a readable file or directory... skipping.
make[4]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 2009)
entering extended mode
(./refman.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(/usr/share/texmf-dist/tex/latex/base/book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf-dist/tex/latex/base/bk10.clo))
(/usr/share/texmf-dist/tex/latex/base/makeidx.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-dist/tex/latex/pdftex-def/pdftex.def)))
(/usr/share/texmf-dist/tex/latex/tools/multicol.sty)
(/usr/share/texmf-dist/tex/latex/float/float.sty)
(/usr/share/texmf-dist/tex/latex/listings/listings.sty
(/usr/share/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/share/texmf-dist/tex/latex/listings/listings.cfg))
(/usr/share/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texmf/tex/latex/config/color.cfg))
(/usr/share/texmf-dist/tex/latex/base/ifthen.sty)

! LaTeX Error: File `xcolor.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.10 \usepackage
                {textcomp}^^M
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on refman.log.
make[4]: *** [refman.pdf] Error 1
make[3]: *** [doc/doxygen/latex/refman.pdf] Error 2
make[3]: *** Waiting for unfinished jobs....
a2x: WARNING: missing resource: docbook-xsl.css
a2x: WARNING: missing resource: images/icons/callouts/1.png
a2x: WARNING: missing resource: images/icons/callouts/2.png
a2x: WARNING: missing resource: images/icons/callouts/3.png
a2x: WARNING: missing resource: images/icons/callouts/4.png
a2x: WARNING: missing resource: images/icons/callouts/5.png
a2x: WARNING: missing resource: images/icons/callouts/6.png
a2x: WARNING: missing resource: images/icons/callouts/7.png
a2x: WARNING: missing resource: images/icons/callouts/8.png
a2x: WARNING: missing resource: images/icons/callouts/9.png
make[2]: *** [doc/CMakeFiles/docs.dir/all] Error 2
make[1]: *** [doc/CMakeFiles/docs.dir/rule] Error 2
make: *** [docs] Error 2
 * ERROR: media-gfx/graphite2-0.9.4-r1 failed (compile phase):
 *   emake failed
Comment 3 Matt Turner gentoo-dev 2011-07-28 19:19:27 UTC
Bug 292630#c5 seems to say that a dependency on xcolor might be needed.
Comment 4 Chris Mayo 2011-07-28 19:22:27 UTC
Created attachment 281329 [details, diff]
Patch to ebuild to make docs

Few more things needed for me in the ebuild:
- dependency on dev-tex/xcolor for xcolor.sty
- although docs are built with -j5 there are some complaints:

 * QA Notice: make jobserver unavailable:
 * 
 * 	make[4]: warning: jobserver unavailable: using -j1.  Add `+' to parent m
- docs are built in a doc subdirectory
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-28 19:27:44 UTC
Ok i just disabled the docs. Seriously you can find the info on the webpage anyway, so it ain't worth the fuzz :)