Summary: | media-libs/libexif-0.6.13-r1 does not respect USE=-doc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dustin Polke <DuPol> |
Component: | [OLD] Library | Assignee: | Jeremy Huddleston (RETIRED) <eradicator> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, askwar, mail, yogaishrs |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
Requested log from emerge |
Description
Dustin Polke
2006-10-05 02:38:07 UTC
Pls use equery u libexif to find out explaination of doc flag. #equery u libexif [ Searching for packages matching libexif... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/libexif-0.6.13-r1 ] U I - - doc : Adds extra documentation (API, Javadoc, etc) + + nls : Adds Native Language Support (using gettext - GNU locale utilities) Doc flag is used for extra documentation. If we enable doc flag, then it brings lots of other packages. USE=doc emerge -av =media-libs/libexif-0.6.13-r1 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-gfx/graphviz-1.16-r1 -tcltk 4,284 kB [ebuild N ] media-fonts/gnu-gs-fonts-std-8.11 3,664 kB [ebuild N ] app-text/poppler-0.5.1-r1 +jpeg 972 kB [ebuild N ] net-print/cups-1.1.23-r7 -gnutls +nls +pam -samba -slp +ssl 8,501 kB [ebuild N ] app-text/ghostscript-esp-8.15.1_p20060430 -X -cjk +cups -emacs -gtk +threads +xml 8,324 kB [ebuild N ] virtual/ghostscript-0 0 kB [ebuild N ] app-doc/doxygen-1.4.4 +doc -qt -tetex +unicode 2,801 kB [ebuild R ] media-libs/libexif-0.6.13-r1 +doc* +nls 0 kB so by using -doc flag it only installs basic documentation of libexif. No idea where did you get those, not reproducable at all. MAKEOPTS="-j1" emerge -1 =media-libs/libexif-0.6.13-r1 &> log and attach it here. # equery f media-libs/libexif | grep doc /usr/share/doc /usr/share/doc/libexif /usr/share/doc/libexif-0.6.13-r1 /usr/share/doc/libexif-0.6.13-r1/ChangeLog.gz /usr/share/doc/libexif-0.6.13-r1/README.gz /usr/share/doc/libexif/ABOUT-NLS /usr/share/doc/libexif/AUTHORS /usr/share/doc/libexif/COPYING /usr/share/doc/libexif/ChangeLog /usr/share/doc/libexif/NEWS /usr/share/doc/libexif/README /usr/share/doc/libexif/README.apidocs [ebuild R ] media-libs/libexif-0.6.13-r1 USE="-doc nls" 0 kB (In reply to comment #1) > Pls use equery u libexif to find out explaination of doc flag. > #equery u libexif > [ Searching for packages matching libexif... ] > [ Colour Code : set unset ] > [ Legend : Left column (U) - USE flags from make.conf > ] > [ : Right column (I) - USE flags packages was installed with ] > [ Found these USE variables for media-libs/libexif-0.6.13-r1 ] > U I > - - doc : Adds extra documentation (API, Javadoc, etc) > + + nls : Adds Native Language Support (using gettext - GNU locale utilities) > > Doc flag is used for extra documentation. That's right. And you can see above that API docs are installed though USE=-doc > If we enable doc flag, then it brings lots of other packages. > USE=doc emerge -av =media-libs/libexif-0.6.13-r1 Right. Because we need doxygen to build docs. I will test like Jacub proposed in comment #2. I built with MAKEOPT=-j3. Maybe this does the trick though I doubt it. Will attach my emerge -info as well. Thought this is not needed, but maybe there is a clue. Created attachment 98830 [details]
emerge --info
Okay. Problem is reproducable (for me at least). I attach requested log and reopen the bug. Created attachment 98836 [details]
Requested log from emerge
Here is output from equery as well: solaris ~ # equery uses libexif [ Searching for packages matching libexif... ] [ Colour Code : set unset ] [ Legend : Left column (U) - USE flags from make.conf ] [ : Right column (I) - USE flags packages was installed with ] [ Found these USE variables for media-libs/libexif-0.6.13-r1 ] U I - - doc : Adds extra documentation (API, Javadoc, etc) + + nls : Adds Native Language Support (using gettext - GNU locale utilities) Hmmm, looks like $(use_enable doc) is ignored when doxygen is installed... Also, this is a wrong location: <snip> /usr/share/doc/libexif/AUTHORS /usr/share/doc/libexif/COPYING /usr/share/doc/libexif/ChangeLog /usr/share/doc/libexif/NEWS /usr/share/doc/libexif/README /usr/share/doc/libexif/README.apidocs </snip> I cannot compile libexif-0.6.13-r1. It fails after Generating page index... echo > doxygen-output.stamp make[2]: Leaving directory `/0b/Gentoo/portage/tmp/portage/media-libs/libexif-0.6.13-r1/work/libexif-0.6.13/doc' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/0b/Gentoo/portage/tmp/portage/media-libs/libexif-0.6.13-r1/work/libexif-0.6.13' make: *** [all] Error 2 Please see bug #154641. I wonder if bug #154641 is a dupe of this bug. Changing: econf $(use_enable nls) $(use_enable doc) || die to: econf $(use_enable nls) --with-doc-dir="/usr/share/doc/${PF}" || die at least gets the docs installed in the right place. There are patches suggested to build without doxygen at: https://sourceforge.net/mailarchive/forum.php?thread_id=30775179&forum_id=8715 https://sourceforge.net/tracker/index.php?func=detail&aid=1443183&group_id=12272&atid=112272 *** Bug 154641 has been marked as a duplicate of this bug. *** Fixed - see bug #160973 for more info. |