Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Sep 2016 08:29:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212843] sysutils/pftop: fails to build on FreeBSD 9.x
Message-ID:  <bug-212843-13@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: yani@pi-greece.eu
             Flags: maintainer-feedback?(araujo@FreeBSD.org)
          Assignee: araujo@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=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c pftop.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c cache.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c engine.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-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_b=
cmp'
differ in signedness
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c sf-grammer.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c pcap-nametoaddr.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c bpf_optimize.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-fstack-protector  -c bpf_filter.c
cc -march=3Dnative -O2 -fno-strict-aliasing -pipe -DHAVE_ALTQ=3D1 -DHAVE_SN=
PRINTF=3D1
-DHAVE_VSNPRINTF=3D1 -fstack-protector  -Wall -DOS_LEVEL=3D45 -std=3Dgnu89=
=20
-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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/sysutils/pftop.

=3D=3D=3D>>> make build failed for sysutils/pftop
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> sysutils/pftop

--=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-212843-13>