Skip to contentSkip to conversation

package/usbguard: fix gcc version dependency after libabseil-cpp bump

PATCH In review Thomas Petazzoni via buildroot 1 participant 2 messages Sep 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/usbguard: fix gcc version dependency after libabseil-cpp bump

In commit
76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0"), libabseil-cpp was bumped, which required the gcc >= 8.x dependency to be upgraded to a gcc >= 10.x dependency. This was properly done in package/protobuf as part of this commit, as protobuf is a reverse dependency of libabseil-cpp.

However, usbguard, which is a reverse dependency of protobuf, was forgotten, and it no longer carries the correct gcc dependency.

This commit fixes this issue.

Fixes 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0")
---
 package/usbguard/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/usbguard/Config.in +3 -3
index 254209ff64..b71333aed9 100644
@@ -3,7 +3,7 @@ config BR2_PACKAGE_USBGUARD
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
 	depends on BR2_INSTALL_LIBSTDCPP # protobuf
 	depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # protobuf, C++17 filesystem
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # protobuf
 	depends on !BR2_STATIC_LIBS # libqb, protobuf
 	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
 	select BR2_PACKAGE_PROTOBUF
@@ -18,9 +18,9 @@ config BR2_PACKAGE_USBGUARD
 
 	  https://usbguard.github.io/
 
-comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 8"
+comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 10"
 	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
-		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 
 comment "usbguard needs a toolchain not affected by GCC bug 64735"
Signature · 6 lines
2.55.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines · Thomas Petazzoni via buildroot

In commit
76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0"), libabseil-cpp was bumped, which required the gcc >= 8.x dependency to be upgraded to a gcc >= 10.x dependency. This was properly done in package/protobuf as part of this commit, as protobuf is a reverse dependency of libabseil-cpp.

Quoted 7 lines

However, usbguard, which is a reverse dependency of protobuf, was forgotten, and it no longer carries the correct gcc dependency.

This commit fixes this issue.

Fixes 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0")

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot