Good day. It seems you are unable to compile prelude-pflogger when lippcap is installed in your system. Under this conditions the compilation fails due to the following: ===> Building for prelude-pflogger-0.9.0.r2_1 gmake all-recursive gmake[1]: Entering directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2' Making all in src gmake[2]: Entering directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src' Making all in include gmake[3]: Entering directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src/include' gmake[3]: Nothing to be done for `all'. gmake[3]: Leaving directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src/include' gmake[3]: Entering directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src' source='process_packet.c' object='process_packet.o' libtool=no \ depfile='.deps/process_packet.Po' tmpdepfile='.deps/process_packet.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ cc -I../ -I./include/ -I/usr/local/include -I. -I. -I.. -O2 -pipe -fno-strict-aliasing -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-align -Wnested-externs -Wunused -c `test -f process_packet.c || echo './'`process_packet.c In file included from process_packet.c:49: /usr/include/net/bpf.h:65: error: redefinition of 'struct bpf_program' /usr/include/net/bpf.h:1050: error: redefinition of 'struct bpf_insn' gmake[3]: *** [process_packet.o] Error 1 gmake[3]: Leaving directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/security/prelude-pflogger. Fix: The patch provided for /usr/ports/security/prelude-pflogger/work/prelude-pflogger-0.9.0-rc2/src/process_packet.c changes the order in which the files net/bpf.h and pcap.h are included, the compilation succeeds after this with the command "make install clean". I'm not sure if this is the best way to solve the problem but prelude-pflogger is working without problems on my system. Patch attached with submission follows: How-To-Repeat: Install libpcap: cd /usr/ports/net/libpcap make install clean And try to install the port: cd /usr/ports/security/prelude-pflogger make install clean
Responsible Changed From-To: freebsd-i386->freebsd-ports-bugs ports PR.
Maintainer of security/prelude-pflogger, Please note that PR ports/166853 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166853 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Den Mon, 16 Apr 2012 04:00:29 UT skrev Edwin Groothuis <edwin@FreeBSD.org>: > Maintainer of security/prelude-pflogger, > > Please note that PR ports/166853 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166853 > I approve!
State Changed From-To: feedback->open Maintainer has approved.
Responsible Changed From-To: freebsd-ports-bugs->scheidell I'll take it.
scheidell 2012-05-08 19:07:08 UTC FreeBSD ports repository Added files: security/prelude-pflogger/files patch-process_packet.c Log: - Unbreak if ports libpcap installed - No PORTREVISION bump since this does not affect default PR: ports/166853 Submitted by: Efren Yevale <syavne@gmail.com> Approved by: Anders Troback <freebsd@troback.com> (maintainer) Revision Changes Path 1.1 +14 -0 ports/security/prelude-pflogger/files/patch-process_packet.c (new) _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!