Created attachment 376756 [details] build log I have FEATURES=test enabled - the error occurs when compiling test code. src/test/src_test_test-test_controller_events.o: In function `test_cntev_bucket_millis_empty': test_controller_events.c:(.text+0xcc0): undefined reference to `bucket_millis_empty' test_controller_events.c:(.text+0xdf0): undefined reference to `bucket_millis_empty' test_controller_events.c:(.text+0xf03): undefined reference to `bucket_millis_empty' test_controller_events.c:(.text+0x1013): undefined reference to `bucket_millis_empty' test_controller_events.c:(.text+0x112e): undefined reference to `bucket_millis_empty' src/test/src_test_test-test_controller_events.o:test_controller_events.c:(.text+0x1246): more undefined references to `bucket_millis_empty' follow src/test/src_test_test-test_controller_events.o: In function `help_test_bucket_note_empty.constprop.1': test_controller_events.c:(.text+0x1bac): undefined reference to `connection_buckets_note_empty_ts' collect2: error: ld returned 1 exit status
I'm not getting any test failures with 0.2.5.5. Can you test to see if this is still an issue?
Hit it with USE="bufferevents" FEATURES="test" emerge =net-misc/tor-0.2.5.5_alpha. I've got a patch upstream to fix tests. I don't see a need to backport it: 1) Upstream may decide on a different approach to fixing this build (perhaps by only exposing bucket_millis_emtpy() if USE_BUFFEREVENTS and tests are requested.) 2) This is just an alpha which will never go stable but is fine for testing by the community. 3) It only breaks tests, not tor itself.
Upstream commit: https://gitweb.torproject.org/tor.git/commit/d504a4e36f571a5b6ed84529d3781d08df82f117