/usr/share/doc/google-perftools-2.5/index.html /usr/share/doc/google-perftools-2.5/designstyle.css .... /usr/share/doc/google-perftools-2.5/html/doc/index.html /usr/share/doc/google-perftools-2.5/html/doc/designstyle.css ... google-perftools installs html (the contents of its doc subdirectory) in $docdir ebuild sets HTML_DOCS="doc" (and --htmldir which doesn't do anything) A workaround is: --- google-perftools-2.5.ebuild.orig +++ google-perftools-2.5.ebuild @@ -48,7 +48,7 @@ append-flags -fno-strict-aliasing -fno-omit-frame-pointer local myeconfargs=( - --htmldir=/usr/share/doc/${PF}/html + --docdir=/usr/share/doc/DUPLICATE_HTML $(use_enable debug debugalloc) ) @@ -77,3 +77,7 @@ multilib_check_headers() { : } + +pkg_preinst() { + rm -r "${D}"/usr/share/doc/DUPLICATE_HTML +}
Also HTML_DOCS="doc" creates an extra doc subdirectory: /usr/share/doc/google-perftools-2.5/html/doc/index.html Suggest HTML_DOCS="doc/*"
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fc27cfeeb7b0431db4da300e2b81dfeec90fc0c commit 0fc27cfeeb7b0431db4da300e2b81dfeec90fc0c Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2018-10-14 09:43:56 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2018-10-14 10:18:09 +0000 dev-util/google-perftools: Bump to 2.7 Closes: https://bugs.gentoo.org/586834 Closes: https://bugs.gentoo.org/662590 Signed-off-by: Pacho Ramos <pacho@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-util/google-perftools/Manifest | 1 + .../google-perftools/google-perftools-2.7.ebuild | 88 ++++++++++++++++++++++ 2 files changed, 89 insertions(+)