Skip to content

Comments

Fix: set loglevels when using bbdebug#59

Merged
uilianries merged 1 commit intoconan-io:conan2/scarthgapfrom
EddyAubineau:conan2/scarthgap
Mar 23, 2025
Merged

Fix: set loglevels when using bbdebug#59
uilianries merged 1 commit intoconan-io:conan2/scarthgapfrom
EddyAubineau:conan2/scarthgap

Conversation

@EddyAubineau
Copy link
Contributor

Allows building without any error nor warning using scarthgap, since bbdebug now requires loglevel to be set.

@CLAassistant
Copy link

CLAassistant commented Mar 14, 2025

CLA assistant check
All committers have signed the CLA.

@memsharded memsharded requested a review from uilianries March 14, 2025 13:47
@uilianries
Copy link
Member

@EddyAubineau Hello and thank you for your suggestion.

Is not giving the debug level via the bitbake command enough for your case?

bitbake conan-mosquitto -D level

Reference: https://docs.yoctoproject.org/bitbake/2.10/bitbake-user-manual/bitbake-user-manual-intro.html#usage-and-syntax

What scenario are you trying to reach? What problem are you trying to solve?

@EddyAubineau
Copy link
Contributor Author

Hi,
When building any package using conan.bbclass or any image containing this package, the following error occurs:
ERROR: packagename-0.1.0-r0 do_configure: Usage: bbdebug [123] "message"

Based on logging.bbclass, not providing the correct number of args will generate a bbfatal, and that's what we had in our project.

Usage of bbdebug requires adding a loglevel. See : https://github.com/openembedded/openembedded-core/blob/26f35f866cf7888431963cf4fc5d2019cd28de74/meta/classes-global/logging.bbclass#L97

@uilianries uilianries merged commit 586d576 into conan-io:conan2/scarthgap Mar 23, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants