Created attachment 448962 [details] emerge --info Hi! I'm trying to install portage with doc use flag in prefixed (non-root) env, which works fine except at the QA error at the very end: $ emerge -v portage * IMPORTANT: 12 news items need reading for repository 'gentoo'. * Use eselect news read to view new items. These are the packages that would be merged, in order: Calculating dependencies .... done! [ebuild R ] sys-apps/portage-2.3.1::gentoo USE="doc* (ipc) -build -epydoc (-selinux) -xattr" LINGUAS="-ru" PYTHON_TARGETS="python2_7 python3_5 -pypy (-python3_3) -python3_4" 0 KiB [...] >>> Completed installing portage-2.3.1 into /home/evidgbo/usr/roots/gentoo/var/tmp/portage/sys-apps/portage-2.3.1/image/ * Final size of build directory: 18948 KiB * Final size of installed tree: 33564 KiB * QA Notice: the following files are outside of the prefix: * /usr * /usr/share * /usr/share/doc * /usr/share/doc/portage-2.3.1 * /usr/share/doc/portage-2.3.1/html [...mentioning a log of html files like:] * /usr/share/doc/portage-2.3.1/html/ch05s04.html [...] * ERROR: sys-apps/portage-2.3.1::gentoo failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 603: Called install_qa_check * misc-functions.sh, line 217: Called source 'install_symlink_html_docs' * 05prefix, line 114: Called install_qa_check_prefix * 05prefix, line 27: Called die * The specific snippet of code: * die "Aborting due to QA concerns: there are files installed outside the prefix" My prefix is /home/evidgbo/usr/roots/gentoo. There could a bug in setup.py.
Created attachment 448966 [details] build.log
*** This bug has been marked as a duplicate of bug 638046 ***
The --htmldir argument from bug 638046 includes ${EPREFIX}: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56e082cc2c2960031a34bb45c801ad23465bab8