On Wed, 9 Oct 2024 at 14:03, Martin Townsend via lists.yoctoproject.org <mtownsend1973=gmail....@lists.yoctoproject.org> wrote: > We have cpio in our SDK and after updating to Scarthgap it failed to build > due to nativesdk-cpio. > ERROR: nativesdk-cpio-2.15-r0 do_package_write_rpm: The sstate manifest for > task 'base-passwd:populate_sysroot' (multilib variant '') could not be found. > > After looking at the dependencies it looks like the lines > > DEPENDS:append:class-target = "${@bb.utils.contains('PTEST_ENABLED', '1', ' > ptest-runner', '', d)}" > PACKAGE_WRITE_DEPS += "ptest-runner" > > mean that you get this dependency > "nativesdk-cpio.do_package_write_rpm" -> "ptest-runner.do_populate_sysroot" > > which then depends on base-passwd. For the moment I have added a bbappend to > fix things > > PACKAGE_WRITE_DEPS:remove:class-nativesdk = "ptest-runner" > > I'm not sure what the real fix is, maybe > > PACKAGE_WRITE_DEPS:class-target += "ptest-runner"
Without looking at the recipe... it would be good to know why cpio is trying to do 'special handling' of ptest-runner. There's plenty of other recipes that depend on it too, and I guess you're not observing the problem with them. Maybe this special handling should be simply dropped in favour of the standard one. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63986): https://lists.yoctoproject.org/g/yocto/message/63986 Mute This Topic: https://lists.yoctoproject.org/mt/108907355/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-