New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #28457 (closed defect: fixed)

Opened 2 years ago

Last modified 12 months ago

ntop @3.3.10 port builds/installs but execution fails due to libevent version changes

Reported by: shutterpriority@… Owned by: markd@…
Priority: Not set Milestone:
Component: ports Version: 1.9.2
Keywords: haspatch Cc: jabronson@…, ryandesign@…, cal@…, evandrix@…, anfojp@…
Port: ntop

Description (last modified by ryandesign@…) (diff)

I've submitted this upstream as well, but since I've found no other search hits on this issue either here, on ntop's bugzilla, or in forums, I wanted to submit this as informational until ntop's port gets updated from upstream.

From a clean 'port install ntop' the port will build/install properly, including the dependencies on libevent (currently 2.0.10-stable).

When attempting to run ntop the following message is seen:

Thu Feb 17 15:54:28 2011  Initializing ntop
Thu Feb 17 15:54:28 2011  **ERROR** You are using libevent 16637152 whereas ntop needs at least v1.4
Thu Feb 17 15:54:28 2011  **ERROR** Due to a libevent bug with IPv6 address resolution
Thu Feb 17 15:54:28 2011  **ERROR** See http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg408382.html
Thu Feb 17 15:54:28 2011  **ERROR** Please rebuild ntop against a newer libevent version

Attachments

initialize.c.diffs (828 bytes) - added by shutterpriority@… 2 years ago.
Proposed diffs for initialize.c

Change History

Changed 2 years ago by shutterpriority@…

Proposed diffs for initialize.c

comment:1 Changed 2 years ago by shutterpriority@…

  • Cc shutterpriority@… added

Cc Me!

comment:2 Changed 2 years ago by jmr@…

  • Owner changed from macports-tickets@… to markd@…
  • Cc shutterpriority@… removed

Please remember to cc the maintainer. You do not need to be in cc when you are the reporter.

comment:3 Changed 2 years ago by jabronson@…

  • Cc jabronson@… added

Cc Me!

comment:4 Changed 2 years ago by ryandesign@…

  • Description modified (diff)

comment:5 Changed 2 years ago by ryandesign@…

  • Cc ryandesign@… added

Would updating ntop to 4.0.3 resolve this?

comment:6 Changed 2 years ago by cal@…

  • Cc cal@… added

4.0.1 does not seem to have the problem.

I would supply a patch for the Portfile, but I'm not sure what to do with the patches (as they do not apply cleanly to 4.0.1) and I can't get MacPorts to download the current version 4.0.3 from SourceForge. Also, this port uses a default compiler and thus errors out when using the settings as described in the "How to test" section of UsingTheRightCompiler.

comment:7 Changed 18 months ago by evandrix@…

  • Cc evandrix@… added

Cc Me!

comment:8 Changed 16 months ago by ryandesign@…

  • Cc anfojp@… added

Has duplicate #33239.

A patch to update the port to 4.1.0 is in #31330; please let us know if that helps.

comment:9 Changed 12 months ago by ryandesign@…

  • Status changed from new to closed
  • Resolution set to fixed

ntop has been updated to 4.1.0, which based on comment:6 should fix this.

Note: See TracTickets for help on using tickets.