chrony pkg-config backport fix #kirkstone


Gary Huband
 

There is a bug in the chrony Kirkstone recipe that was fixed in Langdale but has not been fixed in Kirkstone:
https://lists.openembedded.org/g/openembedded-devel/message/99080?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cchrony+pkg-config%2C20%2C2%2C0%2C94155994
This adds pkgconfig to the inherit line to allow configure to find pkg-config.  Without this fix the recipe cannot build some features like NTS.

How to get this fix into Kirkstone?  Do I submit a patch?


Randy MacLeod
 

On 2023-02-02 10:15, Gary Huband via lists.yoctoproject.org wrote:
There is a bug in the chrony Kirkstone recipe that was fixed in Langdale but has not been fixed in Kirkstone:
https://lists.openembedded.org/g/openembedded-devel/message/99080?p=%2C%2C%2C20%2C0%2C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Cchrony+pkg-config%2C20%2C2%2C0%2C94155994
This adds pkgconfig to the inherit line to allow configure to find pkg-config.  Without this fix the recipe cannot build some features like NTS.

How to get this fix into Kirkstone?  Do I submit a patch?

Yes please, it does cherry-pick back cleanly but I didn't take the time to build/test.

FYI:

https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded

../Randy

meta-oe.git on kirkstone

❯ git log -6 --oneline langdale ^kirkstone meta-networking/recipes-support/chrony/
c354f9277 (langdale-next) chrony: Remove the libcap and nss PACKAGECONFIGs
aa811aa77 chrony: Make it possible to enable editline support again
aa20821f1 chrony: correct parameter to configure to disable readline usage
22682fdfb chrony: add pkgconfig class as pkg-config is explicitly searched for
fca74376e chrony: upgrade 4.2 -> 4.3
517c9dab9 chrony: add support for config and source snippet includes

❯ git cherry-pick 22682fdfb
Auto-merging meta-networking/recipes-support/chrony/chrony_4.2.bb
[kirkstone d4cc4f260] chrony: add pkgconfig class as pkg-config is explicitly searched for
 Author: Federico Pellegrin <fede@...>
 Date: Thu Oct 6 14:17:21 2022 +0200
 1 file changed, 1 insertion(+), 1 deletion(-)




-- 
# Randy MacLeod
# Wind River Linux