summaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2024-07-06 15:37:10 +0700
committerShulhan <ms@kilabit.info>2024-07-06 15:37:10 +0700
commit8fe614a0877973d85c7c5d6c444901b34592b0f4 (patch)
tree671d96b5aca479032d0b92a3638ff8bec372016c /PKGBUILD
parent67b086d7360f5dc05022b2fce1c13a153ba7b6a0 (diff)
downloadgoogle-cloud-ops-agent-git-8fe614a0877973d85c7c5d6c444901b34592b0f4.tar.xz
all: fix building fluent-bit on gcc 14.1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8723c6b..85b5182 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: shulhan <ms@kilabit.info>
pkgname=google-cloud-ops-agent-git
-pkgver=2.42.0.r4.g277352dd2
+pkgver=2.48.0.r5.g4b3b7496c
pkgrel=1
pkgdesc="Ops Agents that are part of the Google Cloud Operations product suite (specifically Cloud Logging and Cloud Monitoring)"
@@ -37,6 +37,7 @@ source=(
"opentelemetry-operations-collector::git+https://github.com/GoogleCloudPlatform/opentelemetry-operations-collector.git"
"opentelemetry-java-contrib::git+https://github.com/open-telemetry/opentelemetry-java-contrib.git"
"0001-build-sh.patch"
+ "fluent-bit-8901-fix-gcc-14.1.patch"
)
sha256sums=(
'SKIP'
@@ -44,6 +45,7 @@ sha256sums=(
'SKIP'
'SKIP'
'ba66d01b8058644597d9b406d3b8ce7ed40aed77c7358f2b97ff0e262a4cbb98'
+ '8f986cebd9e22b57445fd533389b56d73eb0006a6a292c69d8b52e9f2b6ed7d2'
)
pkgver() {
@@ -73,6 +75,8 @@ build() {
echo "--- Applying patches ..."
cd "${pkgname}"
git apply "${srcdir}/0001-build-sh.patch"
+ ## See: https://github.com/fluent/fluent-bit/issues/8858
+ git apply --directory=submodules/fluent-bit "${srcdir}/fluent-bit-8901-fix-gcc-14.1.patch"
echo "--- Building otel ..."
CGO_ENABLED=1 ./builds/otel.sh "$_destdir"