[Bug 212843] sysutils/pftop: fails to build on FreeBSD 9.x
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Sep 20 08:29:04 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212843
Bug ID: 212843
Summary: sysutils/pftop: fails to build on FreeBSD 9.x
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: araujo at FreeBSD.org
Reporter: yani at pi-greece.eu
Flags: maintainer-feedback?(araujo at FreeBSD.org)
Assignee: araujo at FreeBSD.org
Hello,
Building on FreeBSD 9.x (amd64) fails with the following error:
Warning: Object directory not changed from original
/mnt/tdata/miniserver/ports/usr/ports/sysutils/pftop/work/pftop-0.7
gzip -cn pftop.8 > pftop.8.gz
yacc -d -o sf-grammer.c sf-grammer.y
lex -t sf-scanner.l > sf-scanner.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c pftop.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c cache.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c engine.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c sf-gencode.c
pftop.c: In function 'read_states':
pftop.c:857: warning: pointer targets in passing argument 2 of 'bpf_filter'
differ in signedness
sf-gencode.c: In function 'gen_ifname':
sf-gencode.c:1861: warning: pointer targets in passing argument 3 of 'gen_bcmp'
differ in signedness
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c sf-grammer.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c pcap-nametoaddr.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c bpf_optimize.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c bpf_filter.c
cc -march=native -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1
-DHAVE_VSNPRINTF=1 -fstack-protector -Wall -DOS_LEVEL=45 -std=gnu89
-fstack-protector -c bpf_dump.c
bpf_filter.c: In function 'bpf_filter':
bpf_filter.c:150: error: argument 'pc' doesn't match prototype
/usr/include/pcap/pcap.h:412: error: prototype declaration
bpf_filter.c:150: error: argument 'p' doesn't match prototype
/usr/include/pcap/pcap.h:412: error: prototype declaration
*** [bpf_filter.o] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1
Stop in /usr/ports/sysutils/pftop.
===>>> make build failed for sysutils/pftop
===>>> Aborting update
===>>> You can restart from the point of failure with this command line:
portmaster <flags> sysutils/pftop
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list