summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild')
-rw-r--r--dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
index beb325aa49c3..3b6aafcb34d6 100644
--- a/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild
@@ -70,6 +70,10 @@ src_configure() {
}
src_test() {
+ # On kernels with Yama enabled this will not run, even without sandbox,
+ # unless /proc/sys/kernel/yama/ptrace_scope == 0. Just don't bother.
+ # Note: we only delete it here in order to avoid Makefile.am patching.
+ rm -f testsuite/ltrace.minor/attach-process.exp
# sandbox redirects vfork() to fork(): bug # 774054
# Let's avoid sandbox entirely.
SANDBOX_ON=0 LD_PRELOAD= emake check