BIND 10 #3165: Running "make check" without first running "make" on OS-X fails in datasrc_test.py

BIND 10 Development do-not-reply at isc.org
Wed Sep 11 20:57:22 UTC 2013


#3165: Running "make check" without first running "make" on OS-X fails in
datasrc_test.py
-------------------------------------+-------------------------------------
                   Reporter:  tmark  |                 Owner:  UnAssigned
                       Type:         |                Status:  new
  defect                             |             Milestone:  New Tasks
                   Priority:  low    |              Keywords:
                  Component:  build  |             Sensitive:  0
  system                             |           Sub-Project:  DNS
               CVSS Scoring:         |  Estimated Difficulty:  0
            Defect Severity:  N/A    |           Total Hours:  0
Feature Depending on Ticket:         |
        Add Hours to Ticket:  0      |
                  Internal?:  0      |
-------------------------------------+-------------------------------------
 I pulled master (0e4c259dde279eafa1e3677a161ac9b67095c3d7), and ran the
 usual autoreconf/configure that I normally do.  However, unlike my normal
 steps, I ran "make check" wihthout first running make and I got the
 following error:

 {{{
 libtool: link: ( cd ".libs" && rm -f "datasrc.la" && ln -s "../datasrc.la"
 "datasrc.la" )
 Making check in tests
 Making check in testdata
 make[7]: Nothing to be done for `check'.
 make  check-local
 for pytest in datasrc_test.py sqlite3_ds_test.py clientlist_test.py
 zone_loader_test.py ; do \
         echo Running test: $pytest ; \
 DYLD_LIBRARY_PATH=/Users/tmark/build/tip/bind10/src/lib/datasrc/.libs:
 DYLD_LIBRARY_PATH=/Users/tmark/build/tip/bind10/src/lib/cryptolink/.libs:/Users/tmark/build/tip/bind10/src/lib/dns/.libs:/Users/tmark/build/tip/bind10/src/lib/dns/python/.libs:/Users/tmark/build/tip/bind10/src/lib/cc/.libs:/Users/tmark/build/tip/bind10/src/lib/config/.libs:/Users/tmark/build/tip/bind10/src/lib/log/.libs:/Users/tmark/build/tip/bind10/src/lib/util/.libs:/Users/tmark/build/tip/bind10/src/lib/util/threads/.libs:/Users/tmark/build/tip/bind10/src/lib/exceptions/.libs:/Users/tmark/build/tip/bind10/src/lib/datasrc/.libs:$DYLD_LIBRARY_PATH
 \
 PYTHONPATH=:/Users/tmark/build/tip/bind10/src/lib/python/isc/log_messages:/Users/tmark/build/tip/bind10/src/lib/python/isc/cc:/Users/tmark/build/tip/bind10/src/lib/python:/Users/tmark/build/tip/bind10/src/lib/python:/Users/tmark/build/tip/bind10/src/lib/dns/python/.libs:/Users/tmark/build/tip/bind10/src/lib/python/isc/log:/Users/tmark/build/tip/bind10/src/lib/python/isc/datasrc/.libs:/Users/tmark/build/tip/bind10/src/lib/dns/python/.libs
 \
 TESTDATA_PATH=/Users/tmark/build/tip/bind10/src/lib/python/isc/datasrc/tests/testdata
 \
 TESTDATA_WRITE_PATH=/Users/tmark/build/tip/bind10/src/lib/python/isc/datasrc/tests
 \
         HAVE_SHARED_MEMORY=yes \
         B10_FROM_BUILD=/Users/tmark/build/tip/bind10 \
         /opt/local/bin/python3.1
 /Users/tmark/build/tip/bind10/src/lib/python/isc/datasrc/tests/$pytest ||
 exit ; \
         done
 Running test: datasrc_test.py
 Traceback (most recent call last):
   File
 "/Users/tmark/build/tip/bind10/src/lib/python/isc/datasrc/tests/datasrc_test.py",
 line 16, in <module>
     import isc.log
   File "/Users/tmark/build/tip/bind10/src/lib/python/isc/log/__init__.py",
 line 33, in <module>
     from log import *
 ImportError: No module named log
 make[8]: *** [check-local] Error 1
 }}}

 If I run "make" and then "make check" everything is fine.

 I have attached config.log and .report

-- 
Ticket URL: <https://bind10.isc.org/ticket/3165>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list