Skip to contentSkip to conversation

New warning

DISCUSSION Gary Thomas 2 participants 2 messages Jun 8, 2016

lore
Share & tools
lore
#0 lore raw

I'm seeing a lot of these:
NOTE: /local/poky-cutting-edge/meta-xyz/.../some-pkg_2.38.0.bb: base_contains is deprecated, please use
bb.utils.contains instead.

This is all well and good and I'll clean them up as I go. That said, why is the same NOTE printed [at least] twice for every recipe even when the file contains 'base_contains' only once?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#1 lore raw
Quoted 8 lines · Gary Thomas

I'm seeing a lot of these:
NOTE: /local/poky-cutting-edge/meta-xyz/.../some-pkg_2.38.0.bb:
base_contains is deprecated, please use bb.utils.contains instead.

This is all well and good and I'll clean them up as I go. That said, why is the same NOTE printed [at least] twice for every recipe even when the file contains 'base_contains' only once?

I haven't checked the code, but the most likely explanation is the error is a parse or expansion time one, and bitbake parses the recipe anew when running each task, after the up front parse which is used to generate the runqueue. *shrug*. It's a downside of showing messages in anything but task execution context.

Signature · 5 lines
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics