Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 758833

Summary: sys-power/cpupower-5.4: Files outside aborting due to QA concerns: files outside prefix (android)
Product: Gentoo Linux Reporter: John Doe <kitterhuff>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal CC: arm64, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Doe 2020-12-06 19:23:06 UTC
Attempting to install sys-power/cpupower-5.4 in a gentoo prefix outputs an error due to QA concerns

Reproducible: Always

Steps to Reproduce:
1.Try to install cpupower on a gentoo prefix
2.It will fail


Actual Results:  
The following error gets shown:
 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/bash-completion
 * /usr/share/bash-completion/completions
 * /usr/share/bash-completion/completions/cpupower
 * ERROR: sys-power/cpupower-5.4::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"
 * 
 * If you need support, post the output of `emerge --info '=sys-power/cpupower-5.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-power/cpupower-5.4::gentoo'`.
 * The complete build log is located at '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/temp/build.log'.
 * The ebuild environment file is located at '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/temp/environment'.
 * Working directory: '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/image/data/gentoo64'
 * S: '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4'

 * Messages for package sys-power/cpupower-5.4:

 * ERROR: sys-power/cpupower-5.4::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"
 * 
 * If you need support, post the output of `emerge --info '=sys-power/cpupower-5.4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-power/cpupower-5.4::gentoo'`.
 * The complete build log is located at '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/temp/build.log'.
 * The ebuild environment file is located at '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/temp/environment'.
 * Working directory: '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/image/data/gentoo64'
 * S: '/data/gentoo64/var/tmp/portage/sys-power/cpupower-5.4/work/linux-5.4'

Expected Results:  
A working install of cpupower

I think no further information should be added, as it is clear, cpupower attempts to install files outside the prefix (/data/gentoo64)
Comment 1 Larry the Git Cow gentoo-dev 2020-12-06 20:48:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afe749760b3f212d888bb522d88ccc4a42553688

commit afe749760b3f212d888bb522d88ccc4a42553688
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-12-06 20:47:49 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-12-06 20:47:49 +0000

    sys-power/cpupower: install bash completions under EPREFIX
    
    Closes: https://bugs.gentoo.org/758833
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-power/cpupower/cpupower-5.4.ebuild | 1 +
 1 file changed, 1 insertion(+)