Hi,

Back in 2009, regex support was added in ASSUME_PROVIDED:
https://git.openembedded.org/bitbake/commit/lib/bb/taskdata.py?id=efb0474231ed286073a5a5904094320da8cab28d

Looking at this now, I'm thinking its a bad idea.

https://bugzilla.yoctoproject.org/show_bug.cgi?id=13893

shows that adding:

DEPENDS += "texinfo-nativejunk-that-does-not-exist"

gives no errors at all.

The code can't know whether a given entry in ASSUME_PROVIDED is a regex
or not.

Plan B is that we test for anchors in the string and only treat as a
regex if they're present.

I'm wondering if we can remove this code entirely though.

Does anyone use regexs in ASSUME_PROVIDED?

Cheers,

Richard

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#1090): 
https://lists.openembedded.org/g/openembedded-architecture/message/1090
Mute This Topic: https://lists.openembedded.org/mt/75069889/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-architecture/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to