Date: Thu, 25 Jul 2019 02:15:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 239435] net/wireshark-qt5 Message-ID: <bug-239435-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239435 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@FreeBSD.org Reporter: doctor@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=3Dhidden -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddr= ess -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wframe-larger-than=3D32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Werror=3Dimplicit -std=3Dgnu99 -O2 -pipe=20 -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=20 /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=3Dhidden -Qunused-arguments -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddr= ess -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -Wcomma -Wshorten-64-to-32 -Wframe-larger-than=3D32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wno-pointer-sign -Wold-style-definition -Wstrict-prototypes -Werror=3Dimplicit -std=3Dgnu99 -O2 -pipe=20 -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 t= ype '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 =3D 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. =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[1]: stopped in /usr/ports/net/wireshark-qt5 *** Error code 1 Stop. make: stopped in /usr/ports/net/wireshark-qt5 =3D=3D=3D>>> make build failed for net/wireshark-qt5 =3D=3D=3D>>> Aborting update Any fix? --=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-239435-7788>