Created attachment 684990 [details] emerge --info '=x11-wm/i3-4.19-r1::gentoo' Prefix installation fails with the following QA Notice: * QA Notice: the following files are outside of the prefix: * /usr * /usr/share * /usr/share/doc * /usr/share/doc/i3-4.19-r1 * /usr/share/doc/i3-4.19-r1/hacking-howto.html * /usr/share/doc/i3-4.19-r1/userguide.html * /usr/share/doc/i3-4.19-r1/ipc.html * /usr/share/doc/i3-4.19-r1/multi-monitor.html * /usr/share/doc/i3-4.19-r1/wsbar.html * /usr/share/doc/i3-4.19-r1/testsuite.html * /usr/share/doc/i3-4.19-r1/i3bar-protocol.html * /usr/share/doc/i3-4.19-r1/layout-saving.html * /usr/share/doc/i3-4.19-r1/debugging.html * /usr/share/doc/i3-4.19-r1/bigpicture.png * /usr/share/doc/i3-4.19-r1/single_terminal.png * /usr/share/doc/i3-4.19-r1/snapping.png * /usr/share/doc/i3-4.19-r1/two_columns.png * /usr/share/doc/i3-4.19-r1/two_terminals.png * /usr/share/doc/i3-4.19-r1/modes.png * /usr/share/doc/i3-4.19-r1/wsbar.png * /usr/share/doc/i3-4.19-r1/keyboard-layer1.png * /usr/share/doc/i3-4.19-r1/keyboard-layer2.png * /usr/share/doc/i3-4.19-r1/i3-sync-working.png * /usr/share/doc/i3-4.19-r1/i3-sync.png * /usr/share/doc/i3-4.19-r1/tree-layout1.png * /usr/share/doc/i3-4.19-r1/tree-layout2.png * /usr/share/doc/i3-4.19-r1/tree-shot1.png * /usr/share/doc/i3-4.19-r1/tree-shot2.png * /usr/share/doc/i3-4.19-r1/tree-shot3.png * /usr/share/doc/i3-4.19-r1/tree-shot4.png * /usr/share/doc/i3-4.19-r1/refcard.html * /usr/share/doc/i3-4.19-r1/refcard_style.css * /usr/share/doc/i3-4.19-r1/logo-30.png * /usr/share/doc/i3-4.19-r1/layout-saving-1.png * ERROR: x11-wm/i3-4.19-r1::gentoo failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 596: Called install_qa_check * misc-functions.sh, line 132: 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"
Created attachment 684993 [details] The complete build log
Created attachment 684996 [details, diff] This ebuild patch should work for both prefix and non-prefix systems.
We can’t use EROOT in src_* (see PMS), does EPREFIX work?
(In reply to Sam James from comment #3) > We can’t use EROOT in src_* (see PMS), does EPREFIX work? Yep. `-Ddocdir="${EPREFIX%/}/usr/share/doc/${PF}"` works on my prefix. Thanks for pointing that out.
Created attachment 685011 [details, diff] updated patch that fixes i3 build under prefix
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b48e78f972aa6cf522c8aaf99f4cf4d85adce28 commit 1b48e78f972aa6cf522c8aaf99f4cf4d85adce28 Author: Nelo-T. Wallus <nelo@wallus.de> AuthorDate: 2021-01-29 06:57:51 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-01-29 08:06:59 +0000 x11-wm/i3: Install with EPREFIX Closes: https://bugs.gentoo.org/767790 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Nelo-T. Wallus <nelo@wallus.de> Closes: https://github.com/gentoo/gentoo/pull/19249 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> x11-wm/i3/i3-4.19-r1.ebuild | 4 ++-- x11-wm/i3/i3-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)