Bug 14698

Summary: valgrind xmllint might be depending on build host installation
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Khem Raj <raj.khem>
Component: coreAssignee: Mingli Yu <mingli.yu>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: unspecified   
Target Milestone: 6.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Khem Raj 2022-01-18 17:53:41 UTC
We see a build failures in ptests for valgrind on some hosts but not on all hosts. The reason is xmllint tries to find DTD files either locally or reaches out over network to download them in-promptu. This fails then after recently where network access is barred in non-fetchable tasks by default, a workaround is

https://git.yoctoproject.org/poky/commit/?id=f1af0c1f97cfb58017191ba9c703178270307213

but we should investigate why it works on some hosts and fails on some. Perhaps there is a unknown host dependency which is responsible for this.
Comment 1 Randy MacLeod 2022-01-20 16:00:27 UTC
Perhaps adding dependency in ptest case will allow dropping work-around patch.