[Bug 260541] net/libpcap fails to build on amd64 stable/13 in poudriere testport
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 19 Dec 2021 12:57:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260541
Bug ID: 260541
Summary: net/libpcap fails to build on amd64 stable/13 in
poudriere testport
Product: Ports & Packages
Version: Latest
Hardware: Any
URL: https://cloud.zyxst.net/~john/FreeBSD/amd64-stable/lib
pcap-1.10.1.log
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: garga@FreeBSD.org
Reporter: tech-lists@zyxst.net
Assignee: garga@FreeBSD.org
Flags: maintainer-feedback?(garga@FreeBSD.org)
Hi,
for full log from poudriere testport, please see
https://cloud.zyxst.net/~john/FreeBSD/amd64-stable/libpcap-1.10.1.log
net/libpcap fails here:
cc -fvisibility=hidden -O2 -pipe -march=haswell -fstack-protector-strong
-fno-strict-aliasing -fPIC -fpic -I. -DBUILDING_PCAP -Dpcap_EXPORTS
-DHAVE_CON
FIG_H -O2 -pipe -march=haswell -fstack-protector-strong -fno-strict-aliasing
-fPIC -c scanner.c
In file included from grammar.y:102:
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:117:8: note: previous definition is here
struct bpf_program {
^
In file included from grammar.y:102:
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:245:8: note: previous definition is here
struct bpf_insn {
^
2 errors generated.
gmake[1]: *** [Makefile:542: grammar.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
./gencode.c:3586:7: error: use of undeclared identifier 'DLT_IEEE802_15_4_TAP'
case DLT_IEEE802_15_4_TAP:
^
1 error generated.
gmake[1]: *** [Makefile:545: gencode.o] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/net/libpcap/work/libpcap-1.10.1'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/ports/net/libpcap
--
You are receiving this mail because:
You are the assignee for the bug.