Date: Thu, 19 Feb 2015 09:25:56 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197816] sysutils/pftop: doesn't compile on -CURRENT with GCC (MIPS64) Message-ID: <bug-197816-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197816 Bug ID: 197816 Summary: sysutils/pftop: doesn't compile on -CURRENT with GCC (MIPS64) Product: Ports & Packages Version: Latest Hardware: mips OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: araujo@FreeBSD.org Reporter: daniel.engberg.lists@pyret.net CC: lists@peter.de.com Flags: maintainer-feedback?(araujo@FreeBSD.org) Assignee: araujo@FreeBSD.org I haven't been testing this on the MIPS platform for quite some time now but I think the latest bugfix (188826) only worked with CLANG and not GCC (CLANG doesn't work on MIPS/MIPS64 yet). ===> pftop-0.7_4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pftop-0.7_4 for building ===> Extracting for pftop-0.7_4 => SHA256 Checksum OK for pftop-0.7.tar.gz. ===> Patching for pftop-0.7_4 ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-bpf_dump.c ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-sf-gencode.h ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-cache.c ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-cache.h ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-config.h ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-pftop.c ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-sf-gencode.c ===> Applying extra patch /usr/ports/sysutils/pftop/files/extra-patch-engine.c ===> Applying FreeBSD patches for pftop-0.7_4 ===> Configuring for pftop-0.7_4 ===> Building for pftop-0.7_4 --- objwarn --- Warning: Object directory not changed from original /usr/ports/sysutils/pftop/work/pftop-0.7 --- sf-grammer.c --- --- sf-scanner.c --- --- sf-grammer.c --- yacc -d -o sf-grammer.c sf-grammer.y --- sf-scanner.c --- lex -osf-scanner.c sf-scanner.l --- pftop.8.gz --- gzip -cn pftop.8 > pftop.8.gz --- pftop.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c pftop.c --- cache.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c cache.c --- pftop.o --- pftop.c: In function 'read_states': pftop.c:857: warning: pointer targets in passing argument 2 of 'bpf_filter' differ in signedness pftop.c: In function 'print_rule': pftop.c:1652: warning: passing argument 2 of 'print_fld_size' makes integer from pointer without a cast --- engine.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c engine.c --- sf-gencode.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c sf-gencode.c sf-gencode.c: In function 'gen_ifname': sf-gencode.c:1861: warning: pointer targets in passing argument 3 of 'gen_bcmp' differ in signedness --- sf-grammer.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c sf-grammer.c --- pcap-nametoaddr.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c pcap-nametoaddr.c --- bpf_optimize.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c bpf_optimize.c --- bpf_filter.o --- cc -O -pipe -G0 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -G0 -Wall -DOS_LEVEL=45 -std=gnu89 -c bpf_filter.c bpf_filter.c: In function 'bpf_filter': bpf_filter.c:150: error: argument 'pc' doesn't match prototype /usr/include/pcap/pcap.h:432: error: prototype declaration bpf_filter.c:150: error: argument 'p' doesn't match prototype /usr/include/pcap/pcap.h:432: error: prototype declaration *** [bpf_filter.o] Error code 1 make[1]: stopped in /usr/ports/sysutils/pftop/work/pftop-0.7 1 error make[1]: stopped in /usr/ports/sysutils/pftop/work/pftop-0.7 ===> 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/sysutils/pftop FreeBSD 11.0-CURRENT #0 r278472 Best Regards Daniel --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Auto-assigned to maintainer araujo@FreeBSD.org -- 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-197816-13>