[Bug 288542] sysutils/node_exporter Fails to Build on 13.5-RELEASE
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 288542] sysutils/node_exporter Fails to Build on 13.5-RELEASE"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 16 Aug 2025 08:43:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288542
Natacha Porté <natbsd@instinctive.eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |natbsd@instinctive.eu
--- Comment #1 from Natacha Porté <natbsd@instinctive.eu> ---
Created attachment 263000
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263000&action=edit
possible fix to include in the port
It seems that the inclusion of `sys/queue.h` is somehow missing. I managed to
make an ugly `go install`-based building by adding it directly in my
`/usr/include/netinet/tcp_var.h`.
Is there anyone where with some port-building infrastructure to check whether
patching `collector/netstat_freebsd.go` with an extra `#include <sys/queue.h>`
fixes the issue?
I'm attaching an untested patch which should work when dropped directly into
the `files/` directory of the port (assuming I got everything right), more as
an illustration of what I meant than a real proposal.
However that fixes the symptom, I would be interested in the root cause of why
it used to work and doesn't anymore, considering not much has changed (on
FreeBSD side as well as on node_exporter side). And maybe it would be better to
upstream the fix or just let the issue rot until 13.5 (or even 13) expires.
--
You are receiving this mail because:
You are the assignee for the bug.