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

Bug 665750

Summary: net-libs/mbedtls-2.12.0: Aborting due to QA concerns: there are files installed outside the prefix
Product: Gentoo/Alt Reporter: ply_xyz
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15168
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log

Description ply_xyz 2018-09-12 04:08:54 UTC
CentOS 7, kernel 4.18.7-1.el7.elrepo.x86_64
in gentoo prefix, when emerge, got error.


Reproducible: Always

Steps to Reproduce:
1.emerge mbedtls
2.no more
Actual Results:  
failed

Expected Results:  
finish

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/lib64
 * /usr/lib64/libmbedtls.so.11
 * /usr/lib64/libmbedtls.so
 * /usr/lib64/libmbedcrypto.so.2.12.0
 * /usr/lib64/libmbedx509.so.0
 * /usr/lib64/libmbedcrypto.so.3
 * /usr/lib64/libmbedx509.so.2.12.0
 * /usr/lib64/libmbedtls.so.2.12.0
 * /usr/lib64/libmbedcrypto.so
 * /usr/lib64/libmbedx509.so
 * ERROR: net-libs/mbedtls-2.12.0::gentoo failed:
 *   Aborting due to QA concerns: there are files installed outside the prefix
 * 
 * Call stack:
 *   misc-functions.sh, line 601:  Called install_qa_check
 *   misc-functions.sh, line 217:  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 '=net-libs/mbedtls-2.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/mbedtls-2.12.0::gentoo'`.
 * The complete build log is located at '/home/ply/gentoo/var/tmp/portage/net-libs/mbedtls-2.12.0/temp/build.log'.
 * The ebuild environment file is located at '/home/ply/gentoo/var/tmp/portage/net-libs/mbedtls-2.12.0/temp/environment'.
 * Working directory: '/home/ply/gentoo/var/tmp/portage/net-libs/mbedtls-2.12.0/image/home/ply/gentoo'
 * S: '/home/ply/gentoo/var/tmp/portage/net-libs/mbedtls-2.12.0/work/mbedtls-mbedtls-2.12.0'
!!! post install failed; exiting.
Comment 1 ply_xyz 2018-09-12 04:09:54 UTC
Created attachment 546684 [details]
build.log
Comment 2 Anthony Basile gentoo-dev 2018-09-30 12:28:39 UTC
(In reply to ply_xyz from comment #1)
> Created attachment 546684 [details]
> build.log

i'm sorry, but i'm not an expert on prefixes.  if you want to suggest a patch, but right now, i must move to stabilize 2.12.0.

i'm sure the same problem will persist with 2.13.0.  i recommend preparing a patch against that ebuild.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-06 20:37:51 UTC
The bug has been closed via the following commit(s):

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

commit 26de563ea2edffb28f8042c3abc5b537c9d420c6
Author:     Jeffrey Lin <jeffrey@icurse.nl>
AuthorDate: 2020-03-30 03:36:39 +0000
Commit:     Anthony G. Basile <blueness@gentoo.org>
CommitDate: 2020-06-06 20:37:36 +0000

    net-libs/mbedtls: respect EPREFIX
    
    Closes: https://bugs.gentoo.org/665750
    Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
    Signed-off-by: Anthony G. Basile <blueness@gentoo.org>

 net-libs/mbedtls/mbedtls-2.16.6.ebuild    | 2 +-
 net-libs/mbedtls/mbedtls-2.22.0-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)