Skip to contentSkip to conversation

package/netdata: propagate gcc version dependency of protobuf

PATCH Applied Thomas Petazzoni via buildroot 1 participant 3 messages Sep 15 – Sep 25

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/netdata: propagate gcc version dependency of protobuf

Since the bump of libabseil-cpp in commit 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c, it requires gcc 10. As part of this commit, the protobuf package was updated, but not its reverse dependency netdata. This commit fixes this issue.

Fixes 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0")
---
 package/netdata/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/netdata/Config.in +3 -3
index 527d4d39af..2c7d456528 100644
@@ -23,14 +23,14 @@ if BR2_PACKAGE_NETDATA
 config BR2_PACKAGE_NETDATA_PROMETHEUS
 	bool "prometheus remote write backend"
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # protobuf
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # protobuf
 	select BR2_PACKAGE_PROTOBUF
 	select BR2_PACKAGE_SNAPPY
 	help
 	  Enable prometheus remote write backend
 
-comment "prometheus remote write backend needs a toolchain w/ gcc >= 8"
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+comment "prometheus remote write backend needs a toolchain w/ gcc >= 10"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 
 endif
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

Since the bump of libabseil-cpp in commit 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c, it requires gcc 10. As part of this commit, the protobuf package was updated, but not its reverse dependency netdata. 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

#2 lore raw
In reply to Thomas Petazzoni via buildroot

In reply of:

Quoted 7 lines

Since the bump of libabseil-cpp in commit 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c, it requires gcc 10. As part of this commit, the protobuf package was updated, but not its reverse dependency netdata. This commit fixes this issue.

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

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 16 lines
---
 package/netdata/Config.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
package/netdata/Config.in +1 -1
index 527d4d39af..2c7d456528 100644
@@ -23,14 +23,14 @@ if BR2_PACKAGE_NETDATA
 config BR2_PACKAGE_NETDATA_PROMETHEUS
 	bool "prometheus remote write backend"
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
-	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # protobuf
+	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # protobuf
 	select BR2_PACKAGE_PROTOBUF
 	select BR2_PACKAGE_SNAPPY

package/netdata/Config.in if BR2_PACKAGE_NETDATA · line 36

Quoted 10 lines
package/netdata/Config.in +2 -2
 	help
 	  Enable prometheus remote write backend
 
-comment "prometheus remote write backend needs a toolchain w/ gcc >= 8"
-	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_8
+comment "prometheus remote write backend needs a toolchain w/ gcc >= 10"
+	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_10
 	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
 
 endif

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