Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449434 - dev-vcs/mercurial-9999: installation fails with 'dodoc: PKG-INFO does not exist'
Summary: dev-vcs/mercurial-9999: installation fails with 'dodoc: PKG-INFO does not exist'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-31 11:41 UTC by Nikolaj Šujskij
Modified: 2013-01-02 14:22 UTC (History)
2 users (show)

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


Attachments
Full dev-vcs/mercurial-9999 build.log (build.log,113.82 KB, text/plain)
2012-12-31 11:41 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2012-12-31 11:41:06 UTC
Created attachment 333846 [details]
Full dev-vcs/mercurial-9999 build.log

% emerge -pqv '=dev-vcs/mercurial-9999'
[ebuild   R   ] dev-vcs/mercurial-9999  USE="zsh-completion -bugzilla -doc% -emacs -gpg {-test} -tk"

 ...
 * Generating '/usr/bin/hg' wrapper script
 * Converting shebang in 'contrib/hg-ssh'
!!! dodoc: PKG-INFO does not exist
dodoc failed
 * ERROR: dev-vcs/mercurial-9999 failed (install phase):
 *   (no error message)

I tried to experiment with dropping PKG-INFO from ebuild, but dodoc fails with other errors then. ANyway, I don't think mercurial needs IUSE=doc":
 1. Mercurial's `doc` make target compiles *user* documentation like manpages, which everyone needs
 2. Released versions have those docs compiled, thus re-building them is unneeded
 3. "Mercurial from mercurial" needs user docs anyway (see 1), so documentation should de built unconditionally.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2013-01-02 08:35:42 UTC
Fixed in mercurial-2.4.1-r2, 2.4.2 and -9999. Thanks for the analysis.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2013-01-02 14:22:29 UTC
PKG-INFO is some distutils metadata, not any documentation.
dodoc should never be used to install PKG-INFO, so the following change should be applied in non-9999 ebuilds:
-       dodoc CONTRIBUTORS PKG-INFO README doc/*.txt || die
+       dodoc CONTRIBUTORS README doc/*.txt || die