packages icon indicating copy to clipboard operation
packages copied to clipboard

telegraf: Update to version 1.24.0

Open theatischbein opened this issue 2 years ago • 5 comments

Signed-off-by: Jonathan Pagel [email protected]

Maintainer: me

Compile tested: on amd64 for aarch64_cortex-a53

Run tested: only compile test this time

Description: Add package with version 1.24.0

Telegraf is a plugin-driven agent for collecting and sending metrics and events. It supports various inputs (including prometheus endpoints) and is able to send data into InfluxDB. https://www.influxdata.com/time-series-platform/telegraf/

theatischbein avatar Sep 13 '22 06:09 theatischbein

Building targets
# github.com/influxdata/telegraf/cmd/telegraf
/home/build/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/tool/linux_amd64/link: running arm-openwrt-linux-muslgnueabi-gcc failed: exit status 1
/home/build/openwrt/tmp/go-link-560307284/go.o: in function `github.com/aws/aws-sdk-go-v2/service/kinesis.(*Client).addOperationPutRecordsMiddlewares':
go.go:(.text+0x20763d4): relocation truncated to fit: R_ARM_CALL against `runtime.duffcopy'
collect2: error: ld returned 1 exit status

PolynomialDivision avatar Sep 13 '22 11:09 PolynomialDivision

I don't understand why this fails on only 2 architectures with this error. Can it be a GOLANG problem with the current commit ?

Can we rerun the two failed checks please ?

theatischbein avatar Sep 14 '22 07:09 theatischbein

It is likely some github peculiarity:

Test arm_cortex-a9_vfpv3-d16
Failed to remove 'http.https://github.com/.extraheader' from the git config
Test arm_cortex-a15_neon-vfpv4
Failed to remove 'http.https://github.com/.extraheader' from the git config

I triggered new build for arm_cortex

hnyman avatar Sep 14 '22 19:09 hnyman

Building targets
# github.com/influxdata/telegraf/cmd/telegraf
/home/build/openwrt/staging_dir/hostpkg/lib/go-cross/pkg/tool/linux_amd64/link: running arm-openwrt-linux-muslgnueabi-gcc failed: exit status 1
/home/build/openwrt/tmp/go-link-1932534731/go.o: in function `github.com/aws/aws-sdk-go-v2/service/kinesis.(*Client).addOperationPutRecordsMiddlewares':
go.go:(.text+0x20763d4): relocation truncated to fit: R_ARM_CALL against `runtime.duffcopy'
collect2: error: ld returned 1 exit status


make[2]: *** [Makefile:90: /home/build/openwrt/build_dir/target-arm_cortex-a9+vfpv3-d16_musl_eabi/telegraf-small/telegraf-1.24.0/.built] Error 2

BKPepe avatar Oct 06 '22 09:10 BKPepe

@BKPepe could you please help me to understand why that error occurs or what can I do about it ?

I do not understand it.

theatischbein avatar Oct 06 '22 09:10 theatischbein

Superseded by https://github.com/openwrt/packages/pull/19931

BKPepe avatar Nov 18 '22 10:11 BKPepe