For bug 667280, there's a desire to exempt qt packages for this eqawarn message:
> QA: other
> The ebuild is installing to one or more unexpected paths:
> Please fix the ebuild to use correct FHS/Gentoo policy paths.
We can solve this by introducing a new QA_INSTALL_PATHS ebuild variable, and corresponding QA_STRICT_INSTALL_PATHS make.conf variable. Here are some man page changes for the new variables:
diff --git a/man/ebuild.5 b/man/ebuild.5
index 9f491dd73..65c7fc753 100644
@@ -793,0 +794,7 @@ CFLAGS, CXXFLAGS, FFLAGS, FCFLAGS, and LDFLAGS variables.
+This should contain a list of file paths, relative to the image directory, of
+files that are exempt from QA notices regarding ebuilds that install files
+to unusual locations.
+The paths may contain regular expressions with escape\-quoted special
diff --git a/man/make.conf.5 b/man/make.conf.5
index a33929143..d97d83767 100644
@@ -1062,0 +1063,4 @@ settings from ebuilds. See also \fBebuild\fR(5).
+\fBQA_STRICT_INSTALL_PATHS = \fI"set"\fR
+Set this to cause portage to ignore any \fIQA_INSTALL_PATHS\fR override
+settings from ebuilds. See also \fBebuild\fR(5).
Patch posted for review:
The bug has been closed via the following commit(s):
Author: Zac Medico <firstname.lastname@example.org>
AuthorDate: 2018-10-06 01:11:02 +0000
Commit: Zac Medico <email@example.com>
CommitDate: 2018-10-06 01:14:14 +0000
Revert "install-qa-checks.d: Add a check for Gentoo path policies (FHS-y)"
This reverts commit d5f97eaa464736a454c8ad410f4acd4fccdf2324.
Until this QA check has adjustable whitelist support, we can consider
it an unstable work in progress. Therefore, I'd like for the QA team
to move it gentoo/metadata/install-qa-check.d/08gentoo-paths until
it has matured. It's safe to commit it to the gentoo repository now,
and it will become active when portage's internal copy is removed.
Signed-off-by: Zac Medico <firstname.lastname@example.org>
bin/install-qa-check.d/08gentoo-paths | 77 -----------------------------------
1 file changed, 77 deletions(-)