NetBSD Problem Report #37300

From martin@duskware.de  Wed Nov  7 22:16:42 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 3E33363B8D7
	for <gnats-bugs@gnats.netbsd.org>; Wed,  7 Nov 2007 22:16:42 +0000 (UTC)
Message-Id: <20071107221247.D0CD963B8D7@narn.NetBSD.org>
Date: Wed,  7 Nov 2007 22:12:47 +0000 (UTC)
From: dogan@politics.ankara.edu.tr
Reply-To: dogan@politics.ankara.edu.tr
To: netbsd-bugs-owner@NetBSD.org
Subject: pkgsrc/net/ettercap-NG couldn't use plugins
X-Send-Pr-Version: www-1.0

>Number:         37300
>Category:       pkg
>Synopsis:       pkgsrc/net/ettercap-NG couldn't use plugins
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    obache
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 07 22:20:01 +0000 2007
>Closed-Date:    Thu Dec 10 00:49:19 +0000 2009
>Last-Modified:  Thu Dec 10 00:49:19 +0000 2009
>Originator:     Mustafa Dogan
>Release:        NetBSD-4.0_RC3
>Organization:
Ankara University, Faculty of Political Sciences
>Environment:
NetBSD md.politics.ankara.edu.tr 4.0_RC3 NetBSD 4.0_RC3 (MuDo) #0: Sat Nov  3 08:33:28 UTC 2007  root@md.politics.ankara.edu.tr:/root/OBJ/sys/arch/i386/compile/MuDo i386
>Description:
net/ettercap-NG cannot use its plugins. While choose "Manage plugins..." from menu, program crashes and "Segmentation fault" occurs. 
While recompiled, some warning messages about libnet took my attention:
"*** Warning: linker path does not have real file for library -lnet.
... (message is going on ...)
"
"*** Warning libtool could not satisfy all declared inter-library dependencies of module xxx.
... (message continues...)
"
These messages are repeating for each plugin.

Are these errors, or just warnings? 
I couldn't figure out whether this problem related to ettercap-NG or libnet.
>How-To-Repeat:
Run 
# ettercap -C
from menu, "Sniff", "Unified Sniffing...", choose net interface, and 
from menu, "Plugins", "Manage Plugins..."
ettercap crashes.
>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->adrianp
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Sun, 11 Nov 2007 23:35:58 +0000
Responsible-Changed-Why:
Over to maintainer.


Responsible-Changed-From-To: adrianp->pkg-manager
Responsible-Changed-By: adrianp@NetBSD.org
Responsible-Changed-When: Sun, 06 Dec 2009 21:55:46 +0000
Responsible-Changed-Why:
Sorry, I don't MAINTAIN this anymore.


Responsible-Changed-From-To: pkg-manager->obache
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Wed, 09 Dec 2009 09:06:44 +0000
Responsible-Changed-Why:
I'm trying to fix.
It probably came from deve/libnet11/buildlink3.mk, it set CPPFLAGS+=-lnet,
but should not there.  I'm checking what package require it.


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37300 CVS commit: pkgsrc
Date: Wed, 9 Dec 2009 12:27:28 +0000

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Wed Dec  9 12:27:28 UTC 2009

 Modified Files:
 	pkgsrc/devel/libnet10: buildlink3.mk
 	pkgsrc/devel/libnet11: buildlink3.mk
 	pkgsrc/net/arping: Makefile
 	pkgsrc/net/ettercap-NG: Makefile
 	pkgsrc/net/firewalk: Makefile
 	pkgsrc/net/libnids: Makefile options.mk
 	pkgsrc/net/packit: Makefile

 Log Message:
 Some clean up realted to net/libnet{10,11}.
 * buildlink bin/libnet{10,11}-config to bin/libnet-config for comvenience
   (they ware renamed in pkgsrc to avoid conflict)
 * remove -lnet from BUILDLINK_CPPFLAGS.libnet11.
   linker flags should not be in CPPFLAGS, and it berak likage with libtool
   as reported in PR 37300.
 * libnet11 install just a static library, so set defaut DEPMETHOD = build

 Bump PKGREVISION for libnet11 related packages (net/isic will be updated later).


 To generate a diff of this commit:
 cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/libnet10/buildlink3.mk
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libnet11/buildlink3.mk
 cvs rdiff -u -r1.16 -r1.17 pkgsrc/net/arping/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/ettercap-NG/Makefile
 cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/firewalk/Makefile
 cvs rdiff -u -r1.25 -r1.26 pkgsrc/net/libnids/Makefile
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/libnids/options.mk
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/net/packit/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->feedback
State-Changed-By: obache@NetBSD.org
State-Changed-When: Wed, 09 Dec 2009 12:41:51 +0000
State-Changed-Why:
Should be fixed in HEAD.
Could you confirm fixed on your environment?


State-Changed-From-To: feedback->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Thu, 10 Dec 2009 00:49:19 +0000
State-Changed-Why:
Submitter confirmed fixed (via private mail),  Thanks!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.