Opened 7 years ago

Closed 5 years ago

#2260 closed defect (wontfix)

datasrc_test.py can't find log library

Reported by: jreed Owned by: UnAssigned
Priority: medium Milestone: Remaining BIND10 tickets
Component: build system Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 3 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

The library name and location is known. How about allowing having the linker include the rpath information?

for pytest in datasrc_test.py sqlite3_ds_test.py clientlist_test.py ; do \
        echo Running test: $pytest ; \
        LD_LIBRARY_PATH=/home/jreed/src/bind10-devel-20120816/src/lib/datasrc/.libs:  LD_LIBRARY_PATH=/home/jreed/src/bind10-devel-20120816/src/lib/datasrc/.libs:$LD_LIBRARY_PATH \
        PYTHONPATH=:/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/log_messages:/home/jreed/src/bind10-devel-20120816/src/lib/python:/home/jreed/src/bind10-devel-20120816/src/lib/python:/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/log:/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/.libs:/home/jreed/src/bind10-devel-20120816/src/lib/dns/python/.libs \
        TESTDATA_PATH=/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/tests/testdata \
        TESTDATA_WRITE_PATH=/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/tests \
        GLOBAL_TESTDATA_PATH=/home/jreed/src/bind10-devel-20120816/src/lib/testutils/testdata \
        B10_FROM_BUILD=/home/jreed/src/bind10-devel-20120816 \
        /usr/bin/python3 /home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/tests/$pytest || exit ; \
        done
Running test: datasrc_test.py
Traceback (most recent call last):
  File "/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/tests/atasrc_test.py", line 16, in <module>
    import isc.log
  File "/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/__init__.py", line 6, in <module>
    import isc.config
  File "/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/config/__init__.py", line 1, in <module>
    from isc.config.ccsession import *
  File "/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/config/ccsession.py", line 45, in <module>
    from isc.log import log_config_update
  File "/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/log/__init__.py", line 33, in <module>
    from log import *
ImportError: No module named log
make[7]: *** [check-local] Error 1
make[7]: Leaving directory `/home/jreed/src/bind10-devel-20120816/src/lib/python/isc/datasrc/tests'
make[6]: *** [check-am

This is similar to #2259.

Subtickets

Change History (4)

comment:1 Changed 7 years ago by jinmei

it seems to me this should be solved by the LIBRARY_PATH_PLACEHOLDER hack.

comment:2 Changed 7 years ago by shane

  • Milestone New Tasks deleted

comment:3 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:4 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This task is no longer applicable to Kea. For Bundy
(a project that continues DNS development after BIND10 cancellation),
see http://bundy-dns.de

Closing ticket.

Note: See TracTickets for help on using tickets.