Hi, I tried to upgrade sysutils/node_exporter on 3 different BSD's and it fails with same error on every one of them.
Os details:
13.5-RELEASE
go124-1.24.5 = up-to-date with index
I tried rebuilding all packages with portmaster, still fails. Any idea would be appreciated.
Thanks
Code:
golang.org/x/oauth2/clientcredentials
github.com/prometheus/client_golang/prometheus/collectors/version
github.com/prometheus/client_golang/prometheus/collectors
github.com/prometheus/client_golang/prometheus/promhttp
github.com/mwitkow/go-conntrack
github.com/prometheus/node_exporter/collector
github.com/prometheus/common/config
github.com/prometheus/exporter-toolkit/web
github.com/prometheus/exporter-toolkit/web/kingpinflag
# github.com/prometheus/node_exporter/collector
In file included from collector/netstat_freebsd.go:34:
/usr/include/netinet/tcp_var.h:538:2: error: type name requires a specifier or qualifier
538 | TAILQ_ENTRY(tcptw) tw_2msl;
| ^
/usr/include/netinet/tcp_var.h:538:14: error: a parameter list without types is only allowed in a function definition
538 | TAILQ_ENTRY(tcptw) tw_2msl;
| ^
/usr/include/netinet/tcp_var.h:538:20: error: expected ';' at end of declaration list
538 | TAILQ_ENTRY(tcptw) tw_2msl;
| ^
3 errors generated.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/sysutils/node_exporter
*** Error code 1
Stop.
make: stopped in /usr/ports/sysutils/node_exporter
===>>> make build failed for sysutils/node_exporter
===>>> Aborting update
Os details:
13.5-RELEASE
go124-1.24.5 = up-to-date with index
I tried rebuilding all packages with portmaster, still fails. Any idea would be appreciated.
Thanks