<div dir="ltr"><div>I got to it finally. Normally /var/lib/rpm is absent when opkg is in use, but when /usr/bin/rpm is present, python3&#39;s ptest involves distutils test creating rpm packages (and presumably installing them too), which creates a database in /var/lib/rpm, which then triggers rpm tests to run and fail. So a check for /var/lib/rpm in rpm tests isn&#39;t always sufficient to determine which packaging system is in use, and there should be a stronger one.</div><div><br></div><div>I&#39;m fine with adjusting libsolv to not pull in rpm, but please use EXCLUDE_FROM_WORLD instead of PNBLACKLIST, so that just that specific problem is solved, rather than banning libdnf/dnf altogether from builds.</div><div><br></div><div>Making libdnf to not require rpm-enabled libsolv is not feasible sadly, it&#39;s basically built around that assumption.<br></div><div></div><div><br></div><div>Alex<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 14 Feb 2020 at 13:19, Alexander Kanavin &lt;<a href="mailto:alex.kanavin@gmail.com">alex.kanavin@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">On Fri, 14 Feb 2020 at 08:15, Khem Raj &lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">local.conf I have<br>
<br>
DISTRO_FEATURES_append = &quot; largefile opengl ptest multiarch wayland pam polkit &quot;<br>
IMAGE_CLASSES += &quot;testimage testsdk&quot;<br></blockquote><div><br></div><div>Right, I&#39;m running this now, it&#39;s a bit tricky because I have to do it on the Yocto AB. Big company&#39;s bureaucracy is causing delays in getting me a build machine :(</div><div><br></div><div>Alex</div></div></div>
</blockquote></div>