Am Freitag, dem 27.01.2023 um 16:14 +0000 schrieb Richard Purdie: > On Fri, 2023-01-27 at 13:30 +0100, Max Krummenacher wrote: > > From: Max Krummenacher <[email protected]> > > > > OE-Core changed the cache handling which made the use of ${BPN} fail. > > > > > Parsing recipes...WARNING: .../samhain-standalone.bb: Exception during > > > build_dependencies for > > > do_configure > > > WARNING: .../samhain-standalone.bb: Error during finalise of > > > .../samhain-standalone.bb > > > ERROR: ExpansionError during parsing .../samhain-standalone.bb > > > Traceback (most recent call last): > > > File "Var <MODE_NAME>", line 1, in <module> > > > bb.data_smart.ExpansionError: Failure expanding variable MODE_NAME, > > > expression was > > > ${@d.getVar('BPN').split('-')[1]} which triggered exception IndexError: > > > list index out of > > > range > > > The variable dependency chain for the failure is: MODE_NAME -> > > > SAMHAIN_MODE -> do_configure > > > > Simplify the setting of MODE_NAME and SAMHAIN_MODE by moving them from > > the inc file to the recipe files where we know their values. > > > > Relevant commits to produce the error: > > bitbake: > > ee89ade5 cache/codeparser: Switch to a new BB_CACHEDIR variable for cache > > location > > oe-core: > > 7c15e03dd3 bitbake.conf: Add BB_HASH_CODEPARSER_VALS > > > > Signed-off-by: Max Krummenacher <[email protected]> > > --- > > recipes-ids/samhain/samhain-client.bb | 3 +++ > > recipes-ids/samhain/samhain-server.bb | 3 +++ > > recipes-ids/samhain/samhain-standalone.bb | 3 +++ > > recipes-ids/samhain/samhain.inc | 8 -------- > > 4 files changed, 9 insertions(+), 8 deletions(-) > > This is the second report I've seen of this. I'm wondering about > changing the default PN dummy value in bitbake.conf to include a "-"... > > Cheers, > > Richard
Richards patch [1] fixes the parsing error too. So we can drop this one unless the simpler logic is worth taking it. [1] https://lore.kernel.org/all/[email protected]/ Thanks Richard. Regards Max
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#59087): https://lists.yoctoproject.org/g/yocto/message/59087 Mute This Topic: https://lists.yoctoproject.org/mt/96564509/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
