mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
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>
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
From 99fc6fe9b66becac3c94068129e84217330a71a6 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 13 Jan 2022 18:26:02 -0800
|
||||
Subject: [PATCH] docs: Disable manual validation
|
||||
|
||||
validating manual and manpages, this task involves calling xmllint which
|
||||
accesses network and --nonet option also does not disable this,
|
||||
therefore disable it.
|
||||
|
||||
Fixes
|
||||
| error : Resource temporarily unavailable
|
||||
| ../callgrind/docs/cl-manual.xml:4: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"
|
||||
| <!ENTITY % vg-entities SYSTEM "../../docs/xml/vg-entities.xml"> %vg-entities; ]
|
||||
|
||||
Upstream-Status: Inappropriate [OE-Specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
docs/Makefile.am | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/docs/Makefile.am b/docs/Makefile.am
|
||||
index d4250e8..c500306 100644
|
||||
--- a/docs/Makefile.am
|
||||
+++ b/docs/Makefile.am
|
||||
@@ -192,7 +192,7 @@ valid-manpages: $(MANPAGES_XML_FILES)
|
||||
touch $@; \
|
||||
fi
|
||||
|
||||
-check-local: valid-manual valid-manpages
|
||||
+check-local:
|
||||
|
||||
# The text version of the FAQ.
|
||||
FAQ.txt:
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -43,6 +43,7 @@ SRC_URI = "https://sourceware.org/pub/valgrind/valgrind-${PV}.tar.bz2 \
|
||||
file://0001-none-tests-fdleak_cmsg.stderr.exp-adjust-tmp-paths.patch \
|
||||
file://0001-memcheck-tests-Fix-timerfd-syscall-test.patch \
|
||||
file://0001-Implement-linux-rseq-syscall-as-ENOSYS.patch \
|
||||
file://0001-docs-Disable-manual-validation.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "00859aa13a772eddf7822225f4b46ee0d39afbe071d32778da4d99984081f7f5"
|
||||
UPSTREAM_CHECK_REGEX = "valgrind-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
|
||||
Reference in New Issue
Block a user