diff options
Diffstat (limited to 'meta/recipes-devtools/strace')
-rw-r--r-- | meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch | 6 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch | 9 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch | 35 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/Makefile-ptest.patch | 12 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/ptest-spacesave.patch | 7 | ||||
-rwxr-xr-x | meta/recipes-devtools/strace/strace/run-ptest | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/skip-load.patch | 9 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace/update-gawk-paths.patch | 70 | ||||
-rw-r--r-- | meta/recipes-devtools/strace/strace_6.15.bb (renamed from meta/recipes-devtools/strace/strace_6.8.bb) | 18 |
9 files changed, 86 insertions, 82 deletions
diff --git a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch index 76ca7a76a8..86dcd97713 100644 --- a/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch +++ b/meta/recipes-devtools/strace/strace/0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 470399f3636c412b74f9daf6ae430b13c3126f02 Mon Sep 17 00:00:00 2001 | 1 | From ec543417b8e1df7c71dfc4728313849d9ab669a6 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 15 Dec 2022 15:54:27 -0800 | 3 | Date: Thu, 15 Dec 2022 15:54:27 -0800 |
4 | Subject: [PATCH] configure: Use autoconf macro to detect largefile support | 4 | Subject: [PATCH] configure: Use autoconf macro to detect largefile support |
@@ -13,10 +13,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
13 | 1 file changed, 2 insertions(+) | 13 | 1 file changed, 2 insertions(+) |
14 | 14 | ||
15 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
16 | index 4797b42dd..7d57fb254 100644 | 16 | index 36fff90..9e40ab5 100644 |
17 | --- a/configure.ac | 17 | --- a/configure.ac |
18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
19 | @@ -43,6 +43,8 @@ AC_PROG_INSTALL | 19 | @@ -42,6 +42,8 @@ AC_PROG_INSTALL |
20 | AC_PROG_RANLIB | 20 | AC_PROG_RANLIB |
21 | AC_PROG_LN_S | 21 | AC_PROG_LN_S |
22 | 22 | ||
diff --git a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch index c4c176e6bc..9cdb7c6134 100644 --- a/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch +++ b/meta/recipes-devtools/strace/strace/0001-strace-fix-reproducibilty-issues.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 6309792c49ca900cec6a7f1dc5b51bf75b629e11 Mon Sep 17 00:00:00 2001 | 1 | From d5f681c2de834110de260f4d071c7bc1fb0d7564 Mon Sep 17 00:00:00 2001 |
2 | From: Jeremy Puhlman <jpuhlman@mvista.com> | 2 | From: Jeremy Puhlman <jpuhlman@mvista.com> |
3 | Date: Wed, 11 Mar 2020 19:56:55 +0000 | 3 | Date: Wed, 11 Mar 2020 19:56:55 +0000 |
4 | Subject: [PATCH] strace: fix reproducibilty issues | 4 | Subject: [PATCH] strace: fix reproducibilty issues |
@@ -13,7 +13,7 @@ Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> | |||
13 | 1 file changed, 2 insertions(+), 2 deletions(-) | 13 | 1 file changed, 2 insertions(+), 2 deletions(-) |
14 | 14 | ||
15 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh | 15 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh |
16 | index 5e1e7c9..1e65eac 100755 | 16 | index 8f47651..65267db 100755 |
17 | --- a/tests/gen_tests.sh | 17 | --- a/tests/gen_tests.sh |
18 | +++ b/tests/gen_tests.sh | 18 | +++ b/tests/gen_tests.sh |
19 | @@ -46,7 +46,7 @@ while read -r name arg0 args; do { | 19 | @@ -46,7 +46,7 @@ while read -r name arg0 args; do { |
@@ -25,7 +25,7 @@ index 5e1e7c9..1e65eac 100755 | |||
25 | 25 | ||
26 | case "$arg0" in | 26 | case "$arg0" in |
27 | +*) | 27 | +*) |
28 | @@ -80,7 +80,7 @@ while read -r name arg0 args; do { | 28 | @@ -91,7 +91,7 @@ while read -r name arg0 args; do { |
29 | 29 | ||
30 | if [ -n "$names" ]; then | 30 | if [ -n "$names" ]; then |
31 | { | 31 | { |
@@ -34,6 +34,3 @@ index 5e1e7c9..1e65eac 100755 | |||
34 | printf 'GEN_TESTS =' | 34 | printf 'GEN_TESTS =' |
35 | printf ' %s.gen.test' $names | 35 | printf ' %s.gen.test' $names |
36 | echo | 36 | echo |
37 | -- | ||
38 | 2.24.1 | ||
39 | |||
diff --git a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch index 0cabdfe99f..fc6ed7ac4d 100644 --- a/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch +++ b/meta/recipes-devtools/strace/strace/0002-tests-Replace-off64_t-with-off_t.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 579b2ebe52d4b97f954e6188df2d07e137820075 Mon Sep 17 00:00:00 2001 | 1 | From 1891db87da3b204c512f47155aaa4e692008f1bf Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 15 Dec 2022 15:56:13 -0800 | 3 | Date: Thu, 15 Dec 2022 15:56:13 -0800 |
4 | Subject: [PATCH] tests: Replace off64_t with off_t | 4 | Subject: [PATCH] tests: Replace off64_t with off_t |
@@ -10,9 +10,12 @@ Upstream-Status: Submitted [https://github.com/strace/strace/pull/230] | |||
10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
11 | --- | 11 | --- |
12 | tests/readahead.c | 2 +- | 12 | tests/readahead.c | 2 +- |
13 | tests/sync_file_range.c | 4 ++-- | ||
13 | tests/sync_file_range2.c | 4 ++-- | 14 | tests/sync_file_range2.c | 4 ++-- |
14 | 2 files changed, 3 insertions(+), 3 deletions(-) | 15 | 3 files changed, 5 insertions(+), 5 deletions(-) |
15 | 16 | ||
17 | diff --git a/tests/readahead.c b/tests/readahead.c | ||
18 | index 1072378..b9597e6 100644 | ||
16 | --- a/tests/readahead.c | 19 | --- a/tests/readahead.c |
17 | +++ b/tests/readahead.c | 20 | +++ b/tests/readahead.c |
18 | @@ -42,7 +42,7 @@ static const int fds[] = { | 21 | @@ -42,7 +42,7 @@ static const int fds[] = { |
@@ -24,29 +27,33 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
24 | -0x8000000000000000LL, | 27 | -0x8000000000000000LL, |
25 | -0x5060708090a0b0c0LL, | 28 | -0x5060708090a0b0c0LL, |
26 | -1LL, | 29 | -1LL, |
27 | --- a/tests/sync_file_range2.c | 30 | diff --git a/tests/sync_file_range.c b/tests/sync_file_range.c |
28 | +++ b/tests/sync_file_range2.c | 31 | index e93ab6c..dc76865 100644 |
32 | --- a/tests/sync_file_range.c | ||
33 | +++ b/tests/sync_file_range.c | ||
29 | @@ -20,8 +20,8 @@ int | 34 | @@ -20,8 +20,8 @@ int |
30 | main(void) | 35 | main(void) |
31 | { | 36 | { |
32 | const int fd = -1; | 37 | const int fd = -1; |
33 | - const off64_t offset = 0xdeadbeefbadc0ded; | 38 | - const off64_t offset = 0xdeadbeefbadc0dedULL; |
34 | - const off64_t nbytes = 0xfacefeedcafef00d; | 39 | - const off64_t nbytes = 0xfacefeedcafef00dULL; |
35 | + const off_t offset = 0xdeadbeefbadc0ded; | 40 | + const off_t offset = 0xdeadbeefbadc0dedULL; |
36 | + const off_t nbytes = 0xfacefeedcafef00d; | 41 | + const off_t nbytes = 0xfacefeedcafef00dULL; |
37 | const unsigned int flags = -1; | 42 | const unsigned int flags = -1; |
38 | 43 | ||
39 | int rc = sync_file_range(fd, offset, nbytes, flags); | 44 | int rc = sync_file_range(fd, offset, nbytes, flags); |
40 | --- a/tests/sync_file_range.c | 45 | diff --git a/tests/sync_file_range2.c b/tests/sync_file_range2.c |
41 | +++ b/tests/sync_file_range.c | 46 | index b8dc712..e4b003c 100644 |
47 | --- a/tests/sync_file_range2.c | ||
48 | +++ b/tests/sync_file_range2.c | ||
42 | @@ -20,8 +20,8 @@ int | 49 | @@ -20,8 +20,8 @@ int |
43 | main(void) | 50 | main(void) |
44 | { | 51 | { |
45 | const int fd = -1; | 52 | const int fd = -1; |
46 | - const off64_t offset = 0xdeadbeefbadc0dedULL; | 53 | - const off64_t offset = 0xdeadbeefbadc0ded; |
47 | - const off64_t nbytes = 0xfacefeedcafef00dULL; | 54 | - const off64_t nbytes = 0xfacefeedcafef00d; |
48 | + const off_t offset = 0xdeadbeefbadc0dedULL; | 55 | + const off_t offset = 0xdeadbeefbadc0ded; |
49 | + const off_t nbytes = 0xfacefeedcafef00dULL; | 56 | + const off_t nbytes = 0xfacefeedcafef00d; |
50 | const unsigned int flags = -1; | 57 | const unsigned int flags = -1; |
51 | 58 | ||
52 | int rc = sync_file_range(fd, offset, nbytes, flags); | 59 | int rc = sync_file_range(fd, offset, nbytes, flags); |
diff --git a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch index 9af7737662..9520aa8842 100644 --- a/meta/recipes-devtools/strace/strace/Makefile-ptest.patch +++ b/meta/recipes-devtools/strace/strace/Makefile-ptest.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 1f50e0a09d828be8f5b1f28db9af0b12492a1553 Mon Sep 17 00:00:00 2001 | 1 | From 593bea35a044b55222a71737ca8455c2359817d1 Mon Sep 17 00:00:00 2001 |
2 | From: Gabriel Barbu <gabriel.barbu@enea.com> | 2 | From: Gabriel Barbu <gabriel.barbu@enea.com> |
3 | Date: Thu, 25 Jul 2013 15:28:33 +0200 | 3 | Date: Thu, 25 Jul 2013 15:28:33 +0200 |
4 | Subject: [PATCH] strace: Add ptest | 4 | Subject: [PATCH] strace: Add ptest |
@@ -8,24 +8,24 @@ Upstream-Status: Inappropriate | |||
8 | Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> | 8 | Signed-off-by: Gabriel Barbu <gabriel.barbu@enea.com> |
9 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> | 9 | Signed-off-by: Chong Lu <Chong.Lu@windriver.com> |
10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | 10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> |
11 | |||
12 | --- | 11 | --- |
13 | tests/Makefile.am | 20 ++++++++++++++++++++ | 12 | tests/Makefile.am | 20 ++++++++++++++++++++ |
14 | 1 file changed, 20 insertions(+) | 13 | 1 file changed, 20 insertions(+) |
15 | 14 | ||
15 | |||
16 | diff --git a/tests/Makefile.am b/tests/Makefile.am | 16 | diff --git a/tests/Makefile.am b/tests/Makefile.am |
17 | index 55566ee..a7ae6f9 100644 | 17 | index b29471f..b8b66f0 100644 |
18 | --- a/tests/Makefile.am | 18 | --- a/tests/Makefile.am |
19 | +++ b/tests/Makefile.am | 19 | +++ b/tests/Makefile.am |
20 | @@ -16,6 +16,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ | 20 | @@ -18,6 +18,7 @@ SIZEOF_LONG = @SIZEOF_LONG@ |
21 | MPERS_NAME = | 21 | MPERS_NAME = |
22 | MPERS_CC_FLAGS = | 22 | MPERS_CC_FLAGS = |
23 | ARCH_MFLAGS = | 23 | ARCH_MFLAGS = |
24 | +TEST_SUITE_LOG = test-suite.log | 24 | +TEST_SUITE_LOG = test-suite.log |
25 | AM_CFLAGS = $(WARN_CFLAGS) | 25 | AM_CFLAGS = $(WARN_CFLAGS) $(TEST_WARN_CFLAGS) |
26 | bundled_CPPFLAGS = | 26 | bundled_CPPFLAGS = |
27 | if USE_BUNDLED_HEADERS | 27 | if USE_BUNDLED_HEADERS |
28 | @@ -703,3 +704,22 @@ BUILT_SOURCES = ksysent.h | 28 | @@ -932,3 +933,22 @@ BUILT_SOURCES = ksysent.h |
29 | CLEANFILES = ksysent.h | 29 | CLEANFILES = ksysent.h |
30 | 30 | ||
31 | include ../src/scno.am | 31 | include ../src/scno.am |
diff --git a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch index 4e86ccadc5..14ea469c59 100644 --- a/meta/recipes-devtools/strace/strace/ptest-spacesave.patch +++ b/meta/recipes-devtools/strace/strace/ptest-spacesave.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3fad4821d90cd264d1b94253b9cf4fdf5d4034b8 Mon Sep 17 00:00:00 2001 | 1 | From cf77d301faf96cc892c6df0e19fccbf5853f249d Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Wed, 29 May 2019 00:10:32 +0100 | 3 | Date: Wed, 29 May 2019 00:10:32 +0100 |
4 | Subject: [PATCH] strace: Tweak ptest disk space management | 4 | Subject: [PATCH] strace: Tweak ptest disk space management |
@@ -9,16 +9,15 @@ using around 600MB of disk space and running our ptest images out of space. | |||
9 | RP 2019/5/29 | 9 | RP 2019/5/29 |
10 | 10 | ||
11 | Upstream-Status: Inappropriate [specific to OE image space issues] | 11 | Upstream-Status: Inappropriate [specific to OE image space issues] |
12 | |||
13 | --- | 12 | --- |
14 | tests/gen_tests.sh | 1 + | 13 | tests/gen_tests.sh | 1 + |
15 | 1 file changed, 1 insertion(+) | 14 | 1 file changed, 1 insertion(+) |
16 | 15 | ||
17 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh | 16 | diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh |
18 | index 3540204..5e1e7c9 100755 | 17 | index ce1467e..8f47651 100755 |
19 | --- a/tests/gen_tests.sh | 18 | --- a/tests/gen_tests.sh |
20 | +++ b/tests/gen_tests.sh | 19 | +++ b/tests/gen_tests.sh |
21 | @@ -62,6 +62,7 @@ while read -r name arg0 args; do { | 20 | @@ -73,6 +73,7 @@ while read -r name arg0 args; do { |
22 | $hdr | 21 | $hdr |
23 | . "\${srcdir=.}/init.sh" | 22 | . "\${srcdir=.}/init.sh" |
24 | run_strace_match_diff $arg0 $args | 23 | run_strace_match_diff $arg0 $args |
diff --git a/meta/recipes-devtools/strace/strace/run-ptest b/meta/recipes-devtools/strace/strace/run-ptest index 1224229e8f..d9248df225 100755 --- a/meta/recipes-devtools/strace/strace/run-ptest +++ b/meta/recipes-devtools/strace/strace/run-ptest | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | set -u | 3 | set -u |
4 | 4 | ||
5 | export TIMEOUT_DURATION=240 | 5 | export TIMEOUT_DURATION=600 |
6 | make -j4 -B -C tests -k test-suite.log | 6 | make -j4 -B -C tests -k test-suite.log |
7 | res=$? | 7 | res=$? |
8 | if [ $res -ne 0 ]; then | 8 | if [ $res -ne 0 ]; then |
diff --git a/meta/recipes-devtools/strace/strace/skip-load.patch b/meta/recipes-devtools/strace/strace/skip-load.patch index b1acfda5d8..fe737d8f9a 100644 --- a/meta/recipes-devtools/strace/strace/skip-load.patch +++ b/meta/recipes-devtools/strace/strace/skip-load.patch | |||
@@ -1,9 +1,13 @@ | |||
1 | From 3af7272a3435fc79e5da729155480a346ccf2d44 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ross Burton <ross.burton@arm.com> | ||
3 | Date: Mon, 31 Jan 2022 17:40:13 +0000 | ||
4 | Subject: [PATCH] strace: skip a number of load-sensitive tests | ||
5 | |||
1 | Skip tests which are known to be unreliable under load, typically because they | 6 | Skip tests which are known to be unreliable under load, typically because they |
2 | care about timing. | 7 | care about timing. |
3 | 8 | ||
4 | Upstream-Status: Inappropriate | 9 | Upstream-Status: Inappropriate |
5 | Signed-off-by: Ross Burton <ross.burton@arm.com> | 10 | Signed-off-by: Ross Burton <ross.burton@arm.com> |
6 | |||
7 | --- | 11 | --- |
8 | tests/clock_nanosleep.gen.test | 1 + | 12 | tests/clock_nanosleep.gen.test | 1 + |
9 | tests/delay.test | 1 + | 13 | tests/delay.test | 1 + |
@@ -44,6 +48,3 @@ index 8299737..d89c7df 100755 | |||
44 | 48 | ||
45 | r_opt="${1:--r}" | 49 | r_opt="${1:--r}" |
46 | 50 | ||
47 | -- | ||
48 | 2.25.1 | ||
49 | |||
diff --git a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch index a16ede95c2..429588d218 100644 --- a/meta/recipes-devtools/strace/strace/update-gawk-paths.patch +++ b/meta/recipes-devtools/strace/strace/update-gawk-paths.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 4cd26cfaec255ec87f22abe886e0be89312a9671 Mon Sep 17 00:00:00 2001 | 1 | From 920ff2e0e838fae4fe49bf8e8fa093d5b2485677 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
3 | Date: Mon, 18 Jan 2016 11:01:00 -0800 | 3 | Date: Mon, 18 Jan 2016 11:01:00 -0800 |
4 | Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk | 4 | Subject: [PATCH] update gawk paths, /bin/gawk -> /usr/bin/gawk |
@@ -11,22 +11,24 @@ from #!/bin/gawk to #!/usr/bin/gawk. Fixes missing RDPENDS QA tests: | |||
11 | Upstream-Status: Inappropriate [configuration] | 11 | Upstream-Status: Inappropriate [configuration] |
12 | 12 | ||
13 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | 13 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> |
14 | |||
15 | --- | 14 | --- |
16 | src/mpers.awk | 2 +- | 15 | src/mpers.awk | 2 +- |
16 | tests-m32/caps-abbrev.awk | 2 +- | ||
17 | tests-m32/caps.awk | 2 +- | 17 | tests-m32/caps.awk | 2 +- |
18 | tests-m32/match.awk | 2 +- | 18 | tests-m32/match.awk | 2 +- |
19 | tests-m32/rt_sigaction.awk | 2 +- | 19 | tests-m32/rt_sigaction.awk | 2 +- |
20 | tests-mx32/caps-abbrev.awk | 2 +- | ||
20 | tests-mx32/caps.awk | 2 +- | 21 | tests-mx32/caps.awk | 2 +- |
21 | tests-mx32/match.awk | 2 +- | 22 | tests-mx32/match.awk | 2 +- |
22 | tests-mx32/rt_sigaction.awk | 2 +- | 23 | tests-mx32/rt_sigaction.awk | 2 +- |
24 | tests/caps-abbrev.awk | 2 +- | ||
23 | tests/caps.awk | 2 +- | 25 | tests/caps.awk | 2 +- |
24 | tests/match.awk | 2 +- | 26 | tests/match.awk | 2 +- |
25 | tests/rt_sigaction.awk | 2 +- | 27 | tests/rt_sigaction.awk | 2 +- |
26 | 10 files changed, 10 insertions(+), 10 deletions(-) | 28 | 13 files changed, 13 insertions(+), 13 deletions(-) |
27 | 29 | ||
28 | diff --git a/src/mpers.awk b/src/mpers.awk | 30 | diff --git a/src/mpers.awk b/src/mpers.awk |
29 | index 25a212f..b2ff53f 100644 | 31 | index 425ab65..33ece5c 100644 |
30 | --- a/src/mpers.awk | 32 | --- a/src/mpers.awk |
31 | +++ b/src/mpers.awk | 33 | +++ b/src/mpers.awk |
32 | @@ -1,4 +1,4 @@ | 34 | @@ -1,4 +1,4 @@ |
@@ -35,6 +37,16 @@ index 25a212f..b2ff53f 100644 | |||
35 | # | 37 | # |
36 | # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> | 38 | # Copyright (c) 2015 Elvira Khabirova <lineprinter0@gmail.com> |
37 | # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> | 39 | # Copyright (c) 2015-2016 Dmitry V. Levin <ldv@strace.io> |
40 | diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk | ||
41 | index e8393fd..76c4e51 100644 | ||
42 | --- a/tests-m32/caps-abbrev.awk | ||
43 | +++ b/tests-m32/caps-abbrev.awk | ||
44 | @@ -1,4 +1,4 @@ | ||
45 | -#!/bin/gawk | ||
46 | +#!/usr/bin/gawk | ||
47 | # | ||
48 | # This file is part of caps strace test. | ||
49 | # | ||
38 | diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk | 50 | diff --git a/tests-m32/caps.awk b/tests-m32/caps.awk |
39 | index 69500ec..e5dfd87 100644 | 51 | index 69500ec..e5dfd87 100644 |
40 | --- a/tests-m32/caps.awk | 52 | --- a/tests-m32/caps.awk |
@@ -65,6 +77,16 @@ index dce78f5..573d9ea 100644 | |||
65 | # | 77 | # |
66 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> | 78 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> |
67 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> | 79 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> |
80 | diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk | ||
81 | index e8393fd..76c4e51 100644 | ||
82 | --- a/tests-mx32/caps-abbrev.awk | ||
83 | +++ b/tests-mx32/caps-abbrev.awk | ||
84 | @@ -1,4 +1,4 @@ | ||
85 | -#!/bin/gawk | ||
86 | +#!/usr/bin/gawk | ||
87 | # | ||
88 | # This file is part of caps strace test. | ||
89 | # | ||
68 | diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk | 90 | diff --git a/tests-mx32/caps.awk b/tests-mx32/caps.awk |
69 | index 69500ec..e5dfd87 100644 | 91 | index 69500ec..e5dfd87 100644 |
70 | --- a/tests-mx32/caps.awk | 92 | --- a/tests-mx32/caps.awk |
@@ -95,6 +117,16 @@ index dce78f5..573d9ea 100644 | |||
95 | # | 117 | # |
96 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> | 118 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> |
97 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> | 119 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> |
120 | diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk | ||
121 | index e8393fd..76c4e51 100644 | ||
122 | --- a/tests/caps-abbrev.awk | ||
123 | +++ b/tests/caps-abbrev.awk | ||
124 | @@ -1,4 +1,4 @@ | ||
125 | -#!/bin/gawk | ||
126 | +#!/usr/bin/gawk | ||
127 | # | ||
128 | # This file is part of caps strace test. | ||
129 | # | ||
98 | diff --git a/tests/caps.awk b/tests/caps.awk | 130 | diff --git a/tests/caps.awk b/tests/caps.awk |
99 | index 69500ec..e5dfd87 100644 | 131 | index 69500ec..e5dfd87 100644 |
100 | --- a/tests/caps.awk | 132 | --- a/tests/caps.awk |
@@ -125,33 +157,3 @@ index dce78f5..573d9ea 100644 | |||
125 | # | 157 | # |
126 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> | 158 | # Copyright (c) 2014-2015 Dmitry V. Levin <ldv@strace.io> |
127 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> | 159 | # Copyright (c) 2016 Elvira Khabirova <lineprinter0@gmail.com> |
128 | diff --git a/tests-m32/caps-abbrev.awk b/tests-m32/caps-abbrev.awk | ||
129 | index c00023b..a56cd56 100644 | ||
130 | --- a/tests-m32/caps-abbrev.awk | ||
131 | +++ b/tests-m32/caps-abbrev.awk | ||
132 | @@ -1,4 +1,4 @@ | ||
133 | -#!/bin/gawk | ||
134 | +#!/usr/bin/gawk | ||
135 | # | ||
136 | # This file is part of caps strace test. | ||
137 | # | ||
138 | diff --git a/tests-mx32/caps-abbrev.awk b/tests-mx32/caps-abbrev.awk | ||
139 | index c00023b..a56cd56 100644 | ||
140 | --- a/tests-mx32/caps-abbrev.awk | ||
141 | +++ b/tests-mx32/caps-abbrev.awk | ||
142 | @@ -1,4 +1,4 @@ | ||
143 | -#!/bin/gawk | ||
144 | +#!/usr/bin/gawk | ||
145 | # | ||
146 | # This file is part of caps strace test. | ||
147 | # | ||
148 | diff --git a/tests/caps-abbrev.awk b/tests/caps-abbrev.awk | ||
149 | index c00023b..a56cd56 100644 | ||
150 | --- a/tests/caps-abbrev.awk | ||
151 | +++ b/tests/caps-abbrev.awk | ||
152 | @@ -1,4 +1,4 @@ | ||
153 | -#!/bin/gawk | ||
154 | +#!/usr/bin/gawk | ||
155 | # | ||
156 | # This file is part of caps strace test. | ||
157 | # | ||
diff --git a/meta/recipes-devtools/strace/strace_6.8.bb b/meta/recipes-devtools/strace/strace_6.15.bb index b22c57b45d..fdc79bcf85 100644 --- a/meta/recipes-devtools/strace/strace_6.8.bb +++ b/meta/recipes-devtools/strace/strace_6.15.bb | |||
@@ -3,9 +3,9 @@ HOMEPAGE = "http://strace.io" | |||
3 | DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state." | 3 | DESCRIPTION = "strace is a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state." |
4 | SECTION = "console/utils" | 4 | SECTION = "console/utils" |
5 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 5 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=2433d82e1432a76dc3eadd9002bfe304" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=1efaf30bb0084b4a17a6f55f9cbcd25b" |
7 | 7 | ||
8 | SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ | 8 | SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/strace-${PV}.tar.xz \ |
9 | file://update-gawk-paths.patch \ | 9 | file://update-gawk-paths.patch \ |
10 | file://Makefile-ptest.patch \ | 10 | file://Makefile-ptest.patch \ |
11 | file://run-ptest \ | 11 | file://run-ptest \ |
@@ -15,9 +15,9 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \ | |||
15 | file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ | 15 | file://0001-configure-Use-autoconf-macro-to-detect-largefile-sup.patch \ |
16 | file://0002-tests-Replace-off64_t-with-off_t.patch \ | 16 | file://0002-tests-Replace-off64_t-with-off_t.patch \ |
17 | " | 17 | " |
18 | SRC_URI[sha256sum] = "ba6950a96824cdf93a584fa04f0a733896d2a6bc5f0ad9ffe505d9b41e970149" | 18 | SRC_URI[sha256sum] = "8552dfab08abc22a0f2048c98fd9541fd4d71b6882507952780dab7c7c512f51" |
19 | 19 | ||
20 | inherit autotools ptest | 20 | inherit autotools github-releases ptest |
21 | 21 | ||
22 | # Not yet ported to rv32 | 22 | # Not yet ported to rv32 |
23 | COMPATIBLE_HOST:riscv32 = "null" | 23 | COMPATIBLE_HOST:riscv32 = "null" |
@@ -44,13 +44,11 @@ do_install_ptest() { | |||
44 | mkdir -p ${D}${PTEST_PATH}/src | 44 | mkdir -p ${D}${PTEST_PATH}/src |
45 | install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/ | 45 | install -m 755 ${S}/build-aux/test-driver ${D}${PTEST_PATH}/build-aux/ |
46 | install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/ | 46 | install -m 644 ${B}/src/config.h ${D}${PTEST_PATH}/src/ |
47 | sed -i -e '/^src/s/strace.*[0-9]/ptest/' ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | 47 | sed -e 's/^srcdir = .*/srcdir = ..\/..\/ptest\/tests/' \ |
48 | -e "/^TEST_LOG_DRIVER =/s|(top_srcdir)|(top_builddir)|" \ | ||
49 | -i ${D}/${PTEST_PATH}/${TESTDIR}/Makefile | ||
48 | } | 50 | } |
49 | 51 | ||
50 | RDEPENDS:${PN}-ptest += "make coreutils grep gawk sed" | 52 | RDEPENDS:${PN}-ptest += "make coreutils grep gawk sed locale-base-en-us" |
51 | |||
52 | RDEPENDS:${PN}-ptest:append:libc-glibc = "\ | ||
53 | locale-base-en-us.iso-8859-1 \ | ||
54 | " | ||
55 | 53 | ||
56 | BBCLASSEXTEND = "native" | 54 | BBCLASSEXTEND = "native" |