[tor-bugs] #26792 [- Select a component]: tor-0.3.4.5-rc: fails to build when configured with `./configure --disable-unittests`

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jul 15 16:44:27 UTC 2018


#26792: tor-0.3.4.5-rc: fails to build when configured with `./configure --disable-
unittests`
--------------------------------------+--------------------
     Reporter:  blueness              |      Owner:  (none)
         Type:  defect                |     Status:  new
     Priority:  Medium                |  Milestone:
    Component:  - Select a component  |    Version:
     Severity:  Normal                |   Keywords:
Actual Points:                        |  Parent ID:
       Points:                        |   Reviewer:
      Sponsor:                        |
--------------------------------------+--------------------
 When configuring tor-0.3.4.5-rc with --disable-unittests the build fails
 with

 ``
 make  all-am
 make[1]: Entering directory '/var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc'
   CCLD     src/test/test-bt-cl
 src/test/src_test_test_bt_cl-test_bt_cl.o: In function `crash':
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:43: undefined
 reference to `tor_assertion_failed_'
 src/test/src_test_test_bt_cl-test_bt_cl.o: In function `main':
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:107:
 undefined reference to `init_logging'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:108:
 undefined reference to `set_log_severity_config'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:109:
 undefined reference to `add_stream_log'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:110:
 undefined reference to `tor_log_update_sigsafe_err_fds'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:112:
 undefined reference to `configure_backtrace_handler'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:116:
 undefined reference to `clean_up_backtrace_handler'
 /var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc/src/test/test_bt_cl.c:117:
 undefined reference to `logs_free_all'
 collect2: error: ld returned 1 exit status
 make[1]: *** [Makefile:5219: src/test/test-bt-cl] Error 1
 make[1]: Leaving directory '/var/tmp/portage/net-
 vpn/tor-0.3.4.5_rc/work/tor-0.3.4.5-rc'
 make: *** [Makefile:3468: all] Error 2
 ``

 This regression was introduced after 0.3.4.2_alpha.

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


More information about the tor-bugs mailing list