From 9b48842834d6ab3939237affe5b19facc72031be Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Fri, 5 Oct 2018 19:24:01 +0800 Subject: strace: fix ptests * Let automake use parallel test harness which ensures that appropriate environment variables are actually used. * Copy generated config.h as part of ptest package and define a variable in tests Makefile to control the name of target that we'd like to invoke for tests instead of relying on default value. * configure relies on tools that are not available in release tarballs resulting in warnings and failed tests. Get the required information from available files instead. * Reduces the count of failing tests to 18 from 35. The rest of tests fail or get skipped mostly because of missing syscalls. Number of tests getting skipped can probably be reduced further. Fixes [YOCTO #12948] (From OE-Core rev: dcd674181f31a12c100f91cf6a1c3f3d52b775a2) Signed-off-by: Anuj Mittal Signed-off-by: Richard Purdie --- .../strace/strace/disable-git-version-gen.patch | 31 +++++++++++++++++----- 1 file changed, 24 insertions(+), 7 deletions(-) (limited to 'meta/recipes-devtools/strace/strace/disable-git-version-gen.patch') diff --git a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch index 47b1139c53..9e5ec11097 100644 --- a/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch +++ b/meta/recipes-devtools/strace/strace/disable-git-version-gen.patch @@ -1,15 +1,25 @@ -The git-version-gen script is not included in tarball releases, -so we need to avoid attempts to call it when running autoreconf. +From bee0680754730498485e24dd037303318c68916c Mon Sep 17 00:00:00 2001 +From: Andre McCurdy +Date: Mon, 18 Jan 2016 13:33:50 -0800 +Subject: [PATCH] strace: remove need for scripts + +git-version-gen copyright-year-gen file-date-gen are not included in +tarball releases, so we need to avoid attempts to call them. Upstream-Status: Inappropriate [configuration] Signed-off-by: Andre McCurdy +Signed-off-by: Anuj Mittal + +--- + configure.ac | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) -Index: strace-4.22/configure.ac -=================================================================== ---- strace-4.22.orig/configure.ac -+++ strace-4.22/configure.ac -@@ -32,7 +32,7 @@ +diff --git a/configure.ac b/configure.ac +index ad1d00f..96fa205 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -32,12 +32,12 @@ AC_PREREQ(2.57) AC_INIT([strace], @@ -18,3 +28,10 @@ Index: strace-4.22/configure.ac [strace-devel@lists.strace.io], [strace], [https://strace.io]) +-m4_define([copyright_year], m4_esyscmd([./copyright-year-gen .year])) +-m4_define([manpage_date], m4_esyscmd([./file-date-gen strace.1.in])) ++m4_define([copyright_year], m4_esyscmd_s([cat .year])) ++m4_define([manpage_date], m4_esyscmd_s([cat .strace.1.in.date])) + AC_COPYRIGHT([Copyright (c) 1999-]copyright_year[ The strace developers.]) + AC_CONFIG_SRCDIR([strace.c]) + AC_CONFIG_AUX_DIR([.]) -- cgit v1.2.3-54-g00ecf