[Bug 288542] sysutils/node_exporter Fails to Build on 13.5-RELEASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Jul 2025 16:46:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288542

            Bug ID: 288542
           Summary: sysutils/node_exporter Fails to Build on 13.5-RELEASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ryanrfrederick@gmail.com
                CC: dor.bsd@xm0.uk
             Flags: maintainer-feedback?(dor.bsd@xm0.uk)
                CC: dor.bsd@xm0.uk

sysutils/node_exporter currently fails to build on 13.5-RELEASE after the
update to 1.9.1 with the following error:

# 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

===>>> Update for sysutils/node_exporter failed
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> sysutils/node_exporter 

This command has been saved to ~/portmasterfail.txt

-- 
You are receiving this mail because:
You are the assignee for the bug.