Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767790 - x11-wm/i3 Aborting due to QA concerns: there are files installed outside the prefix (/usr/share/doc/...)
Summary: x11-wm/i3 Aborting due to QA concerns: there are files installed outside the ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nelo-T. Wallus (ntnn)
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-28 23:16 UTC by i
Modified: 2021-01-29 08:07 UTC (History)
1 user (show)

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


Attachments
emerge --info '=x11-wm/i3-4.19-r1::gentoo' (file_767790.txt,4.67 KB, text/plain)
2021-01-28 23:16 UTC, i
Details
The complete build log (build.log.gz,7.97 KB, application/gzip)
2021-01-28 23:17 UTC, i
Details
This ebuild patch should work for both prefix and non-prefix systems. (i3-4.19-r1.patch,339 bytes, patch)
2021-01-28 23:29 UTC, i
Details | Diff
updated patch that fixes i3 build under prefix (file_767790.txt,352 bytes, patch)
2021-01-29 06:14 UTC, i
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description i 2021-01-28 23:16:04 UTC
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"
Comment 1 i 2021-01-28 23:17:53 UTC
Created attachment 684993 [details]
The complete build log
Comment 2 i 2021-01-28 23:29:54 UTC
Created attachment 684996 [details, diff]
This ebuild patch should work for both prefix and non-prefix systems.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-28 23:46:06 UTC
We can’t use EROOT in src_* (see PMS), does EPREFIX work?
Comment 4 i 2021-01-29 02:10:42 UTC
(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.
Comment 5 i 2021-01-29 06:14:38 UTC
Created attachment 685011 [details, diff]
updated patch that fixes i3 build under prefix
Comment 6 Larry the Git Cow gentoo-dev 2021-01-29 08:07:01 UTC
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(-)