Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 843632 - dev-libs/libtomcrypt: install files in sysroot
Summary: dev-libs/libtomcrypt: install files in sysroot
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: PATCH
Depends on:
Blocks:
 
Reported: 2022-05-10 20:53 UTC by François-Xavier Carton
Modified: 2022-05-11 01:21 UTC (History)
1 user (show)

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


Attachments
proposed patch to ebuild (tomcrypt.patch,544 bytes, patch)
2022-05-10 20:54 UTC, François-Xavier Carton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description François-Xavier Carton 2022-05-10 20:53:38 UTC
Libtomcrypt uses INCPATH and LIBPATH to define where to install include files and libraries. The current ebuilds sets the prefix for those to ${ESYSROOT} instead of ${EPREFIX}. Thus, installed files incorrectly have an offset to sysroot.

Reproducible: Always

Steps to Reproduce:
1. emerge libtomcrypt with SYSROOT!=/
Comment 1 François-Xavier Carton 2022-05-10 20:54:45 UTC
Created attachment 777986 [details, diff]
proposed patch to ebuild
Comment 2 Larry the Git Cow gentoo-dev 2022-05-11 01:20:17 UTC
The bug has been closed via the following commit(s):

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

commit 19f1abf39264849e318e821adf4c825acc7421f0
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-11 01:19:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-11 01:19:55 +0000

    dev-libs/libtomcrypt: fix EPREFIX usage
    
    Closes: https://bugs.gentoo.org/843632
    Thanks-to: François-Xavier Carton <fx.carton91@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libtomcrypt/libtomcrypt-1.18.2-r4.ebuild | 114 ++++++++++++++++++++++
 1 file changed, 114 insertions(+)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-11 01:21:49 UTC
Thanks!