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!=/
Created attachment 777986 [details, diff] proposed patch to ebuild
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(+)
Thanks!