Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 368349 - =net-analyzer/ntop-3.3.10-r2 won't start with >=dev-libs/libevent-2*
Summary: =net-analyzer/ntop-3.3.10-r2 won't start with >=dev-libs/libevent-2*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://trac.macports.org/attachment/...
Whiteboard:
Keywords:
Depends on: 376057
Blocks: libevent-2-fail
  Show dependency tree
 
Reported: 2011-05-22 14:22 UTC by Veovis
Modified: 2011-08-07 17:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.