Since fluent-bit 3.2.0 came out, I worked on building the package again. Please see a patch from me below:
https://gist.github.com/zearan/c7fc3cab1086efe007b7479bf21eb4f8
$ git apply aur-fluent-bit-3.2.1.patch
Git Clone URL: | https://aur.archlinux.org/fluent-bit.git (read-only, click to copy) |
---|---|
Package Base: | fluent-bit |
Description: | Collect data/logs from different sources, unify and send them to multiple destinations |
Upstream URL: | https://fluentbit.io/ |
Keywords: | elasticsearch fluentd |
Licenses: | Apache-2.0 |
Submitter: | jjm |
Maintainer: | jjm |
Last Packager: | jjm |
Votes: | 7 |
Popularity: | 0.047393 |
First Submitted: | 2018-08-13 11:24 (UTC) |
Last Updated: | 2024-06-06 21:26 (UTC) |
Since fluent-bit 3.2.0 came out, I worked on building the package again. Please see a patch from me below:
https://gist.github.com/zearan/c7fc3cab1086efe007b7479bf21eb4f8
$ git apply aur-fluent-bit-3.2.1.patch
Current versions are not building, there are branches for 3.0.7, 3.1.0 and 3.1.1 at https://gitlab.com/j0057-git/aur/fluent-bit -- feel free to dig in and propose fixes.
Currently unable to upgrade pending resolution of issue #8858 at https://github.com/fluent/fluent-bit/issues/8858. In the meantime, branches update-to-3.0.3 and update-to-3.0.4 are available at https://gitlab.com/j0057-git/aur/fluent-bit.
Be aware that versions previous to 3.0.4 has a documented CVE; see https://nvd.nist.gov/vuln/detail/CVE-2024-4323.
UPDATE 2023-06-06: Patched until fix lands in master.
Do you mind to update the version of fluent-bit to the latest v3.0.2? See https://fluentbit.io/announcements/v3.0.0/
Will update to 1.9.2 once bug report at https://github.com/fluent/fluent-bit/issues/5328 is resolved and/or closed.
Here is a PKGBUILD that works for 1.9.2:
https://gist.github.com/bbidulock/df59ef07fa18f5dc8b6f91749c977fef
Systemd input plugin does not work :/
Input plugin 'systemd' cannot be loaded
Error: Configuration file contains errors. Aborting
Got the error
mv: cannot stat '/build/fluent-bit/pkg/fluent-bit/lib/systemd/system/fluent-bit.service': No such file or directory
I guess it's because I'm trying to build on a system without systemd :/
This little patch helped https://gist.github.com/crabvk/13a77e2f855b5739b87d1d71c21e25ba
plz add deps for librdkafka and build flag -DFLB_OUT_KAFKA=On
Pinned Comments
jjm commented on 2024-07-11 07:06 (UTC)
Current versions are not building, there are branches for 3.0.7, 3.1.0 and 3.1.1 at https://gitlab.com/j0057-git/aur/fluent-bit -- feel free to dig in and propose fixes.