[OE-core] [PATCH 2/3] strace: Fix host contamination QA errors

Khem Raj raj.khem at gmail.com
Sun Mar 1 01:43:00 UTC 2020


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 .../strace/0001-Evaluate-AC_PROG_LN_S.patch   | 29 +++++++++++++++++++
 meta/recipes-devtools/strace/strace_5.5.bb    |  1 +
 2 files changed, 30 insertions(+)
 create mode 100644 meta/recipes-devtools/strace/strace/0001-Evaluate-AC_PROG_LN_S.patch

diff --git a/meta/recipes-devtools/strace/strace/0001-Evaluate-AC_PROG_LN_S.patch b/meta/recipes-devtools/strace/strace/0001-Evaluate-AC_PROG_LN_S.patch
new file mode 100644
index 0000000000..c956256bed
--- /dev/null
+++ b/meta/recipes-devtools/strace/strace/0001-Evaluate-AC_PROG_LN_S.patch
@@ -0,0 +1,29 @@
+From 49e58e2d8ada869ebc75ab6e17c80e20e00ee625 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem at gmail.com>
+Date: Sat, 29 Feb 2020 13:21:08 -0800
+Subject: [PATCH] Evaluate AC_PROG_LN_S
+
+Fixes
+strace: /usr/lib/strace/ptest/tests/ioctl_evdev-success-Xverbose.gen.test is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination
+
+Upstream-Status: Pending
+Signed-off-by: Khem Raj <raj.khem at gmail.com>
+---
+ configure.ac | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/configure.ac b/configure.ac
+index 65f000b..c4cbf55 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -25,6 +25,7 @@ AC_CONFIG_HEADERS([config.h])
+ AM_INIT_AUTOMAKE([foreign nostdinc dist-xz silent-rules parallel-tests subdir-objects 1.13])
+ AM_MAINTAINER_MODE
+ AC_CANONICAL_HOST
++AC_PROG_LN_S
+ 
+ RPM_CHANGELOGTIME="$(LC_TIME=C date -u '+%a %b %d %Y')"
+ AC_SUBST(RPM_CHANGELOGTIME)
+-- 
+2.25.1
+
diff --git a/meta/recipes-devtools/strace/strace_5.5.bb b/meta/recipes-devtools/strace/strace_5.5.bb
index 6e7d63949d..f3b7c4462e 100644
--- a/meta/recipes-devtools/strace/strace_5.5.bb
+++ b/meta/recipes-devtools/strace/strace_5.5.bb
@@ -13,6 +13,7 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
            file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
            file://ptest-spacesave.patch \
            file://uintptr_t.patch \
+           file://0001-Evaluate-AC_PROG_LN_S.patch \
            "
 SRC_URI[md5sum] = "dbce2e84632b39a4ed86b9fc60447af9"
 SRC_URI[sha256sum] = "9f58958c8e59ea62293d907d10572e352b582bd7948ed21aa28ebb47e5bf30ff"
-- 
2.25.1



More information about the Openembedded-core mailing list