From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Apr 20 12:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CFB30BB4 for ; Sun, 20 Apr 2014 12:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ABEB2188D for ; Sun, 20 Apr 2014 12:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KCA0Hw017300 for ; Sun, 20 Apr 2014 12:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3KCA0w8017299; Sun, 20 Apr 2014 12:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 20 Apr 2014 12:10:00 GMT Resent-Message-Id: <201404201210.s3KCA0w8017299@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Daniel Engberg Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68BCEB8A for ; Sun, 20 Apr 2014 12:08:29 +0000 (UTC) Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5489D1878 for ; Sun, 20 Apr 2014 12:08:29 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3KC8S0i052477 for ; Sun, 20 Apr 2014 12:08:28 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3KC8Sm9052472; Sun, 20 Apr 2014 12:08:28 GMT (envelope-from nobody) Message-Id: <201404201208.s3KC8Sm9052472@cgiserv.freebsd.org> Date: Sun, 20 Apr 2014 12:08:28 GMT From: Daniel Engberg To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/188826: pftop broken on -CURRENT X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2014 12:10:00 -0000 >Number: 188826 >Category: ports >Synopsis: pftop broken on -CURRENT >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 20 12:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Daniel Engberg >Release: FreeBSD HEAD (AMD64) >Organization: >Environment: FreeBSD 11.0-CURRENT #3 r264552 >Description: pftop fails on -CURRENT and have done so for quite a while now... ===> Building for pftop-0.7_2 --- objwarn --- --- pftop.o --- --- objwarn --- Warning: Object directory not changed from original /usr/ports/sysutils/pftop/work/pftop-0.7 --- pftop.o --- cc -O2 -pipe -march=core2 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -Wall -DOS_LEVEL=45 -std=gnu89 -Qunused-arguments -fstack-protector -c pftop.c --- sf-gencode.o --- cc -O2 -pipe -march=core2 -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_FINE_GRAINED_LOCKING=1 -fno-strict-aliasing -Wall -DOS_LEVEL=45 -std=gnu89 -Qunused-arguments -fstack-protector -c sf-gencode.c In file included from sf-gencode.c:49: ./sf-gencode.h:173:20: warning: unknown attribute 'volatile' ignored [-Wattributes] __attribute__((volatile, __format__ (printf, 1, 2))); ^ ./sf-gencode.h:191:6: error: conflicting types for 'bpf_dump' void bpf_dump(struct bpf_program *, int); ^ /usr/include/pcap/pcap.h:416:6: note: previous declaration is here void bpf_dump(const struct bpf_program *, int); ^ --- pftop.o --- In file included from pftop.c:68: ./sf-gencode.h:173:20: warning: unknown attribute 'volatile' ignored [-Wattributes] __attribute__((volatile, __format__ (printf, 1, 2))); ^ --- sf-gencode.o --- sf-gencode.c:1861:37: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] --- pftop.o --- ./sf-gencode.h:191:6: error: conflicting types for 'bpf_dump' void bpf_dump(struct bpf_program *, int); ^ /usr/include/pcap/pcap.h:416:6: note: previous declaration is here void bpf_dump(const struct bpf_program *, int); ^ --- sf-gencode.o --- b0 = gen_bcmp(off, strlen(ifname), ifname); ^~~~~~ sf-gencode.c:395:50: note: passing argument to parameter 'v' here gen_bcmp(u_int offset, u_int size, const u_char *v) ^ 2 warnings and 1 error generated. *** [sf-gencode.o] Error code 1 make[1]: stopped in /usr/ports/sysutils/pftop/work/pftop-0.7 --- pftop.o --- pftop.c:856:41: warning: passing 'char *' to parameter of type 'const u_char *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] if (bpf_filter(filter_prog.bf_insns, (char *)(&state_buf[n]), ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pcap/pcap.h:412:57: note: passing argument to parameter here u_int bpf_filter(const struct bpf_insn *, const u_char *, u_int, u_int); ^ pftop.c:1652:28: warning: incompatible pointer to integer conversion passing 'counter_u64_t' (aka 'unsigned long *') to parameter of type 'u_int64_t' (aka 'unsigned long'); dereference with * [-Wint-conversion] print_fld_size(FLD_STATS, pr->states_tot); ^~~~~~~~~~~~~~ * ./engine.h:112:47: note: passing argument to parameter 'size' here void print_fld_size(field_def *fld, u_int64_t size); ^ 3 warnings and 1 error generated. *** [pftop.o] Error code 1 make[1]: stopped in /usr/ports/sysutils/pftop/work/pftop-0.7 2 errors 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 >How-To-Repeat: Build pftop in ports >Fix: >Release-Note: >Audit-Trail: >Unformatted: