[Bug 239435] net/wireshark-qt5
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jul 25 02:15:06 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239435
Bug ID: 239435
Summary: net/wireshark-qt5
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: doctor at doctor.nl2k.ab.ca
getting:
[1682/2329] /usr/local/bin/clang80 -DG_DISABLE_DEPRECATED
-DG_DISABLE_SINGLE_INCLUDES -I.
-I/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3 -isystem
/usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-fvisibility=hidden -Qunused-arguments -Wall -Wextra -Wendif-labels
-Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress
-Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas
-Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma
-Wshorten-64-to-32 -Wframe-larger-than=32768 -Wc++-compat
-Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition
-Wstrict-prototypes -Werror=implicit -std=gnu99 -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIE -MD -MT CMakeFiles/dumpcap.dir/dumpcap.c.o -MF
CMakeFiles/dumpcap.dir/dumpcap.c.o.d -o CMakeFiles/dumpcap.dir/dumpcap.c.o -c
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c
FAILED: CMakeFiles/dumpcap.dir/dumpcap.c.o
/usr/local/bin/clang80 -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -I.
-I/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3 -isystem
/usr/local/include/glib-2.0 -isystem /usr/local/lib/glib-2.0/include
-fvisibility=hidden -Qunused-arguments -Wall -Wextra -Wendif-labels
-Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress
-Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas
-Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma
-Wshorten-64-to-32 -Wframe-larger-than=32768 -Wc++-compat
-Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition
-Wstrict-prototypes -Werror=implicit -std=gnu99 -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -O2
-pipe -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIE -MD -MT CMakeFiles/dumpcap.dir/dumpcap.c.o -MF
CMakeFiles/dumpcap.dir/dumpcap.c.o.d -o CMakeFiles/dumpcap.dir/dumpcap.c.o -c
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:697:31: warning:
declaration of 'struct bpf_program' will not be visible outside of this
function [-Wvisibility]
struct bpf_program *fcode, const char *cfilter)
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:723:30: warning:
incompatible pointer types passing 'struct bpf_program *' to parameter of type
'struct bpf_program *' [-Wincompatible-pointer-types]
if (pcap_compile(pcap_h, fcode, (char *)cfilter, 1, netmask) < 0)
^~~~~
/usr/local/include/pcap/pcap.h:456:57: note: passing argument to parameter here
PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int,
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:739:24: error:
variable has incomplete type 'struct bpf_program'
struct bpf_program fcode;
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:739:12: note:
forward declaration of 'struct bpf_program'
struct bpf_program fcode;
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:782:43: error:
arithmetic on a pointer to an incomplete type 'struct bpf_insn'
for (i = 0; i < fcode.bf_len; insn++, i++)
~~~~^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:740:12: note:
forward declaration of 'struct bpf_insn'
struct bpf_insn *insn;
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:783:38: warning:
incompatible pointer types passing 'struct bpf_insn *' to parameter of type
'const struct bpf_insn *' [-Wincompatible-pointer-types]
printf("%s\n", bpf_image(insn, i));
^~~~
/usr/local/include/pcap/pcap.h:526:49: note: passing argument to parameter here
PCAP_API char *bpf_image(const struct bpf_insn *, int);
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:3032:24: error:
variable has incomplete type 'struct bpf_program'
struct bpf_program fcode;
^
/usr/ports/net/wireshark-qt5/work/wireshark-3.0.3/dumpcap.c:3032:12: note:
forward declaration of 'struct bpf_program'
struct bpf_program fcode;
^
3 warnings and 3 errors generated.
ninja: build stopped: subcommand failed.
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/wireshark-qt5
*** Error code 1
Stop.
make: stopped in /usr/ports/net/wireshark-qt5
===>>> make build failed for net/wireshark-qt5
===>>> Aborting update
Any fix?
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list