From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 19 09:25:56 2015 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A8B817CF for ; Thu, 19 Feb 2015 09:25:56 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 8A16B874 for ; Thu, 19 Feb 2015 09:25:56 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t1J9Pu3d024962 for ; Thu, 19 Feb 2015 09:25:56 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 197816] sysutils/pftop: doesn't compile on -CURRENT with GCC (MIPS64) Date: Thu, 19 Feb 2015 09:25:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daniel.engberg.lists@pyret.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: araujo@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Feb 2015 09:25:56 -0000 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 --- Auto-assigned to maintainer araujo@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.