Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767808 - dev-libs/libtomcrypt Aborting due to QA concerns: double prefix files installed
Summary: dev-libs/libtomcrypt Aborting due to QA concerns: double prefix files installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-29 06:44 UTC by i
Modified: 2021-01-30 05:24 UTC (History)
0 users

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


Attachments
emerge --info '=dev-libs/libtomcrypt-1.18.2-r2::gentoo' (file_767808.txt,4.67 KB, text/plain)
2021-01-29 06:44 UTC, i
Details
The complete build log (build.log.gz,22.01 KB, application/gzip)
2021-01-29 06:46 UTC, i
Details
A temporary patch that made the build succeed (file_767808.txt,626 bytes, patch)
2021-01-29 06:57 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-29 06:44:23 UTC
Created attachment 685014 [details]
emerge --info '=dev-libs/libtomcrypt-1.18.2-r2::gentoo'

Prefix installation fails with the following QA Notice:

 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/ double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_argchk.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_cfg.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_cipher.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_custom.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_hash.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_mac.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_macros.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_math.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_misc.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_pk.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_pkcs.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/include/tomcrypt_prng.h double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/share double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/share/doc double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/share/doc/libtomcrypt-1.18.2-r2 double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/share/doc/libtomcrypt-1.18.2-r2/crypt.pdf double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64 double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64/libtomcrypt.so.1.0.1 double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64/libtomcrypt.so.1 double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64/libtomcrypt.so double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64/pkgconfig double prefix
 * QA Notice: /home/hexhu/gentoo//home/hexhu/gentoo/usr/lib64/pkgconfig/libtomcrypt.pc double prefix
 * ERROR: dev-libs/libtomcrypt-1.18.2-r2::gentoo failed:
 *   Aborting due to QA concerns: double prefix files installed
 *
 * 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  19:  Called die
 * The specific snippet of code:
 *              die "Aborting due to QA concerns: double prefix files installed"
Comment 1 i 2021-01-29 06:46:21 UTC
Created attachment 685017 [details]
The complete build log
Comment 2 i 2021-01-29 06:57:04 UTC
Created attachment 685020 [details, diff]
A temporary patch that made the build succeed

What this patch does (simply deleting the prepended ${ESYSROOT} and ${EPREFIX}) seems not very correct to me, because it defeats the purpose of these two env var (but it works).

I am new to gentoo and don't know enough about ebuild to be sure about this patch, so any comment is highly welcome.
Comment 3 Larry the Git Cow gentoo-dev 2021-01-30 05:24:46 UTC
The bug has been closed via the following commit(s):

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

commit c3e8968dfd00ab2f6666835dc88a458c5ea1168e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-01-30 05:22:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-30 05:24:34 +0000

    dev-libs/libtomcrypt: fix Prefix install
    
    Closes: https://bugs.gentoo.org/767808
    Package-Manager: Portage-3.0.14-prefix, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libtomcrypt/libtomcrypt-1.18.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)