[OE-core] [PATCH 26/42] strace: Remove pipe.expected

Khem Raj raj.khem at gmail.com
Wed May 11 17:35:29 UTC 2016


file utility on some OSes e.g. archlinux'like
which use file 5.26 can not recognise a file
in strace testsuite e.g.

file ./strace-4.11/tests/pipe.expected
./strace-4.11/tests/pipe.expected: ERROR: EOF computing DER offset

This ends up in QA errors
ERROR: strace-4.11-r0 do_populate_sysroot: split_and_strip_files: 'file /a/build/tmp-glibc/work/cortexa7hf-neon-vfpv4-oe-linux-gnueabi/strace/4.11-r0/sysroot-destdir/usr/lib/strace/ptest/tests/pipe.expected' failed

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-devtools/strace/strace_4.11.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/strace/strace_4.11.bb b/meta/recipes-devtools/strace/strace_4.11.bb
index 7391388..a787df2 100644
--- a/meta/recipes-devtools/strace/strace_4.11.bb
+++ b/meta/recipes-devtools/strace/strace_4.11.bb
@@ -46,6 +46,7 @@ do_compile_ptest() {
 do_install_ptest() {
 	oe_runmake -C ${TESTDIR} install-ptest BUILDDIR=${B} DESTDIR=${D}${PTEST_PATH} TESTDIR=${TESTDIR}
 	sed -i -e '/^src/s/strace.*[1-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile
+	rm -rf ${D}${libdir}/strace/ptest/tests/pipe.expected
 }
 
 BBCLASSEXTEND = "native"
-- 
2.8.2




More information about the Openembedded-core mailing list