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.
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. Making libdnf to not require rpm-enabled libsolv is not feasible sadly, it's basically built around that assumption. Alex On Fri, 14 Feb 2020 at 13:19, Alexander Kanavin <[email protected]> wrote: > On Fri, 14 Feb 2020 at 08:15, Khem Raj <[email protected]> wrote: > >> local.conf I have >> >> DISTRO_FEATURES_append = " largefile opengl ptest multiarch wayland pam >> polkit " >> IMAGE_CLASSES += "testimage testsdk" >> > > 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 :( > > Alex >
-- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
