[Bug 286428] net/packetdrill: fails to build

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 28 Apr 2025 22:23:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286428

            Bug ID: 286428
           Summary: net/packetdrill: fails to build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: olivier@freebsd.org
          Reporter: portmaster@bsdforge.com
          Assignee: olivier@freebsd.org
             Flags: maintainer-feedback?(olivier@freebsd.org)

net/packetdrill (0.0.2024040800) fails to build...


port revision @ 79c842114f11e2151d873f1f069b542271f20e1a
Apr 16 00:16:39 2025 +0200

kernel/world revistion @ 15.0-CURRENT #1 main-n276516-65d8491719bb
Apr 21 12:39:46 PDT 2025

error message:

--- symbols_openbsd.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Werror
-Wno-deprecated-declarations -g -c symbols_openbsd.c -o symbols_openbsd.o
--- symbols_netbsd.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Werror
-Wno-deprecated-declarations -g -c symbols_netbsd.c -o symbols_netbsd.o
--- symbols_freebsd.o ---
symbols_freebsd.c:507:4: error: use of undeclared identifier 'TCP_PCAP_OUT';
did you mean 'TCP_LOG_OUT'?
  507 |         { TCP_PCAP_OUT,                     "TCP_PCAP_OUT"             
      },
      |           ^~~~~~~~~~~~
      |           TCP_LOG_OUT
/usr/include/netinet/tcp_log_buf.h:191:2: note: 'TCP_LOG_OUT' declared here
  191 |         TCP_LOG_OUT,            /* Transmit (without other event)    2
*/
      |         ^
--- symbols_darwin.o ---
--- symbols_freebsd.o ---
symbols_freebsd.c:508:4: error: use of undeclared identifier 'TCP_PCAP_IN'; did
you mean 'TCP_LOG_IN'?
  508 |         { TCP_PCAP_IN,                      "TCP_PCAP_IN"              
      },
      |           ^~~~~~~~~~~
      |           TCP_LOG_IN
/usr/include/netinet/tcp_log_buf.h:190:2: note: 'TCP_LOG_IN' declared here
  190 |         TCP_LOG_IN = 1,         /* Incoming packet                   1
*/
      |         ^
--- symbols_darwin.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Werror
-Wno-deprecated-declarations -g -c symbols_darwin.c -o symbols_darwin.o
--- symbols_solaris.o ---
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Werror
-Wno-deprecated-declarations -g -c symbols_solaris.c -o symbols_solaris.o
--- symbols_freebsd.o ---
2 errors generated.
*** [symbols_freebsd.o] Error code 1

make: stopped making "all" in
/usr/ports/net/packetdrill/work/packetdrill-cf1e7b7/gtests/net/packetdrill
make: 1 error

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