Closed lumag closed 1 month ago
maybe we can make it conditional with a PACKAGECONFIG, disabled by default
PACKAGECONFIG[ubxtool] = ",,python3-pyserial"
introduced in https://github.com/openembedded/meta-openembedded/commit/1266c912afa0abf118eaa5d152a0641c87665fbd
Well, there is also a second issue: if there is a CI for meta-oe, it needs to be updated to catch such issues. I unfortunately don't know enough details of the CI setup to approach this problem.
I send a fix for this: https://lists.openembedded.org/g/openembedded-devel/message/112456
Well, there is also a second issue: if there is a CI for meta-oe, it needs to be updated to catch such issues. I unfortunately don't know enough details of the CI setup to approach this problem.
I believe the yocto-check-layer can catch this type of things.
It is not. With just meta-oe
added and with the default configuration I'm still getting:
ERROR: Nothing RPROVIDES 'python3-pyserial' (but /home/lumag/Projects/RPB/build-rpb/conf/../../layers/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.25.bb RDEPENDS on or otherwise requires it)
NOTE: Runtime target 'python3-pyserial' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['python3-pyserial']
ERROR: Required build target 'gpsd' has no buildable providers.
Missing or unbuildable dependency chain was: ['gpsd', 'python3-pyserial']
well! in reality I didn't remove the problem.
RDEPENDS:python3-pygps = " \
python3-core \
python3-io \
- python3-pyserial \
python3-threading \
python3-terminal \
gpsd \
python3-json"
Thanks for notifying me I will have to come back to this again
Please also check that RDEPENDS get addded back if pyserial is enabled
I am sorry for the delay, I will be able to run tests next week.
Seems to be working now, thank you!
Adding just meta-oe results in the following error from bitbake:
Please make this part conditionally depend on the
meta-python
being enabled.