Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510124 - net-misc/tor-0.2.5.5_alpha - test_controller_events.c:(.text+0xcc0): undefined reference to `bucket_millis_empty'
Summary: net-misc/tor-0.2.5.5_alpha - test_controller_events.c:(.text+0xcc0): undefine...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: https://trac.torproject.org/projects/...
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2014-05-12 07:02 UTC by Chris Kerr
Modified: 2014-07-16 12:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (tor-0.2.5.4_alpha-r1:20140512-065540.log,132.48 KB, text/plain)
2014-05-12 07:02 UTC, Chris Kerr
Details

Note You need to log in before you can comment on or make changes to this bug.
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.