Hi, Aug 05 12:31:09.639 [warn] It's a little hard to tell, but you seem to have Libevent 1.4.0-beta header files, whereas you have linked against Libevent 1.4.14b-stable. This will probably make Tor crash. Aug 05 12:31:09.645 [notice] Initialized libevent version 1.4.14b-stable using method kqueue. Good.
Albeit being scary, this warning makes no sense, at least on OpenBSD. Ok to circumvent it? Index: Makefile =================================================================== RCS file: /cvs/ports/net/tor/Makefile,v retrieving revision 1.58 diff -u -p -r1.58 Makefile --- Makefile 13 Jun 2012 11:27:16 -0000 1.58 +++ Makefile 5 Aug 2012 09:41:54 -0000 @@ -3,6 +3,7 @@ COMMENT= anonymity service using onion routing DISTNAME= tor-0.2.2.37 +REVISION= 0 CATEGORIES= net HOMEPAGE= http://www.torproject.org/ Index: patches/patch-src_common_compat_libevent_c =================================================================== RCS file: patches/patch-src_common_compat_libevent_c diff -N patches/patch-src_common_compat_libevent_c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-src_common_compat_libevent_c 5 Aug 2012 09:41:54 -0000 @@ -0,0 +1,12 @@ +$OpenBSD$ +--- src/common/compat_libevent.c.orig Sun Aug 5 11:25:41 2012 ++++ src/common/compat_libevent.c Sun Aug 5 11:30:10 2012 +@@ -457,7 +457,7 @@ tor_check_libevent_header_compatibility(void) + earlier, where that's normal. To see whether we were compiled with an + earlier version, let's see whether the struct event defines MIN_HEAP_IDX. + */ +-#ifdef HAVE_STRUCT_EVENT_MIN_HEAP_IDX ++#if !defined(__OpenBSD__) && defined(HAVE_STRUCT_EVENT_MIN_HEAP_IDX) + /* The header files are 1.4.0-beta or later. If the version is not + * 1.4.0-beta, we are incompatible. */ + {