<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'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't always sufficient to determine which packaging system is in use, and there should be a stronger one.</div><div><br></div><div>I'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'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 <<a href="mailto:alex.kanavin@gmail.com">alex.kanavin@gmail.com</a>> 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 <<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>> 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 = " largefile opengl ptest multiarch wayland pam polkit "<br>
IMAGE_CLASSES += "testimage testsdk"<br></blockquote><div><br></div><div>Right, I'm running this now, it's a bit tricky because I have to do it on the Yocto AB. Big company's bureaucracy is causing delays in getting me a build machine :(</div><div><br></div><div>Alex</div></div></div>
</blockquote></div>