* [Buildroot] [PATCH] package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency
@ 2026-09-13 19:47 Thomas Petazzoni via buildroot
2026-09-13 20:01 ` Julien Olivain via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-13 19:47 UTC (permalink / raw)
To: buildroot; +Cc: Thomas Petazzoni, Bernd Kuhls
In commit 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav:
bump version to 1.0.1"), select BR2_PACKAGE_JSON_C was added to
BR2_PACKAGE_CLAMAV without propagating the BR2_TOOLCHAIN_HAS_SYNC_4
dependency from BR2_PACKAGE_JSON_C.
Since at the same time a dependency on
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was added to clamav and
Rust is not supported on the few architectures that don't have 4-byte
sync intrinsics, this has basically no effect, but ensure a correct
propagation of dependencies.
Fixes: 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav: bump version to 1.0.1")
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
package/clamav/Config.in | 2 ++
1 file changed, 2 insertions(+)
diff --git a/package/clamav/Config.in b/package/clamav/Config.in
index 839518ebd6..92cd75cf70 100644
--- a/package/clamav/Config.in
+++ b/package/clamav/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_CLAMAV
depends on BR2_USE_MMU # fork()
depends on !BR2_STATIC_LIBS # dlopen
depends on BR2_USE_WCHAR
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
select BR2_PACKAGE_BZIP2
select BR2_PACKAGE_HOST_RUSTC
select BR2_PACKAGE_JSON_C
@@ -29,3 +30,4 @@ comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar"
|| !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS
depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4
--
2.55.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [Buildroot] [PATCH] package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency
2026-09-13 19:47 [Buildroot] [PATCH] package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency Thomas Petazzoni via buildroot
@ 2026-09-13 20:01 ` Julien Olivain via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Julien Olivain via buildroot @ 2026-09-13 20:01 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: buildroot, Bernd Kuhls
On 13/09/2026 21:47, Thomas Petazzoni via buildroot wrote:
> In commit 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav:
> bump version to 1.0.1"), select BR2_PACKAGE_JSON_C was added to
> BR2_PACKAGE_CLAMAV without propagating the BR2_TOOLCHAIN_HAS_SYNC_4
> dependency from BR2_PACKAGE_JSON_C.
>
> Since at the same time a dependency on
> BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was added to clamav and
> Rust is not supported on the few architectures that don't have 4-byte
> sync intrinsics, this has basically no effect, but ensure a correct
> propagation of dependencies.
>
> Fixes: 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav: bump
> version to 1.0.1")
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-13 20:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-13 19:47 [Buildroot] [PATCH] package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency Thomas Petazzoni via buildroot
2026-09-13 20:01 ` 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