diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-01-13 18:47:36 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-15 16:23:24 +0000 |
commit | f1af0c1f97cfb58017191ba9c703178270307213 (patch) | |
tree | 1802a6ff51e7752cd04689ac630c5c34d4ffd536 | |
parent | f9f3e1bd3e1144f237598c6e20874bc621de6190 (diff) | |
download | poky-f1af0c1f97cfb58017191ba9c703178270307213.tar.gz |
valgrind: Avoid accessing network in ptest task
Avoid calling docs validation and manpages validation to avoid it
(From OE-Core rev: 4ad8059ae0769285c7b837a62e1b76fbeef4c505)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch | 36 | ||||
-rw-r--r-- | meta/recipes-devtools/valgrind/valgrind_3.18.1.bb | 1 |
2 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch new file mode 100644 index 0000000000..256ddb0c34 --- /dev/null +++ b/meta/recipes-devtools/valgrind/valgrind/0001-docs-Disable-manual-validation.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 13 Jan 2022 18:26:02 -0800 | ||
4 | Subject: [PATCH] docs: Disable manual validation | ||
5 | |||
6 | validating manual and manpages, this task involves calling xmllint which | ||
7 | accesses network and --nonet option also does not disable this, | ||
8 | therefore disable it. | ||
9 | |||
10 | Fixes | ||
11 | | error : Resource temporarily unavailable | ||
12 | | ../callgrind/docs/cl-manual.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" | ||
13 | | <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ] | ||
14 | |||
15 | Upstream-Status: Inappropriate [OE-Specific] | ||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | docs/Makefile.am | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/docs/Makefile.am b/docs/Makefile.am | ||
22 | index d4250e8..c500306 100644 | ||
23 | --- a/docs/Makefile.am | ||
24 | +++ b/docs/Makefile.am | ||
25 | @@ -192,7 +192,7 @@ valid-manpages: $(MANPAGES_XML_FILES) | ||
26 | touch $@; \ | ||
27 | fi | ||
28 | |||
29 | -check-local: valid-manual valid-manpages | ||
30 | +check-local: | ||
31 | |||
32 | # The text version of the FAQ. | ||
33 | FAQ.txt: | ||
34 | -- | ||
35 | 2.34.1 | ||
36 | |||
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb b/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb index 7837034f92..2305889ab4 100644 --- a/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb +++ b/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb | |||
@@ -43,6 +43,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \ | |||
43 | file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \ | 43 | file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \ |
44 | file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \ | 44 | file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \ |
45 | file://0001-Implement-linux-rseq-syscall-as-ENOSYS.patch \ | 45 | file://0001-Implement-linux-rseq-syscall-as-ENOSYS.patch \ |
46 | file://0001-docs-Disable-manual-validation.patch \ | ||
46 | " | 47 | " |
47 | SRC_URI[sha256sum] = "00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5" | 48 | SRC_URI[sha256sum] = "00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5" |
48 | UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" | 49 | UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar" |