Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] telegraf: update to 1.18.3
@ 2021-05-25 17:11 damadmai
  2021-05-25 17:12 ` damadmai
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: damadmai @ 2021-05-25 17:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]

There is a new pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages telegraf
https://github.com/void-linux/void-packages/pull/31116

telegraf: update to 1.18.3
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31116.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-telegraf-31116.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]

From a4dcf93df16dcdb384295d9361d75a251fc5b9c5 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Tue, 25 May 2021 19:01:24 +0200
Subject: [PATCH] telegraf: update to 1.18.3

---
 srcpkgs/telegraf/template | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/telegraf/template b/srcpkgs/telegraf/template
index 4e9f48224d56..18f2ea03aa06 100644
--- a/srcpkgs/telegraf/template
+++ b/srcpkgs/telegraf/template
@@ -1,25 +1,19 @@
 # Template file for 'telegraf'
 pkgname=telegraf
-version=1.12.6
+version=1.18.3
 revision=1
 build_style=go
 go_import_path=github.com/influxdata/telegraf
 go_package="${go_import_path}/cmd/telegraf"
 go_ldflags="-X main.version=${version}"
-hostmakedepends="dep"
 short_desc="Plugin-driven server agent for collecting & reporting metrics"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MIT"
 homepage="https://www.influxdata.com/time-series-platform/telegraf/"
-distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz"
-checksum=b585c985f06ff9cfd7fdbf19df34e409385729e8ea29c84a76f1a0762a46014e
+distfiles="https://github.com/influxdata/${pkgname}/archive/v${version}.tar.gz"
+checksum=18131af75eea19d0fa7ac3c0c97d9cf941a4e77acf233be6324b208833d02cea
 system_accounts="_telegraf"
 
-pre_build() {
-	cd $GOSRCPATH
-	dep ensure
-}
-
 post_install() {
 	vlicense LICENSE
 	vsv ${pkgname}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
@ 2021-05-25 17:12 ` damadmai
  2021-05-25 17:19 ` ericonr
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: damadmai @ 2021-05-25 17:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 182 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/31116#issuecomment-848059214

Comment:
Building without `dep` worked just fine.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
  2021-05-25 17:12 ` damadmai
@ 2021-05-25 17:19 ` ericonr
  2021-06-07 14:12 ` ericonr
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-05-25 17:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1844 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31116#issuecomment-848063725

Comment:
Besides segfaulting the compiler for ARM targets, looks good:

```
 /usr/lib/go/pkg/tool/linux_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=s9-UTy9Bz5UB1geuAmIY/hP_SdF5FK7RIvyEpJIjN/FIOn9d4r6AmbA-W9Gigd/s9-UTy9Bz5UB1geuAmIY -X main.version=1.18.3 -extld=armv7l-linux-gnueabihf-gcc $WORK/b001/_pkg_.a
# github.com/influxdata/telegraf/cmd/telegraf
net(.text): direct call too far: .plt a6878e
net(.text): direct call too far: .plt a68783
net(.text): direct call too far: .plt a6876a
net(.text): direct call too far: .plt a6875b
net(.text): direct call too far: .plt a68759
net(.text): direct call too far: .plt a68752
net(.text): direct call too far: .plt a6874f
net(.text): direct call too far: .plt a6873a
runtime/cgo(.text): direct call too far: .plt a68728
runtime/cgo(.text): direct call too far: .plt a68726
runtime/cgo(.text): direct call too far: .plt a68726
runtime/cgo(.text): direct call too far: .plt a68728
runtime/cgo(.text): direct call too far: .plt a68719
runtime/cgo(.text): direct call too far: .plt a68715
runtime/cgo(.text): direct call too far: .plt a68711
runtime/cgo(.text): direct call too far: .plt a68700
runtime/cgo(.text): direct call too far: .plt a686ed
runtime/cgo(.text): direct call too far: .plt a686f5
runtime/cgo(.text): direct call too far: .plt a686ec
runtime/cgo(.text): direct call too far: .plt a686df
runtime/cgo(.text): direct call too far: .plt a686e1
/usr/lib/go/pkg/tool/linux_amd64/link: too many errors
unexpected fault address 0x7f8905077000
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x1 addr=0x7f8905077000 pc=0x46dde1]
```

@the-maldridge looks ok?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
  2021-05-25 17:12 ` damadmai
  2021-05-25 17:19 ` ericonr
@ 2021-06-07 14:12 ` ericonr
  2021-06-11 19:02 ` [PR PATCH] [Updated] " damadmai
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-06-07 14:12 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 284 bytes --]

New comment by ericonr on void-packages repository

https://github.com/void-linux/void-packages/pull/31116#issuecomment-855965031

Comment:
Just merged a Go update that carries this commit https://github.com/golang/go/commit/305fa952c23b67e03a21d30318b945fddb2f3916, maybe try again?

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
                   ` (2 preceding siblings ...)
  2021-06-07 14:12 ` ericonr
@ 2021-06-11 19:02 ` damadmai
  2021-06-11 19:14 ` damadmai
  2021-06-12  1:57 ` [PR PATCH] [Closed]: " ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: damadmai @ 2021-06-11 19:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

There is an updated pull request by damadmai against master on the void-packages repository

https://github.com/damadmai/void-packages telegraf
https://github.com/void-linux/void-packages/pull/31116

telegraf: update to 1.18.3
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/31116.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-telegraf-31116.patch --]
[-- Type: text/x-diff, Size: 1418 bytes --]

From 6fa4ea09fa041dcfb8da02d93951a8331fa57807 Mon Sep 17 00:00:00 2001
From: "Daniel A. Maierhofer" <git@damadmai.at>
Date: Tue, 25 May 2021 19:01:24 +0200
Subject: [PATCH] telegraf: update to 1.18.3

---
 srcpkgs/telegraf/template | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/telegraf/template b/srcpkgs/telegraf/template
index 4e9f48224d56..18f2ea03aa06 100644
--- a/srcpkgs/telegraf/template
+++ b/srcpkgs/telegraf/template
@@ -1,25 +1,19 @@
 # Template file for 'telegraf'
 pkgname=telegraf
-version=1.12.6
+version=1.18.3
 revision=1
 build_style=go
 go_import_path=github.com/influxdata/telegraf
 go_package="${go_import_path}/cmd/telegraf"
 go_ldflags="-X main.version=${version}"
-hostmakedepends="dep"
 short_desc="Plugin-driven server agent for collecting & reporting metrics"
 maintainer="Michael Aldridge <maldridge@voidlinux.org>"
 license="MIT"
 homepage="https://www.influxdata.com/time-series-platform/telegraf/"
-distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz"
-checksum=b585c985f06ff9cfd7fdbf19df34e409385729e8ea29c84a76f1a0762a46014e
+distfiles="https://github.com/influxdata/${pkgname}/archive/v${version}.tar.gz"
+checksum=18131af75eea19d0fa7ac3c0c97d9cf941a4e77acf233be6324b208833d02cea
 system_accounts="_telegraf"
 
-pre_build() {
-	cd $GOSRCPATH
-	dep ensure
-}
-
 post_install() {
 	vlicense LICENSE
 	vsv ${pkgname}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
                   ` (3 preceding siblings ...)
  2021-06-11 19:02 ` [PR PATCH] [Updated] " damadmai
@ 2021-06-11 19:14 ` damadmai
  2021-06-12  1:57 ` [PR PATCH] [Closed]: " ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: damadmai @ 2021-06-11 19:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 205 bytes --]

New comment by damadmai on void-packages repository

https://github.com/void-linux/void-packages/pull/31116#issuecomment-859787862

Comment:
I just pushed again, but it still did not compile successfully.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: telegraf: update to 1.18.3
  2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
                   ` (4 preceding siblings ...)
  2021-06-11 19:14 ` damadmai
@ 2021-06-12  1:57 ` ericonr
  5 siblings, 0 replies; 7+ messages in thread
From: ericonr @ 2021-06-12  1:57 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

There's a closed pull request on the void-packages repository

telegraf: update to 1.18.3
https://github.com/void-linux/void-packages/pull/31116

Description:
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-12  1:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-25 17:11 [PR PATCH] telegraf: update to 1.18.3 damadmai
2021-05-25 17:12 ` damadmai
2021-05-25 17:19 ` ericonr
2021-06-07 14:12 ` ericonr
2021-06-11 19:02 ` [PR PATCH] [Updated] " damadmai
2021-06-11 19:14 ` damadmai
2021-06-12  1:57 ` [PR PATCH] [Closed]: " ericonr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).