Opened 14 years ago

Closed 12 years ago

#28457 closed defect (fixed)

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 (Ryan Carsten Schmidt), neverpanic (Clemens Lang), evandrix (Lee Wei Yeong), anfojp@…
Port: ntop

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (1)

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

Download all attachments as: .zip

Change History (10)

Changed 14 years ago by shutterpriority@…

Attachment: initialize.c.diffs added

Proposed diffs for initialize.c

comment:1 Changed 14 years ago by shutterpriority@…

Cc: shutterpriority@… added

Cc Me!

comment:2 Changed 14 years ago by jmroot (Joshua Root)

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

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

comment:3 Changed 14 years ago by jabronson@…

Cc: jabronson@… added

Cc Me!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Would updating ntop to 4.0.3 resolve this?

comment:6 Changed 13 years ago by neverpanic (Clemens Lang)

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 13 years ago by evandrix (Lee Wei Yeong)

Cc: evandrix@… added

Cc Me!

comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

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 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.