Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Dec 2021 12:57:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 260541] net/libpcap fails to build on amd64 stable/13 in poudriere testport
Message-ID:  <bug-260541-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260541

            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=3Dhidden -O2 -pipe -march=3Dhaswell  -fstack-protector-stro=
ng
-fno-strict-aliasing -fPIC  -fpic -I.  -DBUILDING_PCAP -Dpcap_EXPORTS
-DHAVE_CON
FIG_H  -O2 -pipe -march=3Dhaswell  -fstack-protector-strong -fno-strict-ali=
asing
-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_T=
AP'
        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'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/net/libpcap

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260541-7788>