[Bug 261242] seciruty/nmap fails to build on 13-STABLE

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 16 Jan 2022 11:58:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261242

            Bug ID: 261242
           Summary: seciruty/nmap fails to build on 13-STABLE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: arcade@b1t.name

In file included from ./gencode.c:80:                                           
In file included from /usr/include/net/if_pflog.h:34:                          
                                                                               
                                                   
/usr/include/net/bpf.h:71:8: error: redefinition of 'bpf_program'               
struct bpf_program {                                                           
                                                                               
                                                           ^                    
./pcap/bpf.h:104:8: note: previous definition is here
struct bpf_program {                                                           
                                                                               
                                                           ^                    
In file included from ./gencode.c:80:
In file included from /usr/include/net/if_pflog.h:34:                           
/usr/include/net/bpf.h:364:8: error: redefinition of 'bpf_insn'                
struct bpf_insn {                    
       ^                                                                        
./pcap/bpf.h:234:8: note: previous definition is here
struct bpf_insn {
       ^
2 errors generated.
gmake[3]: *** [Makefile:484: gencode.o] Error 1
gmake[3]: Leaving directory
'/tmp/ports/usr/ports/security/nmap/work/nmap-7.91/libpcap'
gmake[2]: *** [Makefile:141: build-pcap] Error 2
gmake[2]: *** Waiting for unfinished jobs....

Probably some changes from 14 made they way to 13-STABLE and that change wasn't
picked up by port yet.

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