Although USE=-doc, documentation is created and installed during emerge of media-libs/libexif-0.6.13-r1 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] media-libs/libexif-0.6.13-r1 [0.6.12-r4] USE="nls -doc%" 0 kB >>> Merging media-libs/libexif-0.6.13-r1 to / --- /usr/ --- /usr/lib/ --- /usr/lib/pkgconfig/ >>> /usr/lib/pkgconfig/libexif.pc >>> /usr/lib/libexif.so.10.2.1 >>> /usr/lib/libexif.so.10 -> libexif.so.10.2.1 >>> /usr/lib/libexif.so -> libexif.so.10.2.1 >>> /usr/lib/libexif.la >>> /usr/lib/libexif.a --- /usr/include/ --- /usr/include/libexif/ >>> /usr/include/libexif/exif-byte-order.h >>> /usr/include/libexif/exif-content.h >>> /usr/include/libexif/exif-data.h >>> /usr/include/libexif/exif-data-type.h >>> /usr/include/libexif/exif-entry.h >>> /usr/include/libexif/exif-format.h >>> /usr/include/libexif/exif-ifd.h >>> /usr/include/libexif/exif-loader.h >>> /usr/include/libexif/exif-log.h >>> /usr/include/libexif/exif-mem.h >>> /usr/include/libexif/exif-mnote-data.h >>> /usr/include/libexif/exif-tag.h >>> /usr/include/libexif/exif-utils.h >>> /usr/include/libexif/_stdint.h --- /usr/share/ --- /usr/share/locale/ --- /usr/share/locale/de/ --- /usr/share/locale/de/LC_MESSAGES/ >>> /usr/share/locale/de/LC_MESSAGES/libexif-12.mo --- /usr/share/doc/ >>> /usr/share/doc/libexif/ >>> /usr/share/doc/libexif/api.html/ >>> /usr/share/doc/libexif/api.html/dir_e6a0b1d687481dff46bf641ce8126cb0_dep.map >>> /usr/share/doc/libexif/api.html/dir_e6a0b1d687481dff46bf641ce8126cb0_dep.png >>> /usr/share/doc/libexif/api.html/dir_e6a0b1d687481dff46bf641ce8126cb0.html [...] >>> /usr/share/doc/libexif/ABOUT-NLS >>> /usr/share/doc/libexif/COPYING >>> /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 >>> Regenerating /etc/ld.so.cache... >>> media-libs/libexif-0.6.13-r1 merged.
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.