[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
Tue Nov 10 20:13:34 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.8.x-final
 Keywords:  bsd, 026-backport, libevent,         |        Version:
  PostFreeze027, pre028-patch                    |     Resolution:
Parent ID:                                       |  Actual Points:
  Sponsor:                                       |         Points:
-------------------------------------------------+-------------------------

Comment (by rubiate):

 You're right, it doesn't need -levent, so instead I'll add a conditional
 to set -levent for the libevent1 case.

 At present, -lrt is only added to TOR_LIBEVENT_LIBS if you're building
 with --enable-static-libevent and it seems adding $save_LIBS would also
 mix in libraries that aren't needed for libevent (-lpthread, -lexecinfo).

 To avoid cluttering TOR_LIBEVENT_LIBS and keep what would have been in
 LIBS available, how about just passing $save_LIBS?

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


More information about the tor-bugs mailing list