From: <yann.morin@orange.com>
To: <buildroot@buildroot.org>
Cc: "Yann E . MORIN" <yann.morin@orange.com>,
Vincent Fazio <vfazio@gmail.com>
Subject: [Buildroot] [PATCH 0/2] package/filebeat: new package
Date: Mon, 30 Oct 2023 10:22:47 +0100 [thread overview]
Message-ID: <cover.1698657764.git.yann.morin@orange.com> (raw)
From: "Yann E. MORIN" <yann.morin@orange.com>
Hello All!
This two-patch series introduces filebeat, an ElasticSearch-related tool
to grab local log files and send them to a remote ElasticSearch server.
It is a bit convoluted (see commit log), and requires a little extension
in our golang-package infrastructure, which we introduce as the first
patch in the series.
$ echo BR2_PACKAGE_FILEBEAT=y >filebeat.cfg
$ ./utils/test-pkg -c filebeat.cfg -p filebeat -d $(pwd)/test-pkg -a
arm-aarch64 [ 1/45]: OK
bootlin-aarch64-glibc [ 2/45]: OK
bootlin-arcle-hs38-uclibc [ 3/45]: SKIPPED
bootlin-armv5-uclibc [ 4/45]: OK
bootlin-armv7-glibc [ 5/45]: OK
bootlin-armv7m-uclibc [ 6/45]: SKIPPED
bootlin-armv7-musl [ 7/45]: OK
bootlin-m68k-5208-uclibc [ 8/45]: SKIPPED
bootlin-m68k-68040-uclibc [ 9/45]: SKIPPED
bootlin-microblazeel-uclibc [10/45]: SKIPPED
bootlin-mipsel32r6-glibc [11/45]: SKIPPED
bootlin-mipsel-uclibc [12/45]: SKIPPED
bootlin-nios2-glibc [13/45]: SKIPPED
bootlin-openrisc-uclibc [14/45]: SKIPPED
bootlin-powerpc64le-power8-glibc [15/45]: OK
bootlin-powerpc-e500mc-uclibc [16/45]: SKIPPED
bootlin-riscv32-glibc [17/45]: SKIPPED
bootlin-riscv64-glibc [18/45]: SKIPPED
bootlin-riscv64-musl [19/45]: SKIPPED
bootlin-s390x-z13-glibc [20/45]: OK
bootlin-sh4-uclibc [21/45]: SKIPPED
bootlin-sparc64-glibc [22/45]: SKIPPED
bootlin-sparc-uclibc [23/45]: SKIPPED
bootlin-x86-64-glibc [24/45]: OK
bootlin-x86-64-musl [25/45]: OK
bootlin-x86-64-uclibc [26/45]: OK
bootlin-xtensa-uclibc [27/45]: SKIPPED
br-arm-basic [28/45]: OK
br-arm-full-nothread [29/45]: OK
br-arm-full-static [30/45]: SKIPPED
br-i386-pentium4-full [31/45]: OK
br-i386-pentium-mmx-musl [32/45]: OK
br-mips64-n64-full [33/45]: OK
br-mips64r6-el-hf-glibc [34/45]: SKIPPED
br-powerpc-603e-basic-cpp [35/45]: SKIPPED
br-powerpc64-power7-glibc [36/45]: SKIPPED
linaro-aarch64-be [37/45]: SKIPPED
linaro-aarch64 [38/45]: OK
linaro-arm [39/45]: OK
sourcery-arm-armv4t [40/45]: SKIPPED
sourcery-arm [41/45]: FAILED
sourcery-arm-thumb2 [42/45]: FAILED
sourcery-mips64 [43/45]: FAILED
sourcery-mips [44/45]: SKIPPED
sourcery-nios2 [45/45]: SKIPPED
45 builds, 23 skipped, 5 build failed, 0 legal-info failed, 0 show-info failed
Analysis of each build failure:
- sourcery-arm, sourcery-arm-thumb2:
=> the failure with the sourcery-arm toolchain is expected: it is
very old, and uses binutils that did not not have a ld.gold, so no
ld.bfd either, just a plain ld, hence our workaround against the
go workaround does not work, as expected.
- sourcery-mips64:
=> host-go does not build, so not a filebeat issue
- bootlin-riscv64-glibc, bootlin-riscv64-musl:
=> filebeat has no implementation for its internal atomic ints on
riscv64
- other skips due to go arch dependencies: no go, no beat.
Regards,
Yann E. MORIN.
The following changes since commit bc8d214e988b95b125ad2b9409286cbf820370b0
package/python-django: bump version to 4.2.6 (2023-10-22 20:37:13 +0200)
are available as patches in this mail series,
for you to apply patches up to dd3cad7bdab3590524ea1273910c66812cb4f4d8
package/filebeat: new package (2023-10-30 10:21:47 +0100)
----------------------------------------------------------------
Yann E. MORIN (2):
package/pkg-golang: allow packages to provide extldflags
package/filebeat: new package
docs/manual/adding-packages-golang.adoc | 6 ++-
package/Config.in | 1 +
package/filebeat/Config.in | 14 ++++++
package/filebeat/filebeat.default | 1 +
package/filebeat/filebeat.hash | 5 ++
package/filebeat/filebeat.mk | 85 +++++++++++++++++++++++++++++++++
package/filebeat/filebeat.service | 13 +++++
package/filebeat/filebeat.yml | 5 ++
package/pkg-golang.mk | 6 ++-
9 files changed, 133 insertions(+), 3 deletions(-)
create mode 100644 package/filebeat/Config.in
create mode 100644 package/filebeat/filebeat.default
create mode 100644 package/filebeat/filebeat.hash
create mode 100644 package/filebeat/filebeat.mk
create mode 100644 package/filebeat/filebeat.service
create mode 100644 package/filebeat/filebeat.yml
--
____________
.-----------------.--------------------: _ :------------------.
| Yann E. MORIN | Real-Time Embedded | __/ ) | /"\ ASCII RIBBON |
| | Software Designer | _/ - /' | \ / CAMPAIGN |
| +33 638.411.245 '--------------------: (_ `--, | X AGAINST |
| yann.morin (at) orange.com |_=" ,--' | / \ HTML MAIL |
'--------------------------------------:______/_____:------------------'
____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2023-10-30 9:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-30 9:22 yann.morin [this message]
2023-10-30 9:22 ` [Buildroot] [PATCH 1/2] package/pkg-golang: allow packages to provide extldflags yann.morin
2023-11-02 8:51 ` Nathaniel Roach via buildroot
2023-10-30 9:22 ` [Buildroot] [PATCH 2/2] package/filebeat: new package yann.morin
2023-11-02 8:53 ` Nathaniel Roach via buildroot
2024-11-18 6:35 ` [Buildroot] [PATCH 0/2] " yann.morin
-- strict thread matches above, loose matches on Subject: below --
2023-11-09 16:39 yann.morin
2024-10-26 16:44 ` Thomas Petazzoni via buildroot
2024-10-26 17:37 ` Christian Stewart via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1698657764.git.yann.morin@orange.com \
--to=yann.morin@orange.com \
--cc=buildroot@buildroot.org \
--cc=vfazio@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox