summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/ltrace/ltrace-0.7.3.6.1.ebuild4
-rw-r--r--dev-util/ltrace/ltrace-0.7.3_p4-r1.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
index 9fd7b01b8545..9bb71a617185 100644
--- a/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
+++ b/dev-util/ltrace/ltrace-0.7.3.6.1.ebuild
@@ -71,6 +71,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
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