Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/chrony: bump to version 4.7
@ 2025-07-13  4:00 Scott Fan
  2025-07-13  9:40 ` Julien Olivain via buildroot
  2025-07-14 11:37 ` [Buildroot] [PATCH v2] " Scott Fan
  0 siblings, 2 replies; 4+ messages in thread
From: Scott Fan @ 2025-07-13  4:00 UTC (permalink / raw)
  To: buildroot; +Cc: Scott Fan

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

Signed-off-by: Scott Fan <fancp2007@gmail.com>
---
 package/chrony/chrony.hash | 4 ++--
 package/chrony/chrony.mk   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/chrony/chrony.hash b/package/chrony/chrony.hash
index 25535e723e..75555fed9e 100644
--- a/package/chrony/chrony.hash
+++ b/package/chrony/chrony.hash
@@ -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
diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk
index 642e1d8fd6..f2aca81d60 100644
--- a/package/chrony/chrony.mk
+++ b/package/chrony/chrony.mk
@@ -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
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH] package/chrony: bump to version 4.7
  2025-07-13  4:00 [Buildroot] [PATCH] package/chrony: bump to version 4.7 Scott Fan
@ 2025-07-13  9:40 ` Julien Olivain via buildroot
  2025-07-14 11:37 ` [Buildroot] [PATCH v2] " Scott Fan
  1 sibling, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-13  9:40 UTC (permalink / raw)
  To: Scott Fan; +Cc: buildroot

Hi Scott,

Thanks for the patch.

On 13/07/2025 06:00, Scott Fan wrote:
> 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?

> Signed-off-by: Scott Fan <fancp2007@gmail.com>
> ---
>  package/chrony/chrony.hash | 4 ++--
>  package/chrony/chrony.mk   | 2 +-
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/package/chrony/chrony.hash b/package/chrony/chrony.hash
> index 25535e723e..75555fed9e 100644
> --- a/package/chrony/chrony.hash
> +++ b/package/chrony/chrony.hash
> @@ -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
> diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk
> index 642e1d8fd6..f2aca81d60 100644
> --- a/package/chrony/chrony.mk
> +++ b/package/chrony/chrony.mk
> @@ -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
> --
> 2.43.0

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] package/chrony: bump to version 4.7
  2025-07-13  4:00 [Buildroot] [PATCH] package/chrony: bump to version 4.7 Scott Fan
  2025-07-13  9:40 ` Julien Olivain via buildroot
@ 2025-07-14 11:37 ` Scott Fan
  2025-07-14 13:28   ` Julien Olivain via buildroot
  1 sibling, 1 reply; 4+ messages in thread
From: Scott Fan @ 2025-07-14 11:37 UTC (permalink / raw)
  To: buildroot; +Cc: 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.

Signed-off-by: Scott Fan <fancp2007@gmail.com>

---
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(-)

diff --git a/package/chrony/Config.in b/package/chrony/Config.in
index 453e4f6c3f..d08b0ba6e9 100644
--- a/package/chrony/Config.in
+++ b/package/chrony/Config.in
@@ -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
diff --git a/package/chrony/chrony.hash b/package/chrony/chrony.hash
index 25535e723e..75555fed9e 100644
--- a/package/chrony/chrony.hash
+++ b/package/chrony/chrony.hash
@@ -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
diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk
index 642e1d8fd6..f2aca81d60 100644
--- a/package/chrony/chrony.mk
+++ b/package/chrony/chrony.mk
@@ -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
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [Buildroot] [PATCH v2] package/chrony: bump to version 4.7
  2025-07-14 11:37 ` [Buildroot] [PATCH v2] " Scott Fan
@ 2025-07-14 13:28   ` Julien Olivain via buildroot
  0 siblings, 0 replies; 4+ messages in thread
From: Julien Olivain via buildroot @ 2025-07-14 13:28 UTC (permalink / raw)
  To: Scott Fan; +Cc: buildroot

On 14/07/2025 13:37, Scott Fan wrote:
> 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.
> 
> Signed-off-by: Scott Fan <fancp2007@gmail.com>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-07-14 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-13  4:00 [Buildroot] [PATCH] package/chrony: bump to version 4.7 Scott Fan
2025-07-13  9:40 ` Julien Olivain via buildroot
2025-07-14 11:37 ` [Buildroot] [PATCH v2] " Scott Fan
2025-07-14 13:28   ` Julien Olivain via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox