Skip to contentSkip to conversation

chrony pkg-config backport fix #kirkstone

DISCUSSION Gary Huband 2 participants 2 messages Feb 2, 2023 – Feb 3, 2023

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 5 lines · Gary Huband via lists.yoctoproject.org

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 <[email protected]>
 Date: Thu Oct 6 14:17:21 2022 +0200

 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 9 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59148):https://lists.yoctoproject.org/g/yocto/message/59148 Mute This Topic:https://lists.yoctoproject.org/mt/96701548/3616765
Mute #kirkstone:https://lists.yoctoproject.org/g/yocto/mutehashtag/kirkstone Group Owner:[email protected] Unsubscribe:https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux