On Wed, Dec 15, 2021 at 8:16 AM Matt Madison <matt@madison.systems> wrote: > > I'm finding that none of the Rust recipes are getting setscened in my builds > off > master due to the the SRCPV hack that was added to make the cargo fetcher > visible during parsing. There's no error reported about it, but by adding an > exception handler into the sstate code I tracked it down to pstaging_fetch()'s > using d.getVar('SRCPV'). Since the cargo fetcher doesn't advertise > srcrev support, > the base fetcher class raises an exception on this, causing the > mostly-silent failure.
Hmm, this is strange. I have this recipe: https://github.com/JPEWdev/meta-phosh/blob/master/recipes-graphics/squeekboard/squeekboard_git.bb that is using the cargo fetcher and it is definitely using sstate like I would expect; perhaps there is some other strange interaction with another class? > > There's no issue if the sstate package is already in the local cache; > it only affects > builds where I need to fetch from my sstate mirror. > > I'd submit a patch, but I'm not sure what the right solution would be. > > Regards, > -Matt > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#159787): https://lists.openembedded.org/g/openembedded-core/message/159787 Mute This Topic: https://lists.openembedded.org/mt/87744591/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-