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)
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(+)