Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 368349

Summary: =net-analyzer/ntop-3.3.10-r2 won't start with >=dev-libs/libevent-2*
Product: Gentoo Linux Reporter: Veovis <veovis8>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: ostroffjh
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://trac.macports.org/attachment/ticket/28457/initialize.c.diffs
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 376057    
Bug Blocks: 333077    

Description Veovis 2011-05-22 14:22:23 UTC
ntop compiles fine but does not run because it incorrectly detect version of libevent as inferior to 1.4.

Reproducible: Always

Steps to Reproduce:
1. merge ntop
2. update libevent to the last stable version (which is >= 2.0)
2. set an ntop password as required
2. /etc/init.d/ntop start
3. tail /var/log/syslog to see ntop log
Actual Results:  
ntop refuses to start because of libevent version < 1.4

Expected Results:  
ntop runs because installed version (2.0.10) is > 1.4

I found this patch : https://trac.macports.org/attachment/ticket/28457/initialize.c.diffs which correctly detect installed libevent, and so allow ntop to run.
Tested on x86 platform.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-05-22 23:32:25 UTC
ew, that code in ntop should be removed entirely and not patched at all.

It looks like version 4.0.1 does the right thing.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-07-13 14:49:36 UTC
Can't we stabilize 4.0.1 yet?

*ntop-4.0.1 (24 Sep 2010)

  24 Sep 2010; Alin Năstac <mrness@gentoo.org> +ntop-4.0.1.ebuild,
  +files/ntop-4.0.1-gentoo.patch:
  Version bump (#329577).
Comment 3 Jack 2011-07-13 15:33:29 UTC
I've been using ntop 4.0.1 with libevent 2.0.10 with no problems for over a month.  (amd64 system)
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-07-26 17:59:39 UTC
OK, this is fixed in version >4 which is going stable.