Skip to contentSkip to conversation

package/chrony: bump to version 4.7

PATCH Superseded Scott Fan 2 participants 4 messages Jul 13, 2025 – Jul 14, 2025

lore
Share & tools
lore

Scott Fan

author
#0 lore raw

PATCH 1/1 package/chrony: bump to version 4.7

Release notes: https://chrony-project.org/news.html

---
 package/chrony/chrony.hash | 4 ++--
 package/chrony/chrony.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/chrony/chrony.hash +2 -2
index 25535e723e..75555fed9e 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://chrony-project.org/releases/chrony-4.6.1-tar-gz-asc.txt
-sha256  571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c  chrony-4.6.1.tar.gz
+# https://chrony-project.org/releases/chrony-4.7-tar-gz-asc.txt
+sha256  c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b  chrony-4.7.tar.gz
 # Locally calculated
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
package/chrony/chrony.mk +1 -1
index 642e1d8fd6..f2aca81d60 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CHRONY_VERSION = 4.6.1
+CHRONY_VERSION = 4.7
 CHRONY_SITE = https://chrony-project.org/releases
 CHRONY_LICENSE = GPL-2.0
 CHRONY_LICENSE_FILES = COPYING
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Scott,

Thanks for the patch.

Quoted 1 line · Scott Fan

Release notes: https://chrony-project.org/news.html

We can read in this release note:
"Drop support for building without POSIX threads".

Indeed, pthread was made a hard requirement in upstream commit:
https://gitlab.com/chrony/chrony/-/commit/75bbccf518c617150ffaee30c7f229172b28353f
included in this new version.

For that reason, this bump fail to build with toolchains without threads. See:
https://gitlab.com/jolivain/buildroot/-/pipelines/1923986229

Could you send an updated version of this patch taking into account this new dependency please?

Quoted 34 lines
---
 package/chrony/chrony.hash | 4 ++--
 package/chrony/chrony.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
package/chrony/chrony.hash +0 -2
index 25535e723e..75555fed9e 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://chrony-project.org/releases/chrony-4.6.1-tar-gz-asc.txt
-sha256  

571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c chrony-4.6.1.tar.gz

package/chrony/chrony.hash +2 -0
+# https://chrony-project.org/releases/chrony-4.7-tar-gz-asc.txt
+sha256  

c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b chrony-4.7.tar.gz
# Locally calculated
sha256
ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING

package/chrony/chrony.mk +1 -1
index 642e1d8fd6..f2aca81d60 100644
@@ -4,7 +4,7 @@
 #
 
 ################################################################################
 
-CHRONY_VERSION = 4.6.1
+CHRONY_VERSION = 4.7
 CHRONY_SITE = https://chrony-project.org/releases
 CHRONY_LICENSE = GPL-2.0
Quoted 3 lines

CHRONY_LICENSE_FILES = COPYING
--
2.43.0

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

author
#2 lore raw

PATCH v2 1/1 package/chrony: bump to version 4.7

In reply to Scott Fan

Release notes: https://chrony-project.org/news.html

Since this release, building without POSIX threads is no longer supported. So add a depends on BR2_TOOLCHAIN_HAS_THREADS.

---
Changes v1 -> v2:
- add toolchain threads dependency for pthread

---
 package/chrony/Config.in   | 5 +++++
 package/chrony/chrony.hash | 4 ++--
 package/chrony/chrony.mk   | 2 +-
 3 files changed, 8 insertions(+), 3 deletions(-)
package/chrony/Config.in +5 -0
index 453e4f6c3f..d08b0ba6e9 100644
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_CHRONY
 	bool "chrony"
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	select BR2_PACKAGE_LIBCAP
 	help
 	  Chrony is a pair of programs which are used to maintain the
@@ -18,3 +19,7 @@ config BR2_PACKAGE_CHRONY_DEBUG_LOGGING
 	  not be compiled in.
 
 endif
+
+comment "chrony needs a toolchain w/ threads"
+	depends on BR2_USE_MMU
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
package/chrony/chrony.hash +2 -2
index 25535e723e..75555fed9e 100644
@@ -1,5 +1,5 @@
 # Locally calculated after checking pgp signature
-# https://chrony-project.org/releases/chrony-4.6.1-tar-gz-asc.txt
-sha256  571ff73fbf0ae3097f0604eca2e00b1d8bb2e91affe1a3494785ff21d6199c5c  chrony-4.6.1.tar.gz
+# https://chrony-project.org/releases/chrony-4.7-tar-gz-asc.txt
+sha256  c0de41a8c051e5d32b101b5f7014b98ca978b18e592f30ce6840b6d4602d947b  chrony-4.7.tar.gz
 # Locally calculated
 sha256  ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  COPYING
package/chrony/chrony.mk +1 -1
index 642e1d8fd6..f2aca81d60 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-CHRONY_VERSION = 4.6.1
+CHRONY_VERSION = 4.7
 CHRONY_SITE = https://chrony-project.org/releases
 CHRONY_LICENSE = GPL-2.0
 CHRONY_LICENSE_FILES = COPYING
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot