[tor-bugs] #16651 [Tor]: Tor fails to build on OpenBSD 5.8 due to libevent config options

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Dec 2 13:48:02 UTC 2015


#16651: Tor fails to build on OpenBSD 5.8 due to libevent config options
-------------------------------------------------+-------------------------
 Reporter:  teor                                 |          Owner:
     Type:  defect                               |         Status:
 Priority:  Medium                               |  needs_review
Component:  Tor                                  |      Milestone:  Tor:
 Severity:  Normal                               |  0.2.7.x-final
 Keywords:  bsd, 027-backport, libevent,         |        Version:
  PostFreeze027, pre028-patch,                   |     Resolution:
  TorCoreTeam201512, 201511-deferred             |  Actual Points:
Parent ID:                                       |         Points:
  Sponsor:                                       |
-------------------------------------------------+-------------------------

Comment (by rubiate):

 Replying to [comment:33 cypherpunks]:
 > The Windows compilation in Jenkins seems to fail on this exact problem.
 When looking at the [https://jenkins.torproject.org/job/tor-ci-
 windows/1715/consoleText latest log] you can find the problem by searching
 for "no no". This is the result of the two `AC_SEARCH_LIB` queries finding
 no suitable libraries and their result being appended to the
 `TOR_LIBEVENT_LIBS` variable.

 Doh! I think I see the problem but I can't test that this patch fixes it,
 so here's hoping:

 {{{
 diff --git a/configure.ac b/configure.ac
 index 0530d77..a1bfded 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -500,7 +500,7 @@ AC_CHECK_MEMBERS([struct event.min_heap_idx], , ,

  AC_CHECK_HEADERS(event2/event.h event2/dns.h event2/bufferevent_ssl.h)

 -LIBS="$save_LIBS"
 +LIBS="$STATIC_LIBEVENT_FLAGS $TOR_LIB_WS32 $save_LIBS"

  AM_CONDITIONAL(USE_EXTERNAL_EVDNS, test x$ac_cv_header_event2_dns_h =
 xyes)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/16651#comment:35>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list