Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510124

Summary: net-misc/tor-0.2.5.5_alpha - test_controller_events.c:(.text+0xcc0): undefined reference to `bucket_millis_empty'
Product: Gentoo Linux Reporter: Chris Kerr <chris.kerr>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED UPSTREAM    
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://trac.torproject.org/projects/tor/ticket/12474
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Chris Kerr 2014-05-12 07:02:52 UTC
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
Comment 1 Anthony Basile gentoo-dev 2014-06-20 13:43:21 UTC
I'm not getting any test failures with 0.2.5.5.  Can you test to see if this is still an issue?
Comment 2 Anthony Basile gentoo-dev 2014-06-26 15:29:46 UTC
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.