do_compile_ptest_base uses xmllint which accesses internet for
validating DTD

Signed-off-by: Khem Raj <[email protected]>
---
 meta/recipes-devtools/valgrind/valgrind_3.18.1.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb 
b/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb
index 7837034f92e..5ebcae467fa 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.18.1.bb
@@ -98,6 +98,11 @@ CACHED_CONFIGUREVARS += "ac_cv_path_PERL='/usr/bin/env perl'"
 # which fixes build path issue in DWARF.
 SELECTED_OPTIMIZATION = "${DEBUG_FLAGS}"
 
+# This is needed because xmllint needs access to network to
+# validate DTD 4.3 onwards it uses --dtdvalid 
http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd 
+# to xmllint, allow it to access internet
+do_compile_ptest_base[network] = "1"
+
 do_configure:prepend () {
     rm -rf ${S}/config.h
     sed -i -e 's:$(abs_top_builddir):$(pkglibdir)/ptest:g' 
${S}/none/tests/Makefile.am
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#160526): 
https://lists.openembedded.org/g/openembedded-core/message/160526
Mute This Topic: https://lists.openembedded.org/mt/88401996/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to