commit:     6abc458483815a705f8c75cdccb0bf01755d2a13
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  4 08:14:40 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 08:16:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abc4584

sys-devel/prelink: disable sandbox in src_test()

prelink tests check exact library lists.
LD_PRELOADed libraries break the assumption.

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 sys-devel/prelink/prelink-99999999.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/sys-devel/prelink/prelink-99999999.ebuild 
b/sys-devel/prelink/prelink-99999999.ebuild
index 4088e323d9b..705ff619963 100644
--- a/sys-devel/prelink/prelink-99999999.ebuild
+++ b/sys-devel/prelink/prelink-99999999.ebuild
@@ -41,6 +41,12 @@ src_configure() {
        econf $(use_enable selinux)
 }
 
+src_test() {
+       # prelink tests check exact library lists.
+       # LD_PRELOADed libraries break the assumption.
+       SANDBOX_ON=0 LD_PRELOAD= emake check VERBOSE=1
+}
+
 src_install() {
        default
 

Reply via email to